Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using expression and functions when doing inline load

Hi, I'm trying to use an expression in an inline load but having trouble with the right syntax.  Can someone please help?  Thx!

TableMinMax:

LOAD * Inline

[

tMinNum, tMaxNum

$(=Min(NumberA)),$(=Max(NumberA)),

$(=Min(NumberB), $(=Max(NumberB))

];

LOAD

  NumberA,

  NumberB

Resident NumberTable;

2 Replies
Gysbert_Wassenaar

It kinda looks like you want to use an inline load as a preceding load. If so, that cannot work. Try this:

TableMinMax:

LOAD

     min(NumberA) as tMinNum,

     max(NumberA) as tMaxNum,

Resident NumberTable;

CONCATENATE(TableMinMax)

LOAD

     min(NumberB) as tMinNum,

     max(NumberB) as tMaxNum,

Resident NumberTable;


talk is cheap, supply exceeds demand
Not applicable
Author

Yes, that's exactly what I'm trying to do.  Thank you!