I'm tearing my hair out trying to get a % progress bar based on a calculated column in a list to work. I had it working for 24hrs, I tried to guild the lily and it's not worked since. We are on Sharepoint online and there's also a calculation based stoplight column in the same list which is rendering perfectly with a CEWP and the following code:
Which i do not really understand but works fine. This has not been changed between the Progress bars working yesterday and them not working today.
The calculation in the column is:
="<DIV style='background-color:skyblue;'> <DIV style='background-color:steelblue;width:"&100-([%Complete]*100)&"%;'> </DIV> </DIV>"
Which again is a copy and paste from a tutorial with some edits. The column output type is set to number.
Where am I going wrong? Thanks