cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to get count of a name that is appearing multiple times in a column

pradeep30403
Discoverer
0 Likes
579

hello,

i was trying to get count of a name that is repeating multiple times in a column 

Can anyone suggest me how to get below desire output in sap analytics cloud (SAC).

for example: 

Country
US
US
US
US
US
Canada
Canada
Canada
Canada
Brazil
Canada
Brazil
Brazil
Brazil
India
India
India
India
India
US
Brazil
US
Canada
US

 

Customer Group Code NameCount of Customer Group Code Name
ATI ALLVAC LTD2
CARRIER8
CITIGROUP180
GALLAGHER6
L’OREAL16
MMC98
NXP2
OTIS1
PARAMOUNT60
SCHINDLER HOLDING LTD.

25

pradeep30403_0-1737971404333.png

 

 

Accepted Solutions (0)

Answers (2)

Answers (2)

Yogeshwar_M
Active Participant
0 Likes

Hi User,

Please refer below answer via scripting it is possible to count which country repeated how many times.

https://community.sap.com/t5/technology-q-a/sap-analytics-cloud-property-count/qaq-p/13982095

 

Kindly upvote if you find it helpful!

Thanks.

N1kh1l
Active Contributor
0 Likes

@pradeep30403 

Try creating a calculated measure of type Aggregation using Dimension Count. You can see an example in below thread.

https://community.sap.com/t5/technology-q-a/how-to-count-a-dimension/qaq-p/12650575

 

Nikhil

pradeep30403
Discoverer
0 Likes

@N1kh1l

I was trying to get the multiple count of the dimension value, the approach which you are suggesting me it is resulting in giving unique.  

Screenshot 2025-01-27 161943.png

 

 

 

Screenshot 2025-01-27 163108.png