Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Running Totals using Calcualted Column

Hi,

 

Need to calcualte the Running Total using Calcualted Column with Condition. Need Running total at each product Level using Calculated Column.

 

https://drive.google.com/file/d/1T5TinzmLCU5SzM44yZXjymQ9Du8F5-VK/view?usp=sharing

 

REgards,

  • Hi Anonymous ,

    It seems that the formula of Nick_M should be helpful.

    Have you solved your problem?

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

    If you still need help, please share your desired output.

    Best  Regards,

    Cherry

     

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    the following will work as a calculated column:

    Column = 
    Var __CurrentProduct= '4'[Product]
    Var __CurrentDate ='4'[Date]
    RETURN
    
    CALCULATE(
        SUM( '4'[Project]),
        FILTER(
            '4',
            '4'[Product] = __CurrentProduct
            && 
            __CurrentDate >= '4'[Date]
        )
    )
  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi Anonymous ,

    It seems that the formula of Nick_M should be helpful.

    Have you solved your problem?

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

    If you still need help, please share your desired output.

    Best  Regards,

    Cherry