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

Autogenerate new table

Hello,

I hope someone can help me.

I have 2 tables.

The 1st. table with may sales

Sales
CustomerDateAmount
101-ene100
202-abr100
103-jun100
407-ago100
502-oct100
604-mar100
601-jul100

Second table with sales discounts conditions

   

Conditions
Customer From dateTo dateConcept%
101-ene31-dic110
101-ene31-dic25
401-ene31-dic15
501-ene30-jun15
501-jul31-dic13

I want to create a third table with the values resulting from their combination

Like this

   

New TableDics. Table
CustomerDateAmountConcept%Disc. Amount
101-ene10011010
101-ene100255
202-abr100---
103-jun10011010
103-jun100255
407-ago100155
502-oct100133
604-mar100---
601-jul100---

   

Thank's in avdance

2 Replies
sinanozdemir
Specialist III
Specialist III

Hi,

Would you mind explaining this logic a little bit?

Thanks

Not applicable
Author

Of course

I try to generate a new data table.

Applying the conditions are in Table No. 2, "conditions"

Every time that the condition is fulfilled, you must generate a new line in the new table.

I understand that I must use the function for next in the script