Percentage by Year instead of total

EvonS

Board Regular
Joined
Jun 1, 2016
Messages
111
Office Version
  1. 365
Platform
  1. Windows
  2. Web
This is my first time posting here so please forgive me if I'm not explaining things correctly.
I'm using Version: 2.121.644.0 64-bit (September, 2023)

I have this measure

"Measure = SWITCH(MAX('Age Parameter'[Age Parameter]), "0-5", SUM('Risks by Age'[0-5]), "6-11", SUM('Risks by Age'[6-11]), "12-17", SUM('Risks by Age'[12-17]), "18-24", SUM('Risks by Age'[18-24]), "25-29", SUM('Risks by Age'[25-29]), "30-39", SUM('Risks by Age'[30-39]), "40-49", SUM('Risks by Age'[40-49]), "50-59", SUM('Risks by Age'[50-59]), "60-69", SUM('Risks by Age'[60-69]), "70-79", SUM('Risks by Age'[70-79]), "80-99", SUM('Risks by Age'[80-99]), "12-29", SUM('Risks by Age'[12-29]))"

For the visual at the bottom left, I want it to show me the percentage for each year. I tried the 'Show Value As -> Percent of grand total' but that just gives me the percent of all the years added together which is not what I want to happen. I've been Googling for answers but I can't seem to find what I need. Can someone please direct me on what I should do please?
 

Attachments

  • BI1.PNG
    BI1.PNG
    53.3 KB · Views: 4

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I think what I'm looking for is percent of column total.
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,079
Members
449,094
Latest member
mystic19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top