Forum Discussion
JK14
2 years agoNew Member
DAX Highlight Range Selection
Hi All I would love to have some helping hands with a PowerBI DAX formula to multi-select highlight range results from filter. At current I can get DAX to highlight 1 set of selection from filter, h...
- 2 years ago
Hi,
Please check the below picture and the attached pbix file.background color condition: = VAR _t = FILTER ( ADDCOLUMNS ( 'Range', "@condition", IF ( [Percentage:] >= 'Range'[MinValue] && [Percentage:] <= 'Range'[MaxValue], 1 ) ), [@condition] = 1 ) RETURN IF ( ISFILTERED ( 'Range'[Range] ), IF ( COUNTROWS ( _t ) > 0, 1, 0 ) )
Jihwan_Kim
Super User
2 years agoHi,
Please check the below picture and the attached pbix file.
background color condition: =
VAR _t =
FILTER (
ADDCOLUMNS (
'Range',
"@condition",
IF (
[Percentage:] >= 'Range'[MinValue]
&& [Percentage:] <= 'Range'[MaxValue],
1
)
),
[@condition] = 1
)
RETURN
IF ( ISFILTERED ( 'Range'[Range] ), IF ( COUNTROWS ( _t ) > 0, 1, 0 ) )