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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
RobinTMavhu
Contributor III
Contributor III

Canonical & Master Calendar

I have tried but seems my Master calendar just wont work for my 2 variables i.e. Purchases and Usage. I have attached the application it would appear my graphs are showing incorrect calculations. I would appreciate someone who can fix and share an updated file.

Labels (2)
1 Solution

Accepted Solutions
rafaelencinas
Partner - Creator II
Partner - Creator II

Hi @RobinTMavhu ,

In your case you have to make some changes in your model :

If you want to compare "Usage with Inventories" , one of this Tables must be connected directly with Mastercalendar, 

In your model actualy, when you filter a date, filter all possible materials, no matter the date of usage or inventory, because the key is "Material".

 

Solution 1:

- Create a Linked Table with Dates and Materials creating a single key to link Usage and Inventoryes

 

Solution 2

- Concatenate usage and Inventory, creating commom fields to filter your data correctly.

 

Bye.

 

 

Senior Qlik Architect
Cobra, Stallone, "You're a problem and I'm the solution"

View solution in original post

2 Replies
rafaelencinas
Partner - Creator II
Partner - Creator II

Hi @RobinTMavhu ,

In your case you have to make some changes in your model :

If you want to compare "Usage with Inventories" , one of this Tables must be connected directly with Mastercalendar, 

In your model actualy, when you filter a date, filter all possible materials, no matter the date of usage or inventory, because the key is "Material".

 

Solution 1:

- Create a Linked Table with Dates and Materials creating a single key to link Usage and Inventoryes

 

Solution 2

- Concatenate usage and Inventory, creating commom fields to filter your data correctly.

 

Bye.

 

 

Senior Qlik Architect
Cobra, Stallone, "You're a problem and I'm the solution"
marksouzacosta

Hi @RobinTMavhu,

There are two great articles that may help you to figure that out:

Calendars - Qlik Community - 1496392

Canonical Date - Qlik Community - 1463578

Both from our master @hic.

 

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com