Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
HTML formatting for Item Quantity issue
Hi there,
I just the following code to format our {locationquantityavailable} to show colours.
CASE
WHEN {locationquantityavailable} > 10 THEN '<font color="#006400">'||{locationquantityavailable}||'</font>'
WHEN {locationquantityavailable} > 5 THEN '<font color="#EEB422"><b>'||{locationquantityavailable}||'</b></font>'
WHEN {locationquantityavailable} > 0 THEN '<font color="#BE2625"><b>'||{locationquantityavailable}||'</b></font>'
ELSE '<font color="#BE2625"><b>'||{locationquantityavailable}||'</b></font>'
END
It work like a charm, but I have to set the field type as "Formula (Text)" which make it align left instead of "Formula (Numeric)" align right. Result is like this screen: https://i.srsworks.com/i/92iP