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.
Hi, please help to convert the value of count to percentage per month on my below table
here's my sample data
Solved! Go to Solution.
Please try this
Measure = COUNTROWS('Table (2)')/CALCULATE(COUNTROWS('Table (2)'),ALLEXCEPT('Table (2)','Table (2)'[Resolved],'Table (2)'[Has breached]))
Since, you only show the year and month in the resolved column , I am not sure if the day values are the same. If not the same.
you can create a new column
new resolved = year('Table (2)'[Resolved])&month('Table (2)'[Resolved])
then create measure
Measure 2 =
COUNTROWS('Table (2)')/CALCULATE(COUNTROWS('Table (2)'),ALLEXCEPT('Table (2)','Table (2)'[new resolved]))
Proud to be a Super User!
Try this
% Count = COUNT(Table[Has Breached]) / CALCULATE(COUNT(Table[Has Breached]),ALLSELECTED(Table))
Make sure that you change the formatting of measure to Percentage
Proud to be a Super User!
@bdino , Try measures like
Breached % =Divide(calculate(countrow(Table), Table[Breached]= True()),calculate(countrow(Table)))
Not Breached % =Divide(calculate(countrow(Table), Table[Breached]= False()),calculate(countrow(Table)))
At you using threshold as 85. You have multiple above100
Please try this
Measure = COUNTROWS('Table (2)')/CALCULATE(COUNTROWS('Table (2)'),ALLEXCEPT('Table (2)','Table (2)'[Resolved],'Table (2)'[Has breached]))
Since, you only show the year and month in the resolved column , I am not sure if the day values are the same. If not the same.
you can create a new column
new resolved = year('Table (2)'[Resolved])&month('Table (2)'[Resolved])
then create measure
Measure 2 =
COUNTROWS('Table (2)')/CALCULATE(COUNTROWS('Table (2)'),ALLEXCEPT('Table (2)','Table (2)'[new resolved]))
Proud to be a Super User!
Hi ryan_mayu Thanks! issue resolve..
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 |
---|---|
111 | |
96 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |