Forum Discussion
Count distinct value
- 3 years ago
If account code is duplicate, please use DISTINCTCOUNT
Count Tier C = CALCULATE ( DISTINCTCOUNT( Account [Code]) , Filter('Account', 'Account'[TIER] = "C"))
Total Count = DISTINCTCOUNT( Account [Code])
% Tier C = Count Tier C/Total Count
Let me know, it works or not
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos
If account code is duplicate, please use DISTINCTCOUNT
Count Tier C = CALCULATE ( DISTINCTCOUNT( Account [Code]) , Filter('Account', 'Account'[TIER] = "C"))
Total Count = DISTINCTCOUNT( Account [Code])
% Tier C = Count Tier C/Total Count
Let me know, it works or not
If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos