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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

export to excel data problem

hi all,

i have one pivot table  when am export to excel the numeric data will store into text

i want to store numeric in numeric only and accept only 2 digits after .(dot)

please help me

am attached that qvw

thanks in  advance

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Use this expression for limiting the numbers to 2 decimal.

=round(if(SUm(RADat_DUE)-sum(if(RR_Receipt_date<=T_Date,RR_RECEIPT_AMT))<>0,SUm(RADat_DUE)-sum(if(RR_Receipt_date<=T_Date,RR_RECEIPT_AMT)))/Value,0.01)

When you do export to excel, all dimensions will be treated as Text and Expressions will be converted in to number.

Regards,

Kaushik Solanki

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

View solution in original post

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Use this expression for limiting the numbers to 2 decimal.

=round(if(SUm(RADat_DUE)-sum(if(RR_Receipt_date<=T_Date,RR_RECEIPT_AMT))<>0,SUm(RADat_DUE)-sum(if(RR_Receipt_date<=T_Date,RR_RECEIPT_AMT)))/Value,0.01)

When you do export to excel, all dimensions will be treated as Text and Expressions will be converted in to number.

Regards,

Kaushik Solanki

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

Hi

Try this Macro

Re: need decimal values in Excel

Hope it helps

Not applicable
Author

thank you kaushik.solanki but i done like

in help->about qlikview->rirht click on qlik logo-> i am set ExcelExportMixedAsText =0  after am using round function

now the values coming corectly

now numeric data coming in number format only

once again thank you kaushik.solanki

Not applicable
Author

thank you for your replay, my problem is solved