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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
gmasta1129
Resolver I
Resolver I

Pie Chart Question

Hello,

I am having trouble creating a pie chart. 

 

My table contains two columns

1. Facility Code

2. Policy #

 

Facility Code       Policy #

12345                    1

54321                    1&2

64589                    2&4&3

21180                     5&3

90612                     1

 

I would like to put this in a pie chart where it shows ex: Two facilities are under policy #2, One facility is under policy #4, Three facilities are under policy #1 and Two facilities are under policy #2. The issue is when a facility code contains more than one policy number.  We tried to split the columns but that did not work either.  Is this even possible to do? 

 

Thanks in advance. 

 

1 ACCEPTED SOLUTION
gmasta1129
Resolver I
Resolver I

Hello, 

 

We figured it out.  We created additional columns in power query using if statement formula and added those columns to the pie chart. 

View solution in original post

4 REPLIES 4
v-aatheeque
Community Support
Community Support

Hi @gmasta1129 

We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.

gmasta1129
Resolver I
Resolver I

Hello, 

 

We figured it out.  We created additional columns in power query using if statement formula and added those columns to the pie chart. 

jgeddes
Super User
Super User

You can get a result like this...

jgeddes_0-1772814730410.png

by splitting the policy column into new rows. 
I have attached an example pbix.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi @gmasta1129 

Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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