Hi @Julian Paus
Per my test, you can use following json formatting to set column value
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "=if([$Title] == 'Result A', '0','1')"
}
The json is to set current column value to 0 when Title column value is Result A
, set column value to 1 when Title column value is not Result A
.
Here is the test result
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.