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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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