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: 
sculptorlv
Creator III
Creator III

Load certain data

Hello .. very simple quastion, which I can't solve by reading manual

I need to load manual certain data. Not from Excel, but just data.

I have 3 variable: A, B, C and I have to load 5 rows with data for each variable (=column) like:


A B C


1 5 7

4 6 8

5 7 9

4 6 7

4 6 7

Please help me with a syntaxis. Thank you in advance!!

13 Replies
tresesco
MVP
MVP

Try like:

Load * Inline

"

Number, Description,

1, Apple[super]

" ;

Double quotes would be then considered as the INLINE start-end. Therefore, [] would be considered as part of your data.

engishfaque
Specialist III
Specialist III

Hi Ruslans,

Here it is,

temp:

Load A, B, If(not IsNum(C), '[', C) as C Inline

[

A, B, C

1, 5, 7

4, 6, 8

5, 7, 9

4, 6, Apple

4, 6, 7

];

Kind regards,

Ishfaque Ahmed

sculptorlv
Creator III
Creator III
Author

Thank You!!

This is it!

its_anandrjs
Champion III
Champion III

You can try this way.

Ex:-

LOAD Number, Replace( Replace(Description,'(','['),')',']') as Description;

Load * Inline

[

Number, Description

1,        Apple(super)

2,        Orange(super)

3,        Lemon(Super)

];

Note:- Load your data with this symbol ( ) and the replace it by [ ].

Regards

Anand