Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi community,
I'm using Qlik Sense April 2018 and I want to use auto format, with auto unit, but the number of decimal change every time .
It's possible to ALWAYS limit to one decimal ?
Thanks,
Aurélien
PS: I don't want a expression with multi num()
Unfortunately, I believe it is not possible to have this automatic format yet.
Really the format should be
Dual(Num(Sum(Sales)/Pow(10,3*(Div(Log10(Sum(Sales)),3))),'#,##0.0')&pick(div(Log10(Sum(Sales)),3),'k','M','B','T'),Sum(Sales))
It was different because my locale 🙂
Is this feature now available in the latest release
My solution as follow:
Round(total_sales, Pow(10, Floor(Log10(total_sales))-Mod(Floor(Log10(total_sales)), 3)) * 0.1)
@Ezirraffner the below expression does not work when the figure goes negative. Any fixture or suggestions for this please ?
Dual(Num(Sum(Sales)/Pow(10,3*(Div(Log10(Sum(Sales)),3))),'#.##0,0')&pick(div(Log10(Sum(Sales)),3),'k','M','B','T'),Sum(Sales))