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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
force111
Frequent Visitor

Measure (no slicer interaction) referencing another measure (with slicer interaction)

I'm not even sure how to properly describe this, but let's say I have a slicer with names in it. Separately, in a data table I have the corresponding region for each individual.

 

Now, I have one card with a number on it that is supposed to represent total number of people in a region based on the name selected on a slicer on screen. I have turned off Edit Intereactions because otherwise the measure just returns a value of 1 (since 1 individual is selected).

 

I have a second measure to get the region based on the name selected, since it's not impacted by the slicer.

 

For demonstration purposes, let's say I have John Smith from Ontario selected. The second measure correctly gets the value of Ontario. However, the first measure even when directly referencing the second measure, just returns a value of Alberta, regardless of any name chosen. I don't understand why. I've pasted a couple pictures with very basic formulas if helpful. Thanks!

force111_1-1706744534554.png

 

force111_0-1706744526523.png

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @force111 

You can try the following measure.

Region UW Denominator =
CALCULATE (
    DISTINCTCOUNT ( 'UW Loans'[UnderWriter Name] ),
    FILTER ( ALL ( 'UW Loans' ), 'UW Loans'[UnderWriter Region] = [SelectedRegion] )
)

Best Regards!

Yolo Zhu

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors