Hello,
I want to create a completion date column in my Sharepoint list that turns red if the date in it is past the due date. Here is what I have:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField",
"attributes": {
"class": "=if([$Completion_x0020_Date] >= [$Due_x0020_Date],'sp-field-severity--severeWarning', '')"
}
}
This code does simply turns every entry red. Has someone encountered this before?

