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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
omelei86
Frequent Visitor

Amount clustered - Help needed

Hi 

 

My table looks as follows:

 

IdAmount
112
216
31
44
526
645
799

 

I'd like to add some clusters as a filter 

 

0 < 25

25 < 50

50 < 100

 

I tried an IF statement but somehow my filter does not work. 

 

MEASURE =
IF(table,table[column]) < 25,"< € 25",
IF(table,table[column]) < 50," € 25 < € 50",
"< € 100"
))

Any suggestions?
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @omelei86 ,

Power BI doesn't support us to add a measure in Slicer. I suggest you to create a cluster calculated column by dax and create a slicer by this column.

Cluster = 
IF('Table'[Amount]<25,"€ 0 < € 25",IF('Table'[Amount]<50,"€ 25 < € 50","€ 50 < € 100"))

Result is as below.

1.png2.png

You may refer to below blogs for more details about the differences between measure and calculated column.

For reference:

 What is the difference between Power BI calculated columns and measures?

Power BI Measures vs Calculated Columns

 

Best Regards,
Rico Zhou

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @omelei86 ,

Power BI doesn't support us to add a measure in Slicer. I suggest you to create a cluster calculated column by dax and create a slicer by this column.

Cluster = 
IF('Table'[Amount]<25,"€ 0 < € 25",IF('Table'[Amount]<50,"€ 25 < € 50","€ 50 < € 100"))

Result is as below.

1.png2.png

You may refer to below blogs for more details about the differences between measure and calculated column.

For reference:

 What is the difference between Power BI calculated columns and measures?

Power BI Measures vs Calculated Columns

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.