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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
rob_vander2
Helper II
Helper II

Restrict measure calculation with field parameter based on filter selection

Hi All,

 

I have one table report with one Dimension and Field parameter with two measure. By default table visual displays values for both the measure in the filter context of dimension which works fine. Now my requirement is that, I want to show table visual blank unless filter selection is made in the slicer(another dimension). Is it possible to do this? I tried with calculation group as well but doesn't work.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rob_vander2 

You can refer to the following solution.

Sample data

vxinruzhumsft_0-1737006908754.png

I create the following measure paramaters.

Measure = MAX('Table'[Test1])
Measure 2 = SUM('Table'[Test2])

And i have a filter table, if it is filtered, then display the measure paramaters, or it will be blank.

vxinruzhumsft_3-1737007166768.png

We can create a measure.

Measure 3 = IF(ISFILTERED('Table (2)'[IsFilter]),1,0)

Then create a visual and put the measure3 to the visual filter.

vxinruzhumsft_1-1737007115591.png

 

Outptut

vxinruzhumsft_2-1737007148720.png

vxinruzhumsft_4-1737007186281.png

 

 

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.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @rob_vander2 

You can refer to the following solution.

Sample data

vxinruzhumsft_0-1737006908754.png

I create the following measure paramaters.

Measure = MAX('Table'[Test1])
Measure 2 = SUM('Table'[Test2])

And i have a filter table, if it is filtered, then display the measure paramaters, or it will be blank.

vxinruzhumsft_3-1737007166768.png

We can create a measure.

Measure 3 = IF(ISFILTERED('Table (2)'[IsFilter]),1,0)

Then create a visual and put the measure3 to the visual filter.

vxinruzhumsft_1-1737007115591.png

 

Outptut

vxinruzhumsft_2-1737007148720.png

vxinruzhumsft_4-1737007186281.png

 

 

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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