
Hi @Nattawut Teerajarukul ,
I’m sorry you aren’t feeling good. I’m here if you need anything.
"It show error not support JSON format", can you provide me with a screenshot of the error report and the steps you have taken to set it up before that?
Given that you have already used the conditional formatting rule before, we recommend that you use the column formatting so that you don't have a conditional conflict that overwrites the color of the previous conditional formatting rule. Except instead of highlighting item rows, it's a single column.
Here is my JSON codes:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField",
"style": {
"background-color": "=if(@currentField <= @now - 5184000000, 'red', '')"
}
}
Here are steps:
My test result:
Hope the information can help you. And if there have any unclear or misunderstanding, please feel free to post back and we’ll continue to help you all the time!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.