Forum Discussion

sprakash1192's avatar
sprakash1192
Helper II
6 years ago
Solved

Grouped Sum

I have a summarized table like this: Year ProdFacName Department Name Week Total_WCM_EUs 2020 Tyler WCM 29 563892.44 2020 Tyler WCM 30 589533.76   I would like to create a ...
  • v-kelly-msft's avatar
    v-kelly-msft
    6 years ago

    Hi  sprakash1192 ,

     

    Or you can use "earlier" function:

    Total = SUMX(FILTER('Table','Table'[Key]=EARLIER('Table'[Key])),'Table'[Total_WCM_EUs])

    And you will see:

    For the related .pbix file,pls see attached.

     

    Best Regards,
    Kelly
    Did I answer your question? Mark my post as a solution!