Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Fact tables to avoid loops and synthetic keys

Script1.png

Script2.pngtable.png

------------------------------------------------------------------------------------------------------------------


Like this Output I should Get please help me.

original.png

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

You could do ... (I give the idea, convert in correct syntax)

load * resident main

ledt join

load * resident product Group

and you could join the 2 table records

oad * resident record

join

load * resident record-1

what has happened now?

let me know

its_anandrjs

Hi,

Use composite keys here in your data model there are many fields are same in the tables and that is the reason you get many synthetic keys and the synthetic tables also in the data model. Do work on the remove the synthetic keys to rename them or create the composite keys from they and join them.

Load Description as Desc,* From Main;

Left Join

Load LocationID&_&ProductID as Key, ProductID as ProdID,* Record;

Regards

Anand

Not applicable
Author

assign.pnglocation.pngopening hours.pngproduct.pngProductgroups.pngsales.png

Hi hello

My Actual DATA which is shown Above is like this .From this i want the output like this

original.png

Please help me this

Thanks in Advance