cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
erhan_79
Post Prodigy
Post Prodigy

Sum of Before Actual Month

Hi there ;

 

i have a table as below ; 

 

İ would like to create a measure which calculates sum of Amount , based on the delivery date . System will calculate amounts based on before actual month delivery dates.

As you see below there are 3 orders which has delivery  date before then actual month (February 2021, marked yellow ) ,  calculation will not care order4 and order5 because their delivery date is on  february 2021 or  later .So i would like to get result sum of Order1,Order2,Order3 =  600 

 

thanks in advance 

 

Capture.JPG

 

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@erhan_79 , Try a measure

calculate(sum(Table[Amount]) , filter(Table, Table[Delivery Date] <eomonth(today(),-1)+1))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@erhan_79 , Try a measure

calculate(sum(Table[Amount]) , filter(Table, Table[Delivery Date] <eomonth(today(),-1)+1))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors