Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
Please see the below image.
I was trying to create a calculate column of [SUM( Y)/SUM(X) ]* 100 and create a pie chart but it's not working as expected. It doens't have the summarise option. Please help
You need to create a new column with this formula: DIVIDE(table.Y;table.X)
Then, you have to change the format in percentage: menu bar -> modeling -> format
Ciao
Flavia
Hi @Kolumam
You are only calculating the percentage of Y on X.
Maybe you should try :
DIVIDE(Calculate(SUM(Table[Y]);All(Table));Calculate(SUM(Table[X]);All(Table))
And then choose to display it as percentage
- Quentin
I did but doesn't split up.. shows the same for all
Did you calculate new columns with a formula like divide(sum(table.Y);sum(table.X))? or like divide(table.Y;table.X)?
Tried both.
It's not showing the split up of percentage.
Are your data in the same database of the site name? Is there a link between data and the site name?
Hi
The average of % solar is 31% but it is showing as 34% ( when I do SUM(annual PV consumed)/sum(annual Load)). How do I do a weighted average to acheive 31%?
Hi @Kolumam,
Have you solved your problem? If not, please share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)
Best Regards,
Cherry
I have used your data and power bi has calculated the right average.
I think there is a problem with the link between your data, but I'm not sure
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
80 | |
60 | |
35 | |
35 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |