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: 
cchausse
Contributor
Contributor

Export Dual() function as number in excel

Hi all,

When I want to export data from a graph with Dual() function, it exports the text format from Dual() instead of numeric value.

Formula:

if(SUM(IMPORT) > 1000000,

dual(num(SUM(IMPORT)/1000000, '#.##0M', ',', '.'),SUM(IMPORT)),
if(SUM(IMPORT) > 1000,
dual(num(SUM(IMPORT)/1000, '#.##0K', ',', '.'),SUM(IMPORT)),
num(SUM(IMPORT),'#.##0', ',', '.')))

cchausse_0-1614001028724.png

 

It works very well on the graph.

BUT when I export the data to excel:

cchausse_1-1614001092334.png

 

I want the real number, not the text version from Dual().

Example:

202008: 480000000, 448000000, -32000000

 

How can I do it?

Thanks!

 

 

 

Labels (1)
1 Reply
ArnadoSandoval
Specialist II
Specialist II

Hi @cchausse 

Perhaps this may help; Add an Alternative Measure without using your Dual() expression, assign a meaningful name, you can select either the Measure with the Dual function or the new one, without it, as shown by the following screenshots; now selecting the Measure without the Dual function allows you to export the original figures.

Line-Dual-01.png

Line-Dual-02.png

Line-Dual-03.png

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.