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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
MajidShahzad
Frequent Visitor

Please help to show Actual Balance of previous day

MajidShahzad_0-1698059138446.png

also created  measure but its not working .

Measure = CALCULATE(SUM('TREASURY UPDATE'[Actual Balance]),DATEADD('TREASURY UPDATE'[Date],-1,DAY))
 
 

 

4 REPLIES 4
MajidShahzad
Frequent Visitor

Thanks its working now please extend your support .

Measure = CALCULATE(SUM('TREASURY UPDATE'[Actual Balance]), PREVIOUSDAY('TREASURY UPDATE'[Date]))

 

MajidShahzad_0-1698128898647.png

I am facing a problem that off days saturday and sunday its display blank data is there any solution to show last working day (friday) Data and don't  have saturday and sunday row in my sheet 

MajidShahzad_2-1698129767140.png

 

 

MajidShahzad_1-1698129158774.png

 

 

You should add a LASTNONBLANK filter:
Measure =
CALCULATE(
SUM('TREASURY UPDATE'[Actual Balance]),
LASTNONBLANK(''TREASURY UPDATE''[Date],
CALCULATE(SUM('TREASURY UPDATE'[Actual Balance]))
) )

Walter_W2022
Resolver II
Resolver II

Yes, agree with LaurensM03, why do not use PREVIOUSDAY function?
Measure = CALCULATE(SUM('TREASURY UPDATE'[Actual Balance]), PREVIOUSDAY('TREASURY UPDATE'[Date]))

LaurensM03
New Member

what is the error you are receiving? Also instead of the DATEADD function, you could use the PREVIOUSDAY function which is more simple to use 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.