Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I currently have a yearly chart showing a total for each region per month. I would like to show the values as a percentage of the monthly total, but when I change it to show as a %, it displays the percentage of the year grand total. I've tried adding a few measures with no luck, I still only get a percentage of the year total. Any ideas? Thanks in advance for any help.
Solved! Go to Solution.
Hi @97gesex,
Please create the percentage using formula below.
Percentage = COUNT(Table[Region])/CALCULATE(COUNT(Table[Region]),ALLEXCEPT(Table,Table[Month]))
Then put the measure in value level, and check if it works fine.
I create the following sample table, I create the measure and get desired result based on my sample table, please review.
Percentage = COUNT(Table4[Region])/CALCULATE(COUNT(Table4[Region]),ALLEXCEPT(Table4,Table4[Month]))
Please review the result as the screenshot shown.
Best Regards,
Angelia
You could change the value (sum) to percentage as following.
Click the value dropdown and convert it and click show value as -> Percentage og grand total.
Please elaborate more to provide a solution effectively.
Check below image for above described.
For instance, in the month of September, I have a total count of 90 for the month. I would like it to show the value each region has as a percentage of the grand total for only that month (NAPP would be 57%, Midwest would be 24%, etc). The option of Show Value As -> Percent of Grand Total gives me a percentage for the total count of the entire year, as opposed to a monthly total. Hope that helps to clarify.
Hi @97gesex,
Based on my understanding, the count of NAPP is 24, 24/90 should be 27%, how to get 57%? Could you plesae share more details?
Best Regards,
Angelia
Hi @97gesex,
Please create the percentage using formula below.
Percentage = COUNT(Table[Region])/CALCULATE(COUNT(Table[Region]),ALLEXCEPT(Table,Table[Month]))
Then put the measure in value level, and check if it works fine.
I create the following sample table, I create the measure and get desired result based on my sample table, please review.
Percentage = COUNT(Table4[Region])/CALCULATE(COUNT(Table4[Region]),ALLEXCEPT(Table4,Table4[Month]))
Please review the result as the screenshot shown.
Best Regards,
Angelia
Hi Angelia,
Would you please update your solution for the current version of Power BI? There is no longer a Value field well for clustered bar charts.
Version: 2.115.663.0 64-bit (March 2023)
Hi @v-huizhn-msft ,
My data is little different, I tried modifying the DAX but the Acual % is showing Acutal 100% for itself which is not correct.
My data looks something like this, Planned is coming from one table and Actual from other which i have connected over date table.
I'll be ploting % values on weekend dates and by months Bins on Clustered column chart, or in table showing % work done that Weekend date or on the Month bin date.
Like here for example , In Sept Total Planned = 57 , Total Actual = 59 .So Total effort = (59/57)*100 = 103% work and for the month of Sept actual % = 47%. I am having difficulty preparing DAX for that.
Also for Running total, I just used the running total Quick measure for Planned , But for Actual, since it is dividing by itself by End of Sept running total is showing 100% where as it should be 47.58%
Hi @97gesex,
Share the link from where i can download your file.
Due to customer confidentiality I dont think I'll be able to share the file. This graph is just a small portion of an entire dashboard I've created.
Hi,
Share a dummy dataset.
Could you explain how to do that?
Hi,
Mock up your data in that file and then share it's download link.
You will need to use an additional column / conditional column into your table in order to calculate the %
(According tp the view you're interested)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
122 | |
79 | |
49 | |
38 | |
31 |
User | Count |
---|---|
192 | |
79 | |
70 | |
50 | |
42 |