Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am sharing my Pbix file here;
I am trying to come up with percentage of data displayed on a separate column as illustrated below.
I am only calculating % using output of two columns (Percentage Qualified A & Percentage Qualified B).
The values are coming from Count.
So, the expected output are 90.5 % (for Client_ID 129532) and 86.9% (Client_ID 129533).
How do we go about doing this?
Thanks.
Solved! Go to Solution.
Try this (table and column names abbreviated for readability):
% Qualified =
DIVIDE (
CALCULATE (
COUNT ( vw[Client_ID] ),
vw[Are_you_vaccinated] IN { "Percentage Qualified A", "Percentage Qualified B" }
),
CALCULATE ( COUNT ( vw[Client_ID] ), REMOVEFILTERS ( vw[Are_you_vaccinated] ) )
)
They won't neatly go into another column in your existing visual since that matrix uses [Are_you_vaccinated] for the columns already. I'd suggest asking a separate question to resolve any layout issues.
@AlexisOlson Thanks. I will create a separate post. I think it might be better if I unpivot data of "Are_you_vacc..".
Try this (table and column names abbreviated for readability):
% Qualified =
DIVIDE (
CALCULATE (
COUNT ( vw[Client_ID] ),
vw[Are_you_vaccinated] IN { "Percentage Qualified A", "Percentage Qualified B" }
),
CALCULATE ( COUNT ( vw[Client_ID] ), REMOVEFILTERS ( vw[Are_you_vaccinated] ) )
)
They won't neatly go into another column in your existing visual since that matrix uses [Are_you_vaccinated] for the columns already. I'd suggest asking a separate question to resolve any layout issues.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |