Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

Require the of different value in a table

Avatar

Level 2

Hi All,

I have an enumeration in a table. There are multiple entry for the different enumerations in the table. Now i want to get the count of record for each enumeration values in a workflow. But I am facing issue in the group by clause where I must add primary key in the group by  condition. bt that defeats the purpose as primary key is unique.

Please Suggest.

Happy Campaigning,

Sumit

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Sumit,

You need to 'Disable automatic adding of the primary keys of the targeting dimension'.

I have created an example counting the number of residents of each city in the data mart:

Count of enumeration values.jpg 

Here is the result:

Count of enumeration values Result.jpg

Let me know if this is what you are trying to do.

Linda

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi Sumit,

You need to 'Disable automatic adding of the primary keys of the targeting dimension'.

I have created an example counting the number of residents of each city in the data mart:

Count of enumeration values.jpg 

Here is the result:

Count of enumeration values Result.jpg

Let me know if this is what you are trying to do.

Linda

Avatar

Level 2

Linda,

Thanks for the update. But I actually figured removing the primary key functionality in a query activity.

But again thanks for the resolution.

Regards

Sumit