Forum Discussion

Jazz_MT's avatar
Jazz_MT
Frequent Visitor
7 years ago

Calculating Utilisation Rate

Hi All,

 

I am trying to calculate a utilisation rate which has the following formulate:

Utilisation  = Days Rented/Available Days

image.png

 

 

 

What I am finding funny is that for each individual year, month and room no the Utilisaiton rate is correct as per the above screenshot but then for the Total it is Incorrect as it is not summing the Available Days Correctly. Can anyone help out here ? 

 

Thanks,

Jake

 

11 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    I'm having trouble viewing the image you tried to attach. Could you try including it again?

  • Jazz_MT cannot see the images, I assume these are measures you created. Do you have put any condition in the measure. Can you provide more details?

    • Jazz_MT's avatar
      Jazz_MT
      Frequent Visitor

      HI All, 

       

      Attaching the Image 

       

       

      The only measure I created for is Utilisation the others are pulling the data Directly from Tables. 

       

      J

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        It looks like the "Available Days" column is aggregating incorrectly. I plugged some of the sample data into an excel workbook at the grain I see in this table:

         

        I then just used your model for Utilization: 

         

        Utilization = SUM(Sheet1[Days Rented]) / SUM(Sheet1[Available Days])
         
        When I put all of this in a table, it looks correct on my end:
         
         
        You can see in the image you provided that your Available Days only sums to 365, which is why your % value is so large. Is your data structured differently than what I provided above? Fixing how that value is summed is going to be the trick here I think.