Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
It is a simple calculation of the percentage (Audited/Total).
However when the country level hierarchy is added, the percentage gets messed up.
What is needed is just the percentage of each country relative to its respective total.
How would you resolve it?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Try the following formula:
Total = DISTINCTCOUNT(Table1[Name])
Audited = CALCULATE(DISTINCTCOUNT(Table1[Name]),Table1[Completion]="YES")
% = [Audited]/[Total]*100
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-kkf-msft ,
I had exactly the same measures but for some reason it was't coming out correctly.
It works now. Thanks a lot.
Hi @amitchandak
Thanks for your offer to assist.
Hi @Anonymous ,
Try the following formula:
Total = DISTINCTCOUNT(Table1[Name])
Audited = CALCULATE(DISTINCTCOUNT(Table1[Name]),Table1[Completion]="YES")
% = [Audited]/[Total]*100
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , share the formula for Audited and Total
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |