Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I have the following tables:
Table1:
Table2:
I want to show in a Simple Table the Table1 fields (ACCOUNT_ID, INSPECTION_DATE & AMOUNT) for those STATUS in Table2 where STATUS = Planned (STATUS could be: Selected, Planned, Inspected).
Do you know how can I do that?
Thank you!!!
Try one of this load
Table1:
Load
ACCOUNT_ID,
INSPECTION_DATE,
AMOUNT
From Location;
Right Join
Table2:
Load
ACCOUNT_ID
From Location
Where Match(STATUS,'Selected', 'Planned', 'Inspected' );
In place of the right join you can try with mapping table of table2.
You can try this one, kinda similar to one mentioned above -
NewTable:
Load
ACCOUNT_ID,
INSPECTION_DATE,
AMOUNT
From Table1;
Inner Join
Load
ACCOUNT_ID,
STATUS
From Table2
Where STATUS = 'Planned' ;
Thanks
Hello.
Try using ACCOUNT_ID and INSPECTION_DATE as dimensions and this as expression:
Sum({$<STATUS = {'Planned'}>} AMOUNT)
Regards.
just load your to tables as they are.
They will be associated via the ACCOUNT_ID field.
Create a tble box with the table1 fields and a listbox for the Status field.
Then select 'Planned' in the Status listbox.
hope this helps
regards
Marco
May be this is your correct result try below in load script and use only Planned Status
Table1:
Load
ACCOUNT_ID,
INSPECTION_DATE,
AMOUNT
From Location;
Right Join
Table2:
Load
ACCOUNT_ID
From Location
Where Match(STATUS, 'Planned' );