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
Anonymous
Not applicable

Visual filters messing up Calculations

I have two tables that have visual-level filters on the same field (candidate stage/application status).

 

Example 2.png

 

  1. One table summarizes open applications by filtering on any application that is "Under Review".

    Example 3.PNG
  2. The other table is a collection of Total Applications submitted and contains a measure that calculates what percentage of those applications were hired.

    Example 4.PNG

 

Because they both rely on Candidate Stage ("Application status"), when I click on one table, it incorrectly calculates.

 

Example.png

 

The intended effect should be 0's across the board for Total Hired and & % Hired because the table being triggered is a collection of Applications still Under Review/Open.

 

Thoughts?

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please use the following measure for %hired:

 

% Hired =
CALCULATE ( COUNTROWS ( Sheet1 ), Sheet1[Candidate Stage] = "Hired" )
    / CALCULATE (
        COUNTROWS ( Sheet1 ),
        FILTER (
            ALLSELECTED ( Sheet1 ),
            Sheet1[Source of Hire] = MAX ( Sheet1[Source of Hire] )
        )
    )

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please use the following measure for %hired:

 

% Hired =
CALCULATE ( COUNTROWS ( Sheet1 ), Sheet1[Candidate Stage] = "Hired" )
    / CALCULATE (
        COUNTROWS ( Sheet1 ),
        FILTER (
            ALLSELECTED ( Sheet1 ),
            Sheet1[Source of Hire] = MAX ( Sheet1[Source of Hire] )
        )
    )

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous,

 

but the visual filter only filters the selected country.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
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!

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.

Top Solution Authors