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.
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 small multiple like in given picture should show % out of hundred like in Years 11-20 Years it should be showing 100% as there is only No option in count %. Below is the table and picture I have of the visuals.
Each small multiple column should be out of 100%.
Years Band | Status |
1-2 Years | Yes |
2-10 Years | Unsure |
1-2 Years | Unsure |
11-20 Years | No |
2-10 Years | Unsure |
1-2 Years | No |
2-10 Years | Unsure |
2-10 Years | Yes |
1-2 Years | Unsure |
1-2 Years | No |
2-10 Years | Unsure |
2-10 Years | Yes |
2-10 Years | No |
1-2 Years | No |
Your help would be highly appreciated.
Thank you
Solved! Go to Solution.
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.
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.
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 |
---|---|
97 | |
69 | |
46 | |
39 | |
33 |
User | Count |
---|---|
163 | |
110 | |
61 | |
51 | |
40 |