Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavikumehta
Contributor III
Contributor III

Decimal precision changes when exporting to Excel

Hello,

I have a tabular chart having numeric field column with decimal precision set to 1; originally decimal precision of that field is 5 decimals.

When I export this tabular chart to Excel, it shows decimal precision as 1 in Cell value, however, in Formula bar it is showing decimal precision as 5 which is confusing Business users.

For eg:

Original value in Source = 3.62931

Qlikview value = 3.6

Excel Cell value = 3.6

Excel formula bar = 3.62931

Kindly suggest a solution.

Thank you.

2 Replies
PrashantSangle

use ceil() or floor() with precision parameter.

regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Miguel_Angel_Baeyens

There is no difference in those values: QlikView and Excel show and store the same thing in this case.

Both QlikView and Excel have a default format to display values, that you can modify in QlikView going to the chart properties in the Numbers tab, or even document wise in the Settings > Document Properties > Number (so you don't have to go chart by chart) and in Excel right clicking on the cell Format Cell > Number etc.

But if you do want to change the precision, use the Round() function in QlikView so it stores actually a rounded value. The Num() function does not affect to what it is stored, but to what it is displayed. So using the Num() function could show different values in QlikView than in Excel.