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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
alexandernatale
Creator II
Creator II

Snowflake scheme and circular reference

Hello everybody, I have a problem that I can't solve. I have the main data set which is the daily stock of the warehouse. The single points are the daily stock while the solid line is the minimum stock. The minimum stock is calculated as the average consumption of the reference month of the previous year multiplied for 7 (internal convention) I have the following tables:

[MasterCalendar]:

| Date | MonthAbbr | Month | Day | DayAbbr | Trim | Quarter | DaysMonth | Year |

In DaysMonth it's indicated the number of day for a derminated

 

[DailyWarehouse]:

| Date | Location | Type | Value |

 

[HistoricalConsumption]:

| District | Month | Year | Consumption |

 

[LocationDistrict]:

| Location | District |

 

Can anyone give me some advice on how to structure the snowflake scheme? Thanks so much!

0 Replies