Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
please can someone help me solve this seemingly easy problem.
White , Open
White, Closed
Red, Closed
Blue, Open
Green, Closed
Green, Open
White, Closed
White, Closed
Red, Closed
White, Open
Green, Open
Green, Open
Black, Closed
Blue, Closed
Blue, Open
Red, Open
White, Closed
White, Closed
White, Open
White, Open
Of this data set. 9 are white. If I than filter on closed 5 are white. Hence 5/9 55.5% are White closed.
I want this to show in a report table.
Column headers:
Colour, Filtered Colour Count, Unfiltered Colour Count, Filtered as % of Unfiltered Colour Count.
Solved! Go to Solution.
Thanks Smoupre. That helped me figure it out.
Solution:
MyMeasure= COUNTA(Data[Colour[) / CALCULATE( COUNTA(Data[Colour]) , ALL(Data[Open/ Closed]))
You would probably be better off with a measure instead of custom columns, something like:
MyMeasure = COUNTA([Colour])/CALCULATE(COUNTA([Colour]),ALL(Table))
Then, as you filter in your report by color or status or if you put this in a matrix, the measure will calculate out correctly.
Thanks Smoupre. That helped me figure it out.
Solution:
MyMeasure= COUNTA(Data[Colour[) / CALCULATE( COUNTA(Data[Colour]) , ALL(Data[Open/ Closed]))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
79 | |
64 | |
51 | |
30 |
User | Count |
---|---|
116 | |
114 | |
70 | |
66 | |
39 |