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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
fcanney
Frequent Visitor

Workaround to use a Slider with Dynamic M Query to get min/max values to pass into a SQL query

I have a report built with multiple dynamic Parameters (user selects a metric and then a min and max value for that metric), which we then pass through a DirectQuery to a PostgreSQL database.  The parameters are fairly simple (select an attribute, select a min value, select max value) and the query works to pick out the right attribute where the value is >= min and the value is <= max.

 

Currently, the min and max slicers are set to single select options via a dropdown (i.e. select your min and select your max from the dropdown), but this is quite cumbersome for our users because the range of values from which the user selects a min and max can be really wide (e.g. can be 0 - 100% or $0 to $100,000 with lots of values inbetween). 

 

We want the user to be able to use a slider (or similar functionality) to select the min and max values (i.e. a slicer with the between option - from which we'll draw out the min and max values to pass to the parameters). 

 

But the only functionality for the slicer once the values metric is bound to a dynamic parameter is either a list or a dropdown (neither of which is practical for a large range of values if we want the user to somehow choose a "between" option). 

 

Is this possible to reconfigure a slicer or set up a data model that will enable this type of "between" selection for a value, and then pass the min and max values from that selection to a dynamic M parameter?

 

Thanks!

1 REPLY 1
lbendlin
Super User
Super User

If this is important to you please consider raising it at https://ideas.powerbi.com

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.