Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi
how can i round integer number?
for example:
i want to show 275612 ------->275000
1325----->1000
123--->100
u can try this
Hi Omid,
Try,
=If(Field<1000, Floor(Field,100), Floor(Field,1000))
or
If you have values in dimension or set analysis expression then try like this
Round(Sum(Sales), 1000)
OR
Round(Sales, 1000)
Hi,
Try
Floor(275612 )
thank you
Did you check the other two scenarios.? It gives the wrong result.
As per raj. its gives u best shot through the script.
try below script
Round:
LOAD * INLINE [
a, b
275612, num
1325, dd
123, pp
];
LOAD *,
If(a<1000, Floor(a,100), Floor(a,1000)) as new1
Resident Round;