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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Calculate % of total that updates with filter

Hi!

I am trying to create a measure that will give me the % completed by an individual. (Need to have 2 items selected - individual and company - in same category)
So far I have created the measure for a specific person, but have 80 or so other people I need to find the same calculation for. Is there a way to select/slice the data to show the individual selected rather than having to create a separate measure per person?

It's % completed by individual so I have: % = A/(A+C)
A=person
C= company

ex. % is 1.5% for A, I need to calculate the % for b, d, e, f, g... would like it to be dynamic so I can select b and it auto updates measure.
Provider:          completed
a                        5
b                        6
c (company)      15
d                         5
e                         3



but had to create additional measures to pull the A and C counts.

I tried filtering by name of person, but the issue is the Companies are within the same column so when I filter, it won't acknowledge the Company as well, only A.

Any help would be appreciated!

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

Can you share some sample data and the expected result to have a clear understanding of your question?
You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.
____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

For the Individual Count I created this measure:

A Count = CALCULATE(COUNTROWS('Facilities WO'),SEARCH("A",'Facilities WO'[Service Provider (groups)],,0))

and broke out the company count in the same fashion:
Vendor Count = CALCULATE(COUNTROWS('Facilities WO'),SEARCH("Vendor",'Facilities WO'[Service Provider (groups)],,0))

Since the "Vendor" is an entry in the Service Provider (groups) field, when I filter the Service Provider (group)= A, my calculations involving "Vendor" turn to eith 100% or [blank]

Hi, @Anonymous 

If it is convenient, can you provide some smaple data in excel for further researching?

 

Best Regards,
Community Support Team _ Eason

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.