Hi @Harry N Nomikos,
I am using header JSON formatting here.
Please replace the code in your Days till Go Live section with the following JSON:
{
"elmType": "div",
"children": [
{
"elmType": "span",
"attributes": {
"class": "ms-fontColor-white ms-fontWeight-bold ms-fontSize-12"
},
"txtContent": "=if (Number([$GoLiveDate]) == 0, 'Days till Go Live', 'Days till Go Live:')"
},
{
"elmType": "span",
"attributes": {
"class": "=if((floor((Number([$GoLiveDate])-Number(@now))/(1000*60*60*24)))<= 10 &&(floor((Number([$GoLiveDate])-Number(@now))/(1000*60*60*24)))>=1 ,'ms-fontColor-red ms-fontWeight-bold ms-fontSize-12',if((floor((Number([$GoLiveDate])-Number(@now))/(1000*60*60*24)))<=30,'ms-fontColor-orangeLighter ms-fontWeight-bold ms-fontSize-12','ms-fontColor-greenLight ms-fontWeight-bold ms-fontSize-12'))"
},
"txtContent": "=if (Number([$GoLiveDate]) == 0, '',floor((Number([$GoLiveDate])-Number(@now))/(1000*60*60*24)))"
}
]
}
Here is the result in my side:
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.