I have a list where we track an employees performance by awarding badges. When 4 badges are earned, the employee achieves a Pennant. I have a calculated column for Progress that adjusts by 25% with each badge earned, and is also formatted to displays color coded bars.
Calculated Progress field JSON:
=IF(Achievement4>0,"1.00",IF(Achievement3>0,".75",IF(Achievement2>0,".50",IF(Achievement1>0,".25",))))
I can't get the Pennant image to display. I don't get an error with my JSON, but the field is blank. I want the Pennant column to display the pennant image when the Progress reaches 100%.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "img",
"style": {
"width": "100px"
},
"attributes": {
"src": "=if([$Progress]='1.00', 'https://contoso.sharepoint.com/sites/HR/SiteAssets/Servicers.png', ''))"
}
}
Any idea what I'm doing wrong and/or why my Pennant isn't displaying when the Progress field reaches 100%?

