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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
everest226
Creator III
Creator III

working with excel output file

I have a script with output excel file .  the question is how to remove [Formatted Data] label from first row of excel file

Export:

LOAD Category & '|'&Amount & '|'&  G1 & '|'& D1& '|'&TT& '|'&TM&  '|STSG'  as [Formatted Data]

Resident ExportNew;








omarbensalem



stalwar1

14 Replies
sunny_talwar
MVP
MVP

Export:

LOAD Category & '|'&Amount & '|'&  G1 & '|'& D1& '|'&TT& '|'&TM&  '|STSG'  as [Formatted Data]

Resident ExportNew

Where FieldName <> 'Formatted Date';

drop Table ExportNew;

everest226
Creator III
Creator III
Author

Thanks , but the record no 1 still shows up

everest226
Creator III
Creator III
Author

Stilll show record no 1


Export:

LOAD Category & '|'&Amount & '|'&  G1 & '|'& D1& '|'&TT& '|'&TM&  '|sdfdf'   as  [Formatted Data] 



Resident ExportNew

Where


  RecNo() > 1;

drop Table ExportNew;

OmarBenSalem
Partner - Champion II
Partner - Champion II

What's the script u're using?

try this:

YourTable:

LOAD Category & '|'&Amount & '|'&  G1 & '|'& D1& '|'&TT& '|'&TM&  '|sdfdf'   as  [FormattedData]

from source;

  

    let  idColumn=Peek('FormattedData',0,'YourTable');

  TableToExport:

Load

FormattedData         as [$(idColumn)]

Resident

  YourTable

Where

  RecNo() > 1;

store TableToExport .... ,

everest226
Creator III
Creator III
Author

Thanks Sunny