Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple Fact Multi Grain Modelling

Hello All,

I have a strange requirement for which I am working on the data model. Here is the brief of requirement:

I have 2 facts both are at different granularity.

Sales Fact--Has Mnth,Product,Store

Budget Fact-Has only Mnth and Store

When a straight table is created with Store,Product and Date my user would like to see same budget across all the products but shouldn't aggregate at higher level as it leads to sum up of same value multiple times:

StoreNameYearPGProductSUM(SaleQty)SUM(BudgetQty)
1911
Store A2013PG1Product A611
Store A2013PG1Product B711
Store A2013PG2Product C65

In the above example my user expects to see budget qty 11 instead of 5 because budget qty for Store A in 2013 is 11, but the problem here is Product C wasn't sold in one of the month.

I have attached an example for better understanding.

Thanks in advance.

Mc

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

2 Replies
hic
Former Employee
Former Employee

Not applicable
Author

Thank you once again Henric Cronström