Forum Discussion

Junaid11's avatar
Junaid11
Helper V
3 years ago
Solved

Small multiple should be 100% for each column

Hello, I have two columns in a table Years band and Status. I want to see status count % against each status but as I use years band as small multiple it divides the % further. I want each column in...
  • Ritaf1983's avatar
    3 years ago

    Hi Junaid11 ,

     

    It is necessary to change the context filter in order to solve this problem.
    Here is a formula that you can use:
    Percentage in age group = count('Table'[Status]) / CALCULATE(COUNT('Table'[Status]),ALLEXCEPT('Table','Table'[Years Band]).
    Put the measure on the X axis.
    For your convenience, I have attached a picture

    you can also download a sample file from link:
    sample file 

    If my answer was helpful please give me a Kudos and accept as a Solution.