Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dafnis14
Specialist
Specialist

Dimensional Hierarchy & different fact levels

Hi,

In the attached model I have a dimensional hierarchy in a flat table (Delivery_Offer_Item).

Delivery > Offer > Item

the 2 facts tables are linked to it with different fields and to different levels.

The request is to be able to display a delivered or returned item per customer.

Data_Model.png

I would like to concatenate the 2 fact tables but i receive a synthetic key.

Syntetic_Key.png

My question is which is the right way to handle it.

Should I outer join the items in the dimension to Customer_Deliveries ?

In reality, the The Customer Deliveries have tens of millions of records of deliveries only.

I would appreciate very  much your help here.

Thanks!

11 Replies
dafnis14
Specialist
Specialist
Author

Hi Andrew,

oops.. didn't notice 😞

I won't be able to find the solution requested, I will mark it as correct 🙂

Thanks a lot for your kind help !

dafnis14
Specialist
Specialist
Author

Dear Andrew,

I tried your solution, but the problem is that it probably doesn't take into account the need to show the returned items by a customer.

So I ended up with another synthetic key..

Any idea how to resolve this?

Thank you!

Synt._Key_2.png