Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to export a table into a single line text file to then post to an API on a different platform.
If I have a table eg
ID, Value
1,345546
2,433245
3,434645
4,546456
5,234235
I then need to transpose it into a single line and export it, as a text file, in the following format
{"1": "345546","2": "433245","3": "434645","4": "546456","5": "234235"}
Is this possible?
Many thanks,
Phil
Create a text box and insert the below expression
='{' & Concat('"' & ID & '"'& ';' & '"' & Value & '"' ,',') & '}'
after that export it to Excel (Since there is no way you can export it to text file in qlikview unless you use macros)
Create a text box and insert the below expression
='{' & Concat('"' & ID & '"'& ';' & '"' & Value & '"' ,',') & '}'
after that export it to Excel (Since there is no way you can export it to text file in qlikview unless you use macros)