Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
polinab
Regular Visitor

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 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@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) ) )

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@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) ) )

Thank you Amit,

allselected  worked for me

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.