Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Richard3
Contributor III
Contributor III

cross tables with conditional.

I have my tables A and B, my main table must be B, but when B does not contain a value, which in this case is the amount produced for a month, it brings me the value of that month in table A and It generates my table AB.

Example

Richard3_0-1678471393185.png

 

1 Reply
AgatheClero
Partner - Contributor II
Partner - Contributor II

Hi @Richard3,

You can use Exists function to solve your case.

Firstly, load your file TableB. Then, load your file TableA and filter to load only row where the month is not in TableB (Where not Exists(Month)).

 

TableB:
Load
    Month,
    [Amount produce]
From <YourFileB>
;

Concatenate(TableB)
Load
    Month,
    [Amount produce]
From <YourFileA>
Where not Exists(Month)
;

 

Hope this helps.

Regards,

Agathe.