Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |