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.
We must create a Matrix using "Closed ID" as Rows & Count, Current Account Ratio, and Amount Processed as Values.
Here comes the issue, a few columns are referring to Closed ID & Few of the columns are referring to “Assigned ID”, but we Have to use only the Closed ID as rows & those Columns which are referring the “Assigned ID” Should reflect in the Closed ID Matrix.
I have attached an Excel sample with two tables & and what the result should look like. The result using Closed ID as rows & Column “Count” value is derived based on “Assigned ID”. I'm expecting the same in the Power Bi matrix using Dax.
Solved! Go to Solution.
Hi @Mharipr5 ,
Please follow these steps:
(1) Create a new measure
COUNTA = CALCULATE(MAX('Table'[Count]),FILTER(ALL('Table'),'Table'[Assigned ID] = MAX('Table 1'[Closed ID])))
(2)Final output
Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mharipr5 ,
Please follow these steps:
(1) Create a new measure
COUNTA = CALCULATE(MAX('Table'[Count]),FILTER(ALL('Table'),'Table'[Assigned ID] = MAX('Table 1'[Closed ID])))
(2)Final output
Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
67 | |
61 | |
46 | |
45 |