Forum Discussion
Mk60
Resolver I
2 years agoCalculated Column conditional formatting-works for some but not for all columns??
I have created table with calculated columns 1-9, (attachment#1), and I know that my condition Rules work fine b/c I can see that my percentages are matching the actual reporting calculations for eac...
- Anonymous2 years ago
Hi Mk60 ,
Please try create a column with below dax formula:
Column H = VAR _a = [Column 8] VAR _b = SWITCH ( TRUE (), _a <= 2.60, "Appetite", _a > 2.60 && _a <= 2.80, "Watch", _a > 2.8 && _a <= 3.00, "Caution", _a > 3.00, "Limit" ) RETURN _bAdd a table visual with table fields and set conditional formatting:
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Hi Mk60 ,
Please try create a column with below dax formula:
Column H =
VAR _a = [Column 8]
VAR _b =
SWITCH (
TRUE (),
_a <= 2.60, "Appetite",
_a > 2.60
&& _a <= 2.80, "Watch",
_a > 2.8
&& _a <= 3.00, "Caution",
_a > 3.00, "Limit"
)
RETURN
_b
Add a table visual with table fields and set conditional formatting:
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.