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

View all the Fabric Data Days sessions on demand. View schedule

Reply
balakrishna171
Frequent Visitor

Need to show different Measure values based filter selections

Hi Team,

I have 3 Measures in my Model 

 1. NSAT Measure Value
 2. WW NSAT Measure Value
 3. Final Measure

                      I am fine with 1st and 2nd Measure calculations but the calculation for 3rd measure is, based on filter selections it has to display Measure 1 or 2. Details given in below screen shot.

Measure Requirement.PNG

 

Thank you in advance.

Bala Krishna

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

Hi @balakrishna171 

we need to use "isfiltered"(or other functions) to identify if a filter is applied.

https://community.powerbi.com/t5/Desktop/Show-result-in-table-only-if-it-is-filtered/td-p/586917

 

for filters in any table, we need to use "isfiltered" for each slicer(column) per table.

in my example, filter1 show filters in "geo table"filter2 show filters in "sample data",filter1 show filters in "weight table".

Measure =
VAR filter1 =
    ISFILTERED ( 'geo table'[country name] )
VAR filter2 =
    ISFILTERED ( 'sample data'[person id] )
VAR filter3 =
    ISFILTERED ( 'weight table'[region] )
RETURN
    IF (
        ISFILTERED ( 'sample data'[question desc] ),
        37,
        IF (
            filter1 || filter2
                || filter3,
            39,
            IF ( NOT ( filter1 && filter2 && filter3 ), 37 )
        )
    )

result1, 3

Capture8.JPGCapture9.JPG

result 2

Capture10.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @balakrishna171 

we need to use "isfiltered"(or other functions) to identify if a filter is applied.

https://community.powerbi.com/t5/Desktop/Show-result-in-table-only-if-it-is-filtered/td-p/586917

 

for filters in any table, we need to use "isfiltered" for each slicer(column) per table.

in my example, filter1 show filters in "geo table"filter2 show filters in "sample data",filter1 show filters in "weight table".

Measure =
VAR filter1 =
    ISFILTERED ( 'geo table'[country name] )
VAR filter2 =
    ISFILTERED ( 'sample data'[person id] )
VAR filter3 =
    ISFILTERED ( 'weight table'[region] )
RETURN
    IF (
        ISFILTERED ( 'sample data'[question desc] ),
        37,
        IF (
            filter1 || filter2
                || filter3,
            39,
            IF ( NOT ( filter1 && filter2 && filter3 ), 37 )
        )
    )

result1, 3

Capture8.JPGCapture9.JPG

result 2

Capture10.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Maggie,

 

Superb and great solution. it worked for me well.

Thanks again.

 

Regards,

Bala

balakrishna171
Frequent Visitor

Hi Team,

 

Any help on this would be appreciable.

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