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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jigarpan
Regular Visitor

Change the minimum value a Slicer can take based on the value in another slider

I have 2 slicers for Input values. I want to restrict the entries for the 2nd slider based on the values in the first slider. For example: If I input 3 as the value in the first slider, automatically, the 2nd slider should take 3 as the minimum value, the maximum value remains fixed. 2 slicers2 slicers

 

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

Hi @jigarpan ,

 

The feature you mentioned is currently not available in Power BI. You can submit an idea: Ideas .

 

Here's an alternative workaround, you can refer to it.

1.The slicer is a value of 1-6.

vstephenmsft_1-1640833201686.png

2.Create a What-if parameter.

vstephenmsft_2-1640833259539.png

vstephenmsft_3-1640833295291.png

 

3.Create a measure.

Measure = IF(MIN('Table'[Value])>=[Parameter Value],1)

 

4.Put the measure into visual level filters and set show items when the value is 1.

vstephenmsft_4-1640833410806.png

 

5.You can use your parameter slicer to select the minimum value of the slicer. But the minimum value of the slicer will not change, and the minimum value of the visual object will change.

vstephenmsft_5-1640833469378.png

The slicer can still slide to filter.

vstephenmsft_6-1640833525198.png

 

You can check more details from the attachment.

 

 

 

Best Regards,

Stephen Tao

 

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

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @jigarpan ,

 

The feature you mentioned is currently not available in Power BI. You can submit an idea: Ideas .

 

Here's an alternative workaround, you can refer to it.

1.The slicer is a value of 1-6.

vstephenmsft_1-1640833201686.png

2.Create a What-if parameter.

vstephenmsft_2-1640833259539.png

vstephenmsft_3-1640833295291.png

 

3.Create a measure.

Measure = IF(MIN('Table'[Value])>=[Parameter Value],1)

 

4.Put the measure into visual level filters and set show items when the value is 1.

vstephenmsft_4-1640833410806.png

 

5.You can use your parameter slicer to select the minimum value of the slicer. But the minimum value of the slicer will not change, and the minimum value of the visual object will change.

vstephenmsft_5-1640833469378.png

The slicer can still slide to filter.

vstephenmsft_6-1640833525198.png

 

You can check more details from the attachment.

 

 

 

Best Regards,

Stephen Tao

 

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

lbendlin
Super User
Super User

Slicers can only be based on columns, not on measures. If you have a relationship between these columns that can influence the data model filtering.  Otherwise you will not be able to accomplish this.

 

Power BI - Cascading Slicers - Hat Full of Data  

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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