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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
asanb
Frequent Visitor

Pie chart - data may not be formatted to work?

I'm having trouble creating the pie charts that I need based on how my data is formatted. I have 22 locations and 2 different data columns. Therefore, I need 22 pie charts with the 2 percentages displayed. However, my locations are all in one column and not separated per location. Is there a way to make the different pie charts per location in Power BI or is it easier to change the formatting on the excel sheet and work from there? 

1 ACCEPTED SOLUTION
Cmcmahan
Resident Rockstar
Resident Rockstar

Yes, copy/pasting the chart and changing the visual level filter is probably the quickest way here.  Make sure your master chart is exactly how you want it, because every time you make a change, you'll have to copy paste again with this method.

 

As far as changing the colors, in the formatting tab (the roller paintbrush above the section you set the filter up) there is an option for Data Colors, and you can edit each visual to be whatever colors you want.

View solution in original post

4 REPLIES 4
TomMartens
Super User
Super User

Hey,

maybe you can bend this to your needs:
https://community.powerbi.com/t5/Quick-Measures-Gallery/SVG-Microchart-Harveyball-and-Harveybox/td-p...

Regards,
Tom


Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Cmcmahan
Resident Rockstar
Resident Rockstar

It's easy to set up each pie chart to show a different location.

 

For each pie chart, under the section where you drag the values to be shown, is a section of filters.  Set up a visual level filter on location = X for each pie chart.   Make sure it's a visual level filter and not a report level filter, or you'll end up with filtered data in all your charts.

I was able to set up the visual filter to show one location at a time. Does this mean I'll have to copy and paste the pie chart and choose a separate location each time? 

 

If that's the case, I can't change the 2 section colors, since the legend is showing per location. Any idea how to fix this? 

Cmcmahan
Resident Rockstar
Resident Rockstar

Yes, copy/pasting the chart and changing the visual level filter is probably the quickest way here.  Make sure your master chart is exactly how you want it, because every time you make a change, you'll have to copy paste again with this method.

 

As far as changing the colors, in the formatting tab (the roller paintbrush above the section you set the filter up) there is an option for Data Colors, and you can edit each visual to be whatever colors you want.

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors