on 2025 Jan 27 9:50 AM
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 Name | Count of Customer Group Code Name |
| ATI ALLVAC LTD | 2 |
| CARRIER | 8 |
| CITIGROUP | 180 |
| GALLAGHER | 6 |
| L’OREAL | 16 |
| MMC | 98 |
| NXP | 2 |
| OTIS | 1 |
| PARAMOUNT | 60 |
| SCHINDLER HOLDING LTD. | 25 |
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 16 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.