Forum Discussion

dsl72's avatar
dsl72
Regular Visitor
8 years ago
Solved

Calculating utilization by month

I have one set of data with demand by group by month, and another showing capacity of each group by month (see examples of data below):   Demand: Group Date Demand A Jan 5 A Feb 4 ...
  • Zubair_Muhammad's avatar
    8 years ago

    dsl72

     

    One of the methods

     

    Go to Modelling Tab>>>NEW TABLE and enter this formula

     

    Table =
    SUMMARIZE (
        Capacity,
        Capacity[Group],
        "Jan", DIVIDE (
            CALCULATE ( SUM ( Demand[Demand] ), Demand[Date] = "Jan" ),
            SUM ( Capacity[Jan] )
        ),
        "Feb", DIVIDE (
            CALCULATE ( SUM ( Demand[Demand] ), Demand[Date] = "Feb" ),
            SUM ( Capacity[Feb] )
        ),
        "Mar", DIVIDE (
            CALCULATE ( SUM ( Demand[Demand] ), Demand[Date] = "Mar" ),
            SUM ( Capacity[Mar] )
        )
    )