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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Join tables with a inputfield

Hello all,

I have two tables, one with the month numbers and one with the stores. I want to create a third table with two columns with adding a inputfield to put the number of sales. Is it possible?

Capture.PNG
Many thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

First join the tables, then create a new table with a resident load and add the input field:

Temp:

LOAD * FROM ...table1...;

JOIN(Temp)

LOAD * FROM ...table2...;


INPUTFIELD NoOfSales;


Result:

LOAD *, 0 as NoOfSales RESIDENT Temp;


DROP TABLE Temp;


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

First join the tables, then create a new table with a resident load and add the input field:

Temp:

LOAD * FROM ...table1...;

JOIN(Temp)

LOAD * FROM ...table2...;


INPUTFIELD NoOfSales;


Result:

LOAD *, 0 as NoOfSales RESIDENT Temp;


DROP TABLE Temp;


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you for the precise answer.

Not applicable
Author

Is it a real problem if joining tables creates a circular join?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes.


talk is cheap, supply exceeds demand