-
1. Re: Rounding a Measure in a Calculated Field to the nearest tenth place using the Round Function
Alexander Dawson Sep 13, 2018 1:05 PM (in response to Henry Shum)Are you using both parameters in the round function?
For example
Round(4.05) = 4
Round(4.05,1) = 4.1
That second parameter is the number of decimals you want to use.
-
2. Re: Rounding a Measure in a Calculated Field to the nearest tenth place using the Round Function
Henry Shum Sep 13, 2018 1:36 PM (in response to Alexander Dawson)Hi Alexander,
Thank you for your reply. I have not applied the round function yet. I'm just wondering how I should apply it so that only one of my measures is rounded to the nearest tenth instead of the nearest one. Attached is a screenshot of the calculated field with a list of the measures included in that field.
-
3. Re: Rounding a Measure in a Calculated Field to the nearest tenth place using the Round Function
Henry Shum Sep 13, 2018 2:30 PM (in response to Henry Shum)Never mind, I used another way to solve the problem.
I think Tableau wasn't being very responsive when I first tried to change the Measure's Data Type. I tried changing the Data Type of the Measure again and it's displaying the original number of decimal places in the data source.