Join 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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi Team,
I have the below measure and need to use in the Slicer but unable to do. Could you pleaes help.
I am creating the Rank measure on Average column and then Range measure (or precentile) as above.
@Anonymous
@amitchandak
@SivaMani
@Icey
Thank you,
Paramjit
Solved! Go to Solution.
@Paramjit, Try the below approach and let me know if it meets your requirement,
Range =
VAR __Max = MAXX( ALL(<TableName>[ColumnName]),[Rank 2])
VAR __SelValue = SELECTEDVALUE('Table'[Name])
VAR __Perc = DIVIDE([Rank 2],__Max)
RETURN
SWITCH(
TRUE(),
__SelValue = "Long" && __Perc > .67,"Y",
__SelValue = "Medium" && __Perc > .33, "Y",
__SelValue="Short", "Y"
)
Hope it will help you!
Best Regards,
Siva Mani
Proud to be a Super User!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Paramjit, Try the below approach and let me know if it meets your requirement,
Range =
VAR __Max = MAXX( ALL(<TableName>[ColumnName]),[Rank 2])
VAR __SelValue = SELECTEDVALUE('Table'[Name])
VAR __Perc = DIVIDE([Rank 2],__Max)
RETURN
SWITCH(
TRUE(),
__SelValue = "Long" && __Perc > .67,"Y",
__SelValue = "Medium" && __Perc > .33, "Y",
__SelValue="Short", "Y"
)
Hope it will help you!
Best Regards,
Siva Mani
Proud to be a Super User!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Paramjit , For slicer you have create an independent table with these value and then filter it in a measure
assume table name RangeBucket
New measure = sumx(filter(Values(Table[Run ID]), [Range] = max(RangeBucket[Value]) ), CALCULATE(SUM('Table'[Average])) )
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
i tried the same but it is duplicating the values.
I am not able to filter out the null values. Please suggest.
itchandak
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 112 | |
| 108 | |
| 39 | |
| 34 | |
| 27 |