Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Quarter/month granularity-Generic key

‌Hi all, just wanted to get some advice on best approach to model some simple data that has some common fields (so will be building a single fact) but is at different granularity, i.e., some is Quarter level and some Month level.

Would using a link dimension with generic key be the best option, so something like

e.g.

Q1|Jan|Feb|Mar

or

Q1|Jan

Q2|Feb

Q3|Mar

Many thanks in advance!

2 Replies
Gysbert_Wassenaar

Create a calendar table instead that contains the dates, months, quarters and years. A month determines the quarter so there's no need to put both in a key.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi, thanks for the reply, if my data is like in the attachment, can I just ask how you would join to the Calendar dimension, would i use a composite key of Year&Quarter as join???

Thanks!Example Data.PNG