Forum Discussion
Getting Sum of Unique Values
Hello All,
I have a table which is having user name column which is having multiple rows with the same user. The different rows having a calculated column for sub total. I want to get something like below.
Seem like very simple but i need help here. Thanks in advance.
Warm Regards,
Akshay
Hello AkshayManke
Try this measure
Total of Unique Values =
SUMX(
SUMMARIZE(
'YourTable',
'YourTable'[User],
'YourTable'[Calculated Column]
),
'YourTable'[Calculated Column]
)
Thanks,
Pankaj Namekar | LinkedInIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
2 Replies
- pankajnamekar25Super User
Hello AkshayManke
Try this measure
Total of Unique Values =
SUMX(
SUMMARIZE(
'YourTable',
'YourTable'[User],
'YourTable'[Calculated Column]
),
'YourTable'[Calculated Column]
)
Thanks,
Pankaj Namekar | LinkedInIf this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
- AkshayMankeHelper II
Hi pankajnamekar25, i got the expected result using the DAX. Thanks a lot for the help. !!