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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Sandrine
Frequent Visitor

Filter page based on slicer selection

Hello everyone,

 

I have a slicer that goes from -2 to 200.

I would like to filter the page visuals (table, charts, etc) , so if my slicer selection is under 10 i would like to filter/display only values where my flag = 1 and my task = 1.

Kind regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Sandrine ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

vtangjiemsft_0-1669792650006.png

(2) We can create a measure. 

Measure Filter = 
var _selectedvalue=SELECTEDVALUE('Parameter'[Parameter])
return
IF(_selectedvalue<10&&_selectedvalue<>BLANK(), IF(SELECTEDVALUE('Table'[Flag])=1 && SELECTEDVALUE('Table'[Task])=1,1,0),1)

(3) The following illustration shows that the measure values are filtered.

vtangjiemsft_1-1669792749890.png

Best Regards,

Neeko Tang

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 @Sandrine ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

vtangjiemsft_0-1669792650006.png

(2) We can create a measure. 

Measure Filter = 
var _selectedvalue=SELECTEDVALUE('Parameter'[Parameter])
return
IF(_selectedvalue<10&&_selectedvalue<>BLANK(), IF(SELECTEDVALUE('Table'[Flag])=1 && SELECTEDVALUE('Table'[Task])=1,1,0),1)

(3) The following illustration shows that the measure values are filtered.

vtangjiemsft_1-1669792749890.png

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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