Forum Discussion
Conditional formatting with dynamic min and max
Hi Anonymous
You may create a measure and use it for 'Rules' as below picture. Attached the sample file for your reference.
Measure = IF ( MAX ( ConditionTable[Value] ) < [Value1_min], 1, IF ( MAX ( ConditionTable[Value] ) > [Value1_max], 2, 3 ) )Regards,
Cherie
4 Replies
- v-cherch-msftMicrosoft Employee
Hi Anonymous
You may create a measure and use it for 'Rules' as below picture. Attached the sample file for your reference.
Measure = IF ( MAX ( ConditionTable[Value] ) < [Value1_min], 1, IF ( MAX ( ConditionTable[Value] ) > [Value1_max], 2, 3 ) )Regards,
Cherie
- v-cherch-msftMicrosoft Employee
Hi Anonymous
Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution and welcome to share your own solution. More people will benefit from here. If not, please share more details for us so that we could help further on it.
Regards,
Cherie
- AnonymousNot applicable
Many thanks Cherie,
This looks to work in a calculated column
Calc. column= if([value]<[value_min], 1, if([value]>[value_max],2,3))
- AgustinBrocardoFrequent Visitor
I was trying to do the same but with gradient style of formatting. Is there any way in which i can set a variable limit for the gradient?
Thanks!