Forum Discussion

polinab's avatar
polinab
Regular Visitor
2 years ago
Solved

sum calculatin using filter and all functions

Hi,

Having table below I need calculate total sum after certain time id (10/15/2023 in example) and present it in each cell as following.

using filter(Time ID > 10/15/2023) and then all(Time ID) doesnt work 

Please help

 

Time IDCOMPLETED_PER_WEEKCompleted Effort Sum using filterNeed to present
7/30/20233.43  
8/6/20239.63  
8/13/20231.15  
8/20/20232.23  
8/27/20230.5  
9/3/20235.48  
9/10/20230.63  
9/17/20230  
9/24/20232.28  
10/1/20232.42  
10/8/20233.29  
10/15/20231.361.3624.24
10/22/20238.2458.24524.24
10/29/20237.697.6924.24
11/5/20235.795.7924.24
11/12/20230.9550.95524.24
11/14/20230.20.224.24
Total55.2824.24 
  • polinab , Based on what I got

    Assume Completed  is column we need sum

     

    Calculate(Sum(Table[Completed]) , filter(allselected(Table), Table[Time] > Date(2023,11,15) ) )

2 Replies

  • polinab , Based on what I got

    Assume Completed  is column we need sum

     

    Calculate(Sum(Table[Completed]) , filter(allselected(Table), Table[Time] > Date(2023,11,15) ) )

    • polinab's avatar
      polinab
      Regular Visitor

      Thank you Amit,

      allselected  worked for me