The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
My dataset includes a bunch of tasks with task state 'Done' or 'Not Done'. I want a visual that will show 100% and progress towards 100%.
I'm struggling to find how to represent 100%. Should I create a new column and have each value = 'Done' then count that and use it as my 100%?
Solved! Go to Solution.
Hi,
If you just need a measure you could always use the COUNTROWS function. Then put it on a 100% bar chart like below. Then use your done or Not Done column as the legend.
@novicepbixer thank you so much! The gauge looks great but the bar chart is exactly what I needed. Thank you for the prompt response!
Hi,
If you just need a measure you could always use the COUNTROWS function. Then put it on a 100% bar chart like below. Then use your done or Not Done column as the legend.
You can also use the gauge visual which looks pretty nice for percentages. Just create a measure = 1 for the max value. And you can use a CALCULATE function to get the total tasks "done" and then divide by the countrows function above.
Countrow = COUNTROWS('Table')
= DIVIDE(CALCULATE([Countrow],table[Column1]="Done"),[Countrow],0)
User | Count |
---|---|
86 | |
84 | |
36 | |
35 | |
30 |
User | Count |
---|---|
96 | |
75 | |
66 | |
55 | |
52 |