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.
How to calculate % for every client with reference to completion status of order / total number of products sold to that client in PowerBi using DAX
Example:
(Client Code) | (Complettion Status) | (Total of product) |
ABC | 0.5 | 1 |
ABC | 0.8 | 1 |
DEF | 0.4 | 1 |
GHI | 1 | 1 |
I want the output to look like this:
ABC | 65% |
DEF | 40% |
GHI | 100% |
Thank you.
Solved! Go to Solution.
Hi @Anonymous20
please try
AVERAGEX (
'Table',
'Table'[Complettion Status] * 'Table'[Total of product]
)
Hi @Anonymous20
please try
AVERAGEX (
'Table',
'Table'[Complettion Status] * 'Table'[Total of product]
)
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |