Forum Discussion
Anonymous
8 years agoNot applicable
Conditional formatting based on multiple conditions
Hi, In matrices, is it possible to have conditional formatting based on more than one rule? Ie based on column value (cabin) and aggregation value sum(seats remaining) (Note I am not talking ab...
- Anonymous8 years ago
Hi Anonymous
Can you try this?
Create a measure
Condition = MAXX(Ex_Format, IF(Ex_Format[Cabin]="Business"&& Ex_Format[Seats] >10, 1, IF(Ex_Format[Cabin]="Business"&& Ex_Format[Seats] <=10,2, IF(Ex_Format[Cabin]="Economy"&& Ex_Format[Seats] <=10, 3, IF(Ex_Format[Cabin]="Economy"&& Ex_Format[Seats] >10 && Ex_Format[Seats]<=40, 2)))))Here, 1 -> Green. 2-> Orange, 3-> Red.
and then do the conditional formatting like this:
your result will be like this:
Hope this is what you are looking for.
Thanks
Raj
Anonymous
8 years agoNot applicable
Hi Anonymous
Can you try this?
Create a measure
Condition = MAXX(Ex_Format,
IF(Ex_Format[Cabin]="Business"&& Ex_Format[Seats] >10, 1,
IF(Ex_Format[Cabin]="Business"&& Ex_Format[Seats] <=10,2,
IF(Ex_Format[Cabin]="Economy"&& Ex_Format[Seats] <=10, 3,
IF(Ex_Format[Cabin]="Economy"&& Ex_Format[Seats] >10 && Ex_Format[Seats]<=40, 2)))))
Here, 1 -> Green. 2-> Orange, 3-> Red.
and then do the conditional formatting like this:
your result will be like this:
Hope this is what you are looking for.
Thanks
Raj
Anonymous
4 years agoNot applicable
Hi Rajendran,
How can i get the same on calculated fields. could you please suggest how to proceed.