Hi All,
I have what I am sure is an incredibly obvious question but it has had me stumped now for 2 weeks.
I am creating a risk assessment power app and would like to do conditional formatting on the datacard relating to the risk level
- ❤️ = Green
- >3 <6 = Orange
- >6 = Red
I have managed to make this work in the edit screen of the form referring to drop down box selected values:

If(Max(Right(Text(DataCardValue1),1),Right(Text(DataCardValue4),1),Right(Text(DataCardValue6),1),Right(Text(DataCardValue8),1),Right(Text(DataCardValue12),1))<3, LightGreen, If(Max(Right(Text(DataCardValue1),1),Right(Text(DataCardValue4),1),Right(Text(DataCardValue6),1),Right(Text(DataCardValue8),1),Right(Text(DataCardValue12),1))> 5.9, LightCoral, Orange))
Where I am stuck is doing conditional formatting in the DetailScreen - I am sure I am referring to the data wrong.
Example-
Here I have a risk assessment done by Stewart. As the Max Residual risk is lower than 3 I would like the datacard to be green.



If I use this formula in the fill section:
If(DataCardValue124 < 3, Green, Red)
I get errors-

I must be referring to the data incorrectly somehow.
Any guidance would be most appreciated.