Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |