This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I cannot get the grand total percentage to calculate correctly. I've searched this forum up and down and cannot find an answer that works. This is a DirectQuery report. Below are examples of the data I'm using.
The First picture is the Power BI Table with no Grand Total Percentage, 2nd picture is Power BI table with Grand Total Sum Percentage, 3rd is a Sharepoint Dashboard currently in place that calculates grand total percentage correctly.
Pctg Column is built in a SQL query as a decimal, then converted into a percentage in Power BI.
Any help anyone could provide would be greatly appreciated!
James
Solved! Go to Solution.
Hi @jhughes51,
That's because the grand total is just a total of all the percentages, which isn't the right way to calculate the grand total percentage. I would suggest you use a measure instead.
Measure = DIVIDE ( SUM ( 'table'[RptTtl] ), SUM ( 'table'[Goal] ), 0 )
Best Regards,
Dale
Hi @jhughes51,
Could you please mark the proper answers as solutions?
Best Regards,
Dale
Hi @jhughes51,
That's because the grand total is just a total of all the percentages, which isn't the right way to calculate the grand total percentage. I would suggest you use a measure instead.
Measure = DIVIDE ( SUM ( 'table'[RptTtl] ), SUM ( 'table'[Goal] ), 0 )
Best Regards,
Dale
Formula worked perfectly, thanks for your help!
James
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |