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,
I am trying to figure out the percentage of total people who had >=10 Units Total for the given month.
So in this case there are 3 Total people. In September, 2 out of 3 have total sum of units greater than 10. So the percentage would = 2/3 = 66%
August would be 1 out of 3 people had units >=10 so the percentage would be 33%
I am looking for a measure or something to be able to throw on a card and when the page is filtered by month it shows the percent
Any help is greatly appreciated!
Solved! Go to Solution.
Hi @Anonymous ,
Try this measure:
Percent of Total =
DIVIDE (
COUNTROWS (
FILTER (
ALL ( 'Table' ),
[Date] = SELECTEDVALUE ( 'Table'[Date] )
&& [Unites] >= 10
)
),
COUNTROWS (
FILTER ( ALL ( 'Table' ), [Date] = SELECTEDVALUE ( 'Table'[Date] ) )
)
)
Result
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try this measure:
Percent of Total =
DIVIDE (
COUNTROWS (
FILTER (
ALL ( 'Table' ),
[Date] = SELECTEDVALUE ( 'Table'[Date] )
&& [Unites] >= 10
)
),
COUNTROWS (
FILTER ( ALL ( 'Table' ), [Date] = SELECTEDVALUE ( 'Table'[Date] ) )
)
)
Result
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I have assumed you have a Calendar Table with a relationship from the Date column of your Data Table to the Date column of the Calendar Table. In the slicer select a Year and Month Name. Try this measure
Measure 1 = COUNTROWS(FILTER(VALUES(Data[Client Name]),[Units]>=10))
Measure 2 = divide([measure1],distinctcount(data[client name]))
Hope this helps.
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 |
---|---|
106 | |
94 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |