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
Anonymous
Not applicable

Pie Chart and Calculation Help

My dataset is has a Start Date and a Finish Date, and from this information I am currently calculating Day Count, Days Remaining and Days Complete.

 

I am trying to represent within a pie chart, how many days have been completed, and how many days are remaining, however Power BI is summing the rows because the dataset itself is aggregated daily.  Unlike the "table visualization", there is not an option for "Don't Summarize".  The pictures below show the pie chart with the "Days in Flight" and "Days Remaining" summed, and the table view with the correct information.

 

I am looking for two answers/suggestions:

 

1.  How can I have the pie chart not sum the Days Remaining or Days in Flight?  

(I believe this is a product of the dataset which has a daily aggregation.)

 

2.  How can I show only percentages in the pie chart?

 

Pie.PNGtable.PNG

2 REPLIES 2
Phil_Seamark
Microsoft Employee
Microsoft Employee

You could create a specific % measure and use that on your access instead.

 

So rather than Sum of XYZ, create a measure which is the Sum of XYZ divided by the Total of XYZ, then format that as a percent and drag it to your axis.

 

Then of course you'll want to see the sum as well.

 

Have you explored the tooltips as an option as well?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

dkay84_PowerBI
Microsoft Employee
Microsoft Employee

I'm not following you here.  Do you have multiple different flights/planes for which there are days flown and days remaining?

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.