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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
xozelda11
Helper I
Helper I

How to calculate sum of cost by report date

Currently, I have january and february costs but I would like it to sum the latest date (February) totals instead of year to date totals. 

 

Command I tried are:

CALCULATE(sum('FACT Cost'[Cost]), 'FACT Cost'[Report Date] = "2/1/2023")
Sum('FACT Cost'[Cost])
1 REPLY 1
Wilson_
Super User
Super User

Hello,

 

Please check out Greg Deckler's super useful post on how to get your question answered quickly and provide further information accordingly. More than happy to help, given enough information. 😄




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.