Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
WilkerFRL94
Frequent Visitor

Pie chart as legend not showing in web visualization

Hello!

 

I used to apply this little trick of using a pie chart with only the legends shown to act as a page-wide legend to all my visuals shown. Here is an example:

 

WilkerFRL94_1-1749478606833.png

To explain, i have all those graphs with different measures, which are results for different models. So instead of enabling the legend inside one of them due to size limitations, i'd add a pie chart with it that goes along the page width, to further improve the data reading for the report consumers.

 

Not only for visual appeal, this solution also provides quick filtering for the selected data since we could select the models we wanted to display - we have slicers to select what is shown, but they take a little more time, while selecting stuff straight from the "legend" is faster and keeps the audience looking at the data.

 

Well, today i saw my legends were gone. Last time i used them was friday, and they were fine (i use them on daily meetings) and my first thought was a field could be broken or an update on field interactions had disabled it. There's just an empty visual in there. It will show up again if i add anything to the value field, which i didn't use cause it would then show the graph again when i didn't need it, or shrink the legend to accomodate the visual. Doing this seems to work, but i'm still testing if it ain't gonna bring the pie chart itself again.

 

When i open the report in the Desktop app, it shows as it was - and i made sure to update it to the latest version as well, and the legends were displayed as well. But at the online app it doesn't show - i've tried reuploading it with both unupgraded and upgraded desktop app, none of them worked.

 

My guess is that since this trick is done with an empty pie chart - using only the legend - web app included a new optimization policy to keep visuals as blank if no value is shown. 

 

That said, i'm reaching out here to either check what happened to this solution, if there's any other solution like a custom visual for page wise legends - and i'll add that using a graph "behind" all the one's ain't a good solution cause it will be pulled to the front if users interact with it, and i cant set a fixed legend cause the data is dynamic and i want it to be interactive with the visuals - or if that is a side-effect from a new feature and if there's the possibility of enabling it back on the online app again.

 

I also provided example of usage in the suggestion forum, asking for a page legend that interacts with every element (as long as the user provides the same field for every visual, obviously). 

 

That's it, thank y'all in advance!

 

1 ACCEPTED SOLUTION
v-hjannapu
Community Support
Community Support

Hi @WilkerFRL94 ,

Thank you  for reaching out to the Microsoft fabric community forum.

When using a pie chart without a value field, it may give correctly in Power BI Desktop showing just the legend, but in the Power BI service, the visual doesn’t display at all. This happens because the service version of Power BI requires at least one measure in the Values field to render the visual including the legend.
To achieve a similar result, you can add a value like Result to the Values field in the pie chart. Then, format the pie chart to minimize the slice display . while keeping the legend visible and interactive. This way, it still acts like a clickable legend for filtering the other visuals on the page.

For you reference  find the attached Screenshot and Pbix File

vhjannapu_0-1749530380322.png
If I misunderstand your needs or you still have problems on it, please feel free to let us know.  
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.

Best Regards,
Harshitha.
Community Support Team

View solution in original post

5 REPLIES 5
rohit1991
Super User
Super User

Hi @WilkerFRL94 

 

What you’re seeing is due to a recent change in the Power BI Service. The web version now hides visuals that don’t have any values, so the “legend-only” pie chart trick no longer works even though it still shows fine in Desktop.

As a workaround you can add a dummy measure (like =1) so the legend stays visible, or use a horizontal slicer/custom visual to simulate a page-wide legend. There isn’t a setting to bring back the old behavior, so raising it in the Ideas forum was the right step.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
v-hjannapu
Community Support
Community Support

Hi @WilkerFRL94 ,

Thank you  for reaching out to the Microsoft fabric community forum.

When using a pie chart without a value field, it may give correctly in Power BI Desktop showing just the legend, but in the Power BI service, the visual doesn’t display at all. This happens because the service version of Power BI requires at least one measure in the Values field to render the visual including the legend.
To achieve a similar result, you can add a value like Result to the Values field in the pie chart. Then, format the pie chart to minimize the slice display . while keeping the legend visible and interactive. This way, it still acts like a clickable legend for filtering the other visuals on the page.

For you reference  find the attached Screenshot and Pbix File

vhjannapu_0-1749530380322.png
If I misunderstand your needs or you still have problems on it, please feel free to let us know.  
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.

Best Regards,
Harshitha.
Community Support Team

Hi @WilkerFRL94 ,

Just wanted to check if you had the opportunity to review the suggestion provided?

If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.

 

Regards,

Harshitha.

Hi @WilkerFRL94,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please Accept it as a solution so that other community members can find it easily.


Thank you.

Hi @WilkerFRL94 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and Accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors