Forum Discussion
mahdouchsfaq
4 years agoFrequent Visitor
undefined value in DualGauge when current value is 0
Hi everyone, i use the dualgauge visual to display the sales amount per year. When sales are equal to 0 , the current value is displayed as undefined on the visual . Any help?
mahdouchsfaq
3 years agoFrequent Visitor
Hi,
i found what causes the problem: Toggle format to display numbers with K and M letters ( ex: 1000 = 1k).
when the number is lowert than 1000, it displays undefined,
Is there a way to format the numbers manullay with a function ? i tried Format function but it does not work as the return value is a string and i need a number. thanks !