cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a colour for two different values

0 Kudos

Hi this is my formula but what am I doing wrong

if {@Taking Date Away} >=28 and {PatCPlan.Tx_Intent} = "1_Radical") then crred or {@Taking Date Away} >=14 and {PatCPlan.Tx_Intent} = "2_Palliative" then crFuchsia else crnocolor

I have put this in the background colour section with in the formula but unsure how to get it working.

Thanks

Philippe

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Philippe,

Try:

if {@Taking Date Away} >=28 and {PatCPlan.Tx_Intent} = "1_Radical" then crred

Else if {@Taking Date Away} >=14 and {PatCPlan.Tx_Intent} = "2_Palliative" then crFuchsia else crnocolor

-Abhilash

0 Kudos

Thank you that works

Answers (0)