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
Asturn15
New Member

dynamically changing pie chart

I want to build a pie chart in which I can find the percentage of a specific value. Not the sum of all the values ​​in this column, but the number from another column. Below is an example:

 

Nameval1

val2

val3val4sum
xxx123410
yyy413513
zzz33219

 

Based on this example, I would like to see what percentage of the sum for "name" are val1,val2,val2. I know I can easily calculate it, but I would like to build a chart in which these values ​​will change dynamically depending on the "name" filter.

1 REPLY 1
lbendlin
Super User
Super User

First step is to unpivot your data to make it usable in Power BI.  Then your visuals work all by themselves.

 

lbendlin_0-1698015816830.png

 

 

 

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.