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

Concatenate master detail fact tables

Hi

I have master detail fact tables. due to some reason I want to concatenate both of them in one table. I did this by using Concatenate command. the problem is CustomerID is present in all Master Rows and not in Detail rows. How to update CustomerID in all rows of a Order?

Regards

Rizwan

1 Solution

Accepted Solutions
salto
Specialist II
Specialist II

Hello Rizwan,

     I suppose you have a field that links both Master and Detail Rows.

     In such case, maybe a left join Master -> Detail can be a good option, instead of concatenating both facts table. Then every row (Master and Detail) will have the CustomerID field informed.

Hope this helps!

View solution in original post

3 Replies
salto
Specialist II
Specialist II

Hello Rizwan,

     I suppose you have a field that links both Master and Detail Rows.

     In such case, maybe a left join Master -> Detail can be a good option, instead of concatenating both facts table. Then every row (Master and Detail) will have the CustomerID field informed.

Hope this helps!

AbhijitBansode
Specialist
Specialist

Use Join instead on Concatenate

Not applicable
Author

Thanks to all

The issue is resolved with Left Join.