Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi everyone !
I'd like to create a slicer segment with a “rate” (measure) that lets you choose a rate range.
For example: Here I can select rate from 0% to 73% but it can be 5% to 13% also.
I know it's easily possible in Tableau but Power BI it seems no.
Can you give me a tips in DAX to do that please ?
You need to know, I don't manage the dataset (power query) because it managing by IT department.
Thank you a lot and have a good day,
LD
Solved! Go to Solution.
Hi @LD1 i guess you can create a disconnected table like this for label slicer
Hey @LD1 ,
To create a slicer for selecting a rate range in Power BI based on a measure, you can follow these steps:
1. Create a Measure
You need to create a DAX measure to represent the rate. For example, if you have a column named RateColumn in your dataset, you can create a measure like this:
RateMeasure = AVERAGE('Table'[RateColumn])
This measure will calculate the average rate for your data.
2. Create a Supporting Table for the Slicer
You will need a table to use in the slicer for selecting the range. This table will contain the possible range values, like this:
RateRange = GENERATESERIES(0, 100, 5)
This creates a table with values from 0 to 100, in steps of 5. You can adjust the range and step size to fit your needs.
3. Add a Slicer to the Report
Once you have the RateRange table, add it to the slicer visualization. You can add this table to your report and use it for the slicer selection.
4. Create a Filter Measure Based on Slicer Selection
Now you can create a measure that will filter the data based on the selected rate range. This measure will use the slicer value to filter your data. For example:
FilteredRate = CALCULATE( [RateMeasure], FILTER( 'Table', 'Table'[RateColumn] >= MIN('RateRange'[Value]) && 'Table'[RateColumn] <= MAX('RateRange'[Value]) ) )
This DAX formula will filter your data based on the slicer selection and calculate the rate within the selected range.
5. Use the Measure in Visuals
Finally, use the FilteredRate measure in your visuals, and the slicer will control the range that is displayed.
If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.
Best Regards,
Nasif Azam
@LD1 - You can do this:
VAR SelectedMin = MIN(Parameter[Value]) * 100
VAR SelectedMax = MAX(Parameter[Value]) * 100
VAR CurrentRate = [Your % measure]
RETURN
IF (
CurrentRate >= SelectedMin && CurrentRate <= SelectedMax,
1,
0
)
You can then put this measure on your visual to filter to 1 only:
If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!
Hey @LD1 ,
To create a slicer for selecting a rate range in Power BI based on a measure, you can follow these steps:
1. Create a Measure
You need to create a DAX measure to represent the rate. For example, if you have a column named RateColumn in your dataset, you can create a measure like this:
RateMeasure = AVERAGE('Table'[RateColumn])
This measure will calculate the average rate for your data.
2. Create a Supporting Table for the Slicer
You will need a table to use in the slicer for selecting the range. This table will contain the possible range values, like this:
RateRange = GENERATESERIES(0, 100, 5)
This creates a table with values from 0 to 100, in steps of 5. You can adjust the range and step size to fit your needs.
3. Add a Slicer to the Report
Once you have the RateRange table, add it to the slicer visualization. You can add this table to your report and use it for the slicer selection.
4. Create a Filter Measure Based on Slicer Selection
Now you can create a measure that will filter the data based on the selected rate range. This measure will use the slicer value to filter your data. For example:
FilteredRate = CALCULATE( [RateMeasure], FILTER( 'Table', 'Table'[RateColumn] >= MIN('RateRange'[Value]) && 'Table'[RateColumn] <= MAX('RateRange'[Value]) ) )
This DAX formula will filter your data based on the slicer selection and calculate the rate within the selected range.
5. Use the Measure in Visuals
Finally, use the FilteredRate measure in your visuals, and the slicer will control the range that is displayed.
If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.
Best Regards,
Nasif Azam
Hi @LD1 i guess you can create a disconnected table like this for label slicer
@LD1 - You can only do this in Power BI be creating a Numeric Range Parameter, but this will have to be done in the Semantic model which you mention is owned by IT.
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-what-if
When you set this up, it will give you a column that can be used in a slicer, and a measure that will display the value, and can be referenced in other DAX measures.
If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!
Hi @mark_endicott , thank you for your answer.
I tried something with parameters but the formula doesn't work. I don't know where I can put Min & Max and you?
Here you can find my little example,
Thank you a lot,
LD
@LD1 - You can do this:
VAR SelectedMin = MIN(Parameter[Value]) * 100
VAR SelectedMax = MAX(Parameter[Value]) * 100
VAR CurrentRate = [Your % measure]
RETURN
IF (
CurrentRate >= SelectedMin && CurrentRate <= SelectedMax,
1,
0
)
You can then put this measure on your visual to filter to 1 only:
If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
8 | |
8 | |
8 |