Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Calculated Column - Calculation to Sum based on Date

Hi Experts

 

Need a calculated column calculation to sum based on dates ( i have sales for the same date) and then divide Amount by Rate values

See sample Data

 

MonthAmountRate
01/02/2018410.0039475.00
01/02/2018505.0089704.00
01/02/2018458.00122174.00
01/02/2018818.0023857.00
01/02/2018410.0080644.00
01/03/2018525.0036850.00
01/03/2018458.0027825.00
01/03/2018718.00134855.00
01/03/2018410.0025143.00
01/03/2018525.0019537.00
01/03/2018967.00113036.00
01/03/20181369.0072727.00
01/04/20181138.0088718.00
01/04/20181325.00148039.00
01/04/2018926.0025400.00
01/04/2018162.00141660.00
01/04/2018125.0056406.00
01/04/2018530.0033250.00
  • Anonymous 

    Please try this New Column: 

    New Column = 
    DIVIDE(
        Table3[Amount],
        CALCULATE(
            SUM(Table3[Amount]),
            ALLEXCEPT(Table3,Table3[Month] )
        )
    )

     



  • Anonymous's avatar
    Anonymous
    5 years ago

    many thanks

2 Replies

  • Anonymous 

    Please try this New Column: 

    New Column = 
    DIVIDE(
        Table3[Amount],
        CALCULATE(
            SUM(Table3[Amount]),
            ALLEXCEPT(Table3,Table3[Month] )
        )
    )

     



    • Anonymous's avatar
      Anonymous
      Not applicable

      many thanks