Discussion board where members can get started with Qlik Sense.
Use below expression,
Where vMonthValid = Date(Today())-Date(Date_Column)
,vGoodcolour_Green = Green()
,vYellowColur = Yellow()
,vBadColour_Red = Red()
Or you can use the Satement like RGB(64,128,115) to the the color value to variables.
Note: I have considered '>= 2months' means >=60days, '<=1month' means <=30days and all other conditions will come under Expired Date
click on the '+' beside your expression in expressions tab and there you can write expressions to give colours to background, text etc. There you can use any if else clause to define the colours.