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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
isabella2003199
Frequent Visitor

Pie chart

Hi everyone,

 

I have to plot in a graph, maybe a pie chart, some alphabetic values. I have a table like this:

 

Name      |      Q.1    |       Q.2    |      Q3     |

Jenny      |      N/A    |        C        |       AK     |

Rob         |      C        |        C        |      N/A    |

 

As possible value I have only: N/A, C, AK, NC, PC.

 

I would like to have a graph in which through a slicer on the name it will show the percentage of the answers. For example, selecting rob I would like to have a pie chart which shows 66% the value C and the 33% value N/A.

 

Thank you very much.

Isabella

1 ACCEPTED SOLUTION

@isabella2003199,

 

You need to drag field to Values as well.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-chuncz-msft
Community Support
Community Support

@isabella2003199,

 

You may right click [Name] column and select Unpivot Other Columns in Query Editor, then drag [Value] to Details.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

thankyou for your answer. However I cannot manage to achieve my desired outcome...

 

uii.png

Isabella

@isabella2003199,

 

Make sure you select Unpivot Other Columns.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes I have selected this element, however I don't know how to display the values..

@isabella2003199,

 

You need to drag field to Values as well.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.