Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Accesing fields from two resident tables

HI guys,

I have this script.

[Table1]:

Load

Amount

Resident A;

[Table2]

Load *,

If (qty < 0, Table1.Amount * -1, Table1.Amount)

it complains the Table1.Amount as field not found.

I wanted to know if it is even possible to access fields from other resident table the way i am trying to do.

Regards,

Saurabh

2 Replies
Clever_Anjos
Employee
Employee

Is there any keys between those tables?

Check your manual for LOOKUP() function, maybe it can help you

jagan
Luminary Alumni
Luminary Alumni

HI,

Is there any primary key between the two tables, if yes then join the two tables and then perform the calculation.

Regards,

Jagan.