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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Clever_Anjos
Support
Support

Square Brackets [] inside an Inline Load

I´d like to know why a simple script like that causes an error

LOAD * INLINE [

    F1, F2

    "", test

];

I know I can  do this

LOAD Replace(Replace(F1,'{','['),'}',']') as F1, F2 INLINE [

    F1, F2

    "{a}", test

];

I´d like to know if there´s an easier way of doing this.

Labels (1)
18 Replies
rbecher
Partner - Master III
Partner - Master III

Hi all,

there is another more simple solution with quotes (esp. if you want to paste lots of data from wherever):

LOAD * INLINE "

    F1, F2

    , test

";

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
sunny_talwar
MVP
MVP

I think this is probably the best one so far.

Clever_Anjos
Support
Support
Author

Ralf, your soltutions rocks!

Clever_Anjos
Support
Support
Author

"Standing on the shoulders of giants", sunindia‌, rbecher‌, maxgro‌

Kushal_Chawda
MVP
MVP

Same works with single Quotes too

LOAD * Inline '

F1,F2

,test ';

rbecher
Partner - Master III
Partner - Master III

Well, you're right. It's just a matter of qouting. Nothing complex..

QlikView Quoteology

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
rbecher
Partner - Master III
Partner - Master III

Oh, I'm rather small.. 🙂

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Kushal_Chawda
MVP
MVP

Yes, you are right. It was just my curiosity to check with single quote

sunny_talwar
MVP
MVP

Oh you guys are huge... My name with elite such as yourself is a huge honor for someone like me.