Forum Discussion

jacksonsong's avatar
jacksonsong
New Member
9 years ago

Cumulative Total

Hi All,

 

I am trying to create a measure to get the total pax to be the number in the final month when I select a range of months. I.e In this instant, the total pax column sould show "2415" for every purchase month so the % of total pax column will show a cumulative increase in % from the first month to 100% in the final month. Is there a measure for this?

 

 

Thanks all in advance!

 

 

5 Replies

  • You could try using

     

    Calculate(Sum(totalPax),

    Datesbetween(PurchaseDate, min(purchaseDate), max(PurchaseDate)))

    • jacksonsong's avatar
      jacksonsong
      New Member

      Hi Stharwani,

       

      Thanks for the response. When I put in the measure it was still showing the same numbers in the Sum pf Pax column. While I need it to show I.e "2415" for all purchase month as that would be the total at the end of the month range. Which will lead to the % of total pax measure calulate base on Sum of pax / Total Pax returning a cumulative increase in %.

       

      thanks