Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Number Format Issue

Hi Everyone,

I have created a Bar chart to analyze the sales in different cities,  where the problem is when Sales value is displayed in bar chart for a city say A the sales value is 7.85(after Formatting) , but when i export the bar chart to excel it gives the sales value as 7.85236214.

Can any one advice the reason behind this......? & suggest a way to rectify this issue.

Thanks

13 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Use the "Number" Tab to format the numbers.

     That will work

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Hi Sathis Kumar

it is excel formatting issue. you need to check the Format Cell values in General Section. You need to define the Decimal place according to value you can define the place.

Hopefully when you export the bar chart to Excel it gives the sales value exact that you required.

MK_QSL
MVP
MVP

You can have two different ways to get the proper format...

While loading itself in the script, use as below

NUM(SalesValue,0.01) as SalesValue

Or

Use Something Like Below in Bar Chart Expression

=Num(SUM(Sale),'#,##0.00')

Not applicable
Author

Thank You Kaushik for your reply,

But the thing is i have formatted the sales value is the expression it self

say - Num(Sum(sales),'##,##0.00')

& I have selected Expression default option in the Number Tab.

but still the problem occurs when i export to excel.

Expecting your feedback.

Not applicable
Author

Thank You For your advice

It Works

senpradip007
Specialist III
Specialist III

Dear Satish.

If you get the correct answer, you should mark this thread as answered for others to learn.

Not applicable
Author

Thank You for Your Advice

its Informative.

Not applicable
Author

Hi Manish ,

Kindly Share the logic  how NUM(SalesValue,0.01) works ....?

Manish Kachhia wrote:

You can have two different ways to get the proper format...

While loading itself in the script, use as below

NUM(SalesValue,0.01) as SalesValue

Or

Use Something Like Below in Bar Chart Expression

=Num(SUM(Sale),'#,##0.00')

Not applicable
Author

Hi Pradip

Am New to Qlikview (Community also). Can u advice me how to mark a thread as Answer ....?

Thanks