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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Karim_Khan
Creator III
Creator III

Qliksese - Unable to export millions format in export to excel

Hi,

I have created units to show data into ones,thousands and millions.I am able to export formatted units data when ones and thousands units options are selected and its getting downloaded in same format.

The issue is coming when i select millions unit and try to export tha data by checking Table formatting option its gives and error and when i say Yes then millions format got wiped out in exported excel.

I am using variable to pass this unit dynamically in expression

v_unit_Format =if(Units='Ones',Currency_Pick_v &'#,##0',If(Units='Thousands',Currency_Pick_v &'#,##0.0k',Currency_Pick_v &'#,##0.0m'))

 

Regards,

KK

KK
2 Replies
Chanty4u
MVP
MVP

If(Units='Ones',

    Sum(Value),

If(Units='Thousands',

    Sum(Value)/1000,

    Sum(Value)/1000000

))

& If(Units='Ones','',

     If(Units='Thousands','

k','m'))

Karim_Khan
Creator III
Creator III
Author

The above expression will convert the values into text and we cannot do any summation on it while exporting into excel.I have tried below one which is working but problem is that in presenation its appeaRing with double quotes for million units.

=if(Units='Ones', Currency_v & '#,##0',if(Units='Thousands', Currency_v & '#,##0.0k',Currency_v & '#,##0.0"m"'))

 

Karim_Khan_0-1765441470654.png

 

 

KK