2 Replies Latest reply: Apr 19, 2016 4:14 AM by Sunny Talwar RSS

    How to create set analysis for drill down dimensions

      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?