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

View all the Fabric Data Days sessions on demand. View schedule

Reply
poojawadhwa
Frequent Visitor

How to capture the lower and upper user input for a Between Filter

Hello Group, 

 

So i have a situation where i have a Between Filter on one of my measure column on my Report page....in that measure, values range from $5 to $50000. 

User uses the between filter to see the amounts only between $0 and $500. This is working fine. 

 

Now, on my report as a header i need to show the Filters applied. where i want to show that RANGE SELECTED BY USER is between $0 and $500.

 

now if i use MIN(measure column) and MAX(measure column) function, they dont serve the purpose as these return the MIN and MAX values in the column after the filter not the MIN and MAX values entered by user.

 

Is there anyway to handle this.

 

Thanks in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @poojawadhwa 

 

It’s impossible to return a value that is typed in but does not exist in the Entity Data table.

If you want to return 0 and 500, it's necessary for your measure to be able to return these 2 values.

For example, here I have a table:

vzhengdxumsft_1-1726452933705.png

When I apply a filter(30-100), I can get the max value 100 and the min value 57, because the measure have the 100 output but without a 30 output.

vzhengdxumsft_0-1726452922927.png

Here is a alternative workaround for your reference:

Add a table to control the scope and create a slicer with this field:

vzhengdxumsft_2-1726453559955.pngvzhengdxumsft_4-1726453608904.png

Add one measure to replace the measure in the table visual and 2 measures to get the slicer range:

MEASURE 2 =
IF (
    [Measure] >= MIN ( 'Table 2'[Value] )
        && [Measure] <= MAX ( 'Table 2'[Value] ),
    [Measure]
)
Range_Min = MIN('Table 2'[Value])
Range_Max = MAX('Table 2'[Value])

The result is as follow:

vzhengdxumsft_5-1726453892469.png

 

Best Regards

Zhengdong Xu
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

3 REPLIES 3
Anonymous
Not applicable

Hi @poojawadhwa 

 

It’s impossible to return a value that is typed in but does not exist in the Entity Data table.

If you want to return 0 and 500, it's necessary for your measure to be able to return these 2 values.

For example, here I have a table:

vzhengdxumsft_1-1726452933705.png

When I apply a filter(30-100), I can get the max value 100 and the min value 57, because the measure have the 100 output but without a 30 output.

vzhengdxumsft_0-1726452922927.png

Here is a alternative workaround for your reference:

Add a table to control the scope and create a slicer with this field:

vzhengdxumsft_2-1726453559955.pngvzhengdxumsft_4-1726453608904.png

Add one measure to replace the measure in the table visual and 2 measures to get the slicer range:

MEASURE 2 =
IF (
    [Measure] >= MIN ( 'Table 2'[Value] )
        && [Measure] <= MAX ( 'Table 2'[Value] ),
    [Measure]
)
Range_Min = MIN('Table 2'[Value])
Range_Max = MAX('Table 2'[Value])

The result is as follow:

vzhengdxumsft_5-1726453892469.png

 

Best Regards

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

elitesmitpatel
Super User
Super User

please share a pbix or some dummy data

Ritaf1983
Super User
Super User

Hi @poojawadhwa 

please share a pbix or some dummy data  (not as a screenshot) that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors