Forum Discussion
aTChris
6 years agoResolver I
Conditional Rounding
Hi everyone Can anyone think of a way that I can apply conditional rounding to a card? I have a report showing revenue, profit, targets etc for different business units within a group. Some unit...
- 6 years ago
Use round to in formula and check
Measure = IF([Measure]>1000000,FORMAT(round([Measure]/1000000,0),"£#.#M"),FORMAT(round([Measure]/1000,0),"£#K"))
aTChris
6 years agoResolver I
Thanks I will give that a go
aTChris
6 years agoResolver I
That is really useful, the only concern I have is the rounding. Using your suggestion I've got it displaying correctly.
Measure = IF([Measure]>1000000,FORMAT([Measure]/1000000,"£#.#M"),FORMAT([Measure]/1000,"£#K"))However if the value is £309.5K it only shows £309, where I should display £310K
Do you have any suggestions for rounding before I convert to text?
Thanks
Chris
- amitchandak6 years agoSuper User
Use round to in formula and check
Measure = IF([Measure]>1000000,FORMAT(round([Measure]/1000000,0),"£#.#M"),FORMAT(round([Measure]/1000,0),"£#K"))