Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Scubadiver007
Helper I
Helper I

Calculating a percentage based on a subset of records

Hi,

 

I have a column for primary need and a column for the support type.

 

What I would like to do is calculate the percentage of each primary need for those with an EHCP and those with SEN support separately, rather than for both combined, but I'm not sure how to do it. See below for an example.

 

Scubadiver007_0-1743695465408.png

 

1 ACCEPTED SOLUTION

This is what I couldn't figure out, but I have come up with a simpler solution. Just create two separate charts and filter them.

 

Scubadiver007_0-1744118750501.png

 

View solution in original post

5 REPLIES 5
Scubadiver007
Helper I
Helper I

I have this visual on the page and all the percentages add up to 100%, but this is not what I want. I would like the bars only for SEN support to add up to 100%, likewise for EHCP.

 

I can do this easily enough in a matrix but not sure if I want to. I think I could probably put it into a bar chart if I unpivot the data, but I don't want to due to other analysis.

 

 

Scubadiver007_0-1743772125046.png

 

Anonymous
Not applicable

Hi @Scubadiver007,

 

Create a measure that calculates the percentage relative to the total number of pupils within each Support Type only.
This will reflect the distribution of primary needs within each support category as intended.

 

Regards,

Vinay Pabbu

This is what I couldn't figure out, but I have come up with a simpler solution. Just create two separate charts and filter them.

 

Scubadiver007_0-1744118750501.png

 

Anonymous
Not applicable

Hi @Scubadiver007,

 

Thank you for sharing your update. i request you to please accept your own post as the solution, this will help other community members who might face a similar issue.

 

Regards,

Vinay Pabbu

lbendlin
Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors