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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-tangjie-msft
Community Support
Community Support

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
v-tangjie-msft
Community Support
Community Support

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.