The greater than or equal operator for a date difference in gallery is not working
I have a custom gallery with a Label field named Days.
I put the following for the Text property which works : DateDiff(ThisItem.Date,Now())
I put the following for the color property which doesn't work: If(Days.value >= 5, Red, Green). I also tried If(Days.text >= "5", Red, Green)
What am I doing wrong?

Report
All responses (
Answers (