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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
puffc0rn
New Member

Get the Maximum Available date and the date before it.

Hi everyone! May I ask for your help guys? Thanks!

I have a scenario here wherein I need to compute for the 2 latest available in the column that I'll be using as my:
1. Beginning Value 
2. Ending Value

puffc0rn_0-1692169773685.png


Above image is showing that Aug 15 with the value of 194,581 is my latest available date, having said that, I need this 194,581 to be my Ending Value and Aug 14 225,936 to be my Beginning Value. So this logic has to be applied until the end of the month as the values change each day, meaning my Beginning and Ending values will change accordingly.

Note: This Ending_Test1 measure is filling the blank dates with the last non-blank value up to the next available date that has data.

Many Thanks!



1 REPLY 1
eliasayyy
Memorable Member
Memorable Member

hello why is 15 august your max date? do you mean by todays date? like today is 16 august and you need also the value of 15 august?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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