Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create a set analysis for different aggregations Drill down dimension using flag

I have a calendar and inventory details (Sales, Purchases). I have created the data model and now I am trying to calculate Average Inventory, which will be based on a drill down dimension of years-> Month.

Average Inventory for Year = Inventory end of Each month (1-12)/ Number of months based on the date flag (Is_MonthEnd_Flag).

But when I drill down to the year which would display all months, it should display actual inventory at the end of the month.

Any idea how this can be achieved using set analysis?

What would my expression look like?

1 Reply
sunny_talwar

Seems like its the same requirement as this:How to create set analysis for drill down dimensions, is that correct?