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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Calculated measure to fill in blank values from previous populated row for a given date range

Hi,

 

I have reached my DAX knowledge limit so without wasting more time, I'd like to see if someone solved the same or simlar measure.

 

Requirement:

I have an Event table (lets say Table1) and a Calendar table (Table2). I'd like to create a measure in Table1 that will populate the allocation for all blank dates in Table2 up until an allocation value changes. Picture a matrix visual... Drag the Id of Table1 and Date of Table2 in rows and the new [allocation measure] in values. Below is the desired result.

 

juanjpthomas_0-1633335824810.png

 

I tried some MIN date MAX date GROUP BY Id measures but either it's not possible or I'm not approaching this correct.

 

Any options/solutions for this?

 

Thanks,

J

 

1 REPLY 1
lbendlin
Super User
Super User

MAXX or LASTNONBLANKVALUE or similar should work for that.

 

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors