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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
dafnis14
Specialist
Specialist

How to link 2 Fact tables that share Hierarchy and a key

Hi,

After exploring numerous blogs and discussions (like the one below)

https://community.qlik.com/message/547634#547634

I still couldn't figure out a solution for my issue..

I have a balanced  Hierarchy:

Delivery > Offer >Item

Hierarchy.png

One fact table (Deliveries) is link to the highest level (DeliveryID) and one (Customer Returns) to the lowest (Key_Delivery_Offer_Item).

Facts_Link_to_Dimensions.png

For both I need to sum by the item level which is working fine:

Metrics_Delivered_Returned.png

But when I add the customer key, I get a circular reference:

Circular_in_hierarchy.png

I think Generic Key or concatenation is not a solution because I need all the hiearchy levels for both fact tables.

Any idea how to handle this?

Thanks!

40 Replies
dafnis14
Specialist
Specialist
Author

Ok,, 🙂