Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I want to create a visualisation that is similar to the one given below:
output sample
sample data
I require the percentage of "Out City" entries for each zones and want the legend to show details as shown in the sample graph.
Ask for any clarification if needed
Thanks and Regards
Rohit
Solved! Go to Solution.
Hi @rohitMe
Create calculated columns
percentage =
CALCULATE (
COUNT ( Sheet3[category] ),
FILTER ( ALLEXCEPT ( Sheet3, Sheet3[zones] ), [category] = "O" )
)
/ CALCULATE ( COUNT ( Sheet3[category] ), ALLEXCEPT ( Sheet3, Sheet3[zones] ) )
flag1 = IF([percentage]>0.4,"up","down")
Add column "flag1" in the Legend field, "percentage" in the Value field
Best Regards
Maggie
Hi @rohitMe
Create calculated columns
percentage =
CALCULATE (
COUNT ( Sheet3[category] ),
FILTER ( ALLEXCEPT ( Sheet3, Sheet3[zones] ), [category] = "O" )
)
/ CALCULATE ( COUNT ( Sheet3[category] ), ALLEXCEPT ( Sheet3, Sheet3[zones] ) )
flag1 = IF([percentage]>0.4,"up","down")
Add column "flag1" in the Legend field, "percentage" in the Value field
Best Regards
Maggie
Can you share the sample data, will help you on this!
Thanks!
I wont be able to share with you the data but it is similar to the data table which I have posted in my original question.
Thanks and Regards
Rohit
Hi Rohit,
I would suggest you to create pie chart with legends on and then resize the chart to only show the legends.
There is no way you can create a custom legends in Power BI as far as I know.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 91 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |