Forum Discussion
Strange % result
- 4 years ago
Hi,
The denominator is probably not exactly a 0. It could be a very small decimal number. Use the ROUND function in the numerator and denominator to keep only 2 decimal places.
Hi Ailsa,
Thanks, but a sum of the individual %'s is not what I am looking for here. I'm looking to understand why
DIVIDE ( [Total Gross Profit (USD Fixed)], [Total Sales (USD Fixed)], 0)
Is evaluating to a huge percentage on the aggregate/total line....when it seems like 1.24 divided by 0 should be 0.
Hi,
The denominator is probably not exactly a 0. It could be a very small decimal number. Use the ROUND function in the numerator and denominator to keep only 2 decimal places.
- dusdau4 years ago
Helper II
Wow, it was so small i could not see the decimal place even when expanding the decimals out. Putting a ROUND on it confirmed this...and I feel like an idiot now. 🙂 Thanks for the help.
- Ashish_Mathur4 years ago
Super User
You are welcome.