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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
neerajthakur
Creator III
Creator III

Mapping Inline Table

I have this Mapping Table

Mapping Load * Inline [

XYZ [A],CityA

XYZ [B],CityB

];

 

This is giving me error due to square brackets, how can I achieve the results without removing  the brackets as its in data itself.

Thanks & Regards,
Please Accepts as Solution if it solves your query.
4 Replies
rbartley
Specialist II
Specialist II

Have you tried enclosing the text in single quotes, e.g. 

 

Mapping Load * Inline [

'XYZ [A]','CityA'

'XYZ [B]','CityB'

];

?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You will need to escape the right square brackets by doubling them:

Mapping Load * Inline [
F1, F2
XYZ [A]],CityA
XYZ [B]],CityB
];

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

marcus_sommer

A third approach is using double-quotes instead of the square-brackets for the inline area, like:

Mapping Load * Inline "

XYZ [A],CityA

XYZ [B],CityB

";

- Marcus

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Marcus, I like your solution better!

-Rob