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: 
Gang
Contributor II
Contributor II

Dates in Fact table

Hi ,

I have 3 fact tables out of it 2 tables has dates in it. Am trying to create a canonical dates for it. Unfortunately am landing up in circular reference.  Please find the sample below

Gang_1-1669642614863.png

 

Gang_0-1669642554284.png

 

Labels (3)
1 Solution

Accepted Solutions
Or
MVP
MVP

Your issue is that your three fact tables are connected to each other, which is creating a circular reference (though you knew that already) - you need to re-work your schema so this isn't the case, most commonly by using a single key for all three.

If you have QlikView or can download the Personal Edition of it, Rob's post here has a QVW demonstrating this: https://community.qlik.com/t5/QlikView-Documents/Linking-to-two-or-more-dates/ta-p/1495322

I don't think you can set up what you're trying to do while also maintaining three separate tables linked to each other with separate keys, so you'll have to address that basic issue somehow.

View solution in original post

3 Replies
Or
MVP
MVP

Have a look at Henric's post here, specifically the second part:

https://community.qlik.com/t5/Design/Canonical-Date/ba-p/1463578

Gang
Contributor II
Contributor II
Author

That's how I created this canonical date but still no luck. 

Or
MVP
MVP

Your issue is that your three fact tables are connected to each other, which is creating a circular reference (though you knew that already) - you need to re-work your schema so this isn't the case, most commonly by using a single key for all three.

If you have QlikView or can download the Personal Edition of it, Rob's post here has a QVW demonstrating this: https://community.qlik.com/t5/QlikView-Documents/Linking-to-two-or-more-dates/ta-p/1495322

I don't think you can set up what you're trying to do while also maintaining three separate tables linked to each other with separate keys, so you'll have to address that basic issue somehow.