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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Set Value Based on Slicer

Hello,

 

Is there a way to set a value in a dataset or measure that is based on the lowest numeric value currenly in a silcer? For example, I have a slicer that has a range from 1 to 60. When someone moves the slice to 12 to 24 I want a certain data in my dataset to change their value to 12.   

3 REPLIES 3
Anonymous
Not applicable

Yes. There is. And by saying that I give you about as much info as you have given about your problem.

Best
Darek
Anonymous
Not applicable

Happy to elaborate @Anonymous . I have a line graph with multiple lines and I am trying to keep one of those lines from being filtered out when I use one of the slicers. This slicer is a numeric slicer that you can change the range between 1 to 60 of a certain column of data. I would like to change the values in that column for the data that makes up that line, to same value as the lowest value selected in the slicer. This will keep the line graph presented in the line graph. I would be gratful for your help. If you have a better solution please let me know. 

Anonymous
Not applicable

Still, this is not entirely clear since I can't see the model.

 

Your slicer must be a disconnected table, first and foremost, because if it filters a table from which a column is taken to make up the x-axis, then you're out of luck. Secondly, the line you want to tie to the lowest value of the slicer must be aware of the lowest value only. So, you should create a measure that will sense the lowest value and use it properly.

 

Best

Darek

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.