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

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

Reply
SilvioLunaPBI
Frequent Visitor

Complete whit the last nonblank value (measure)

Hello all,

 

I need to be able to do this and I don't know how, fill in blanks with the last value that is not blank. 

 

example file: https://drive.google.com/file/d/1LnFY7i6GLjyTI3uPs_H7PxWNK0PKoLL2/view?usp=sharing

 

SilvioLunaPBI_1-1630957573438.png

 

Regards,

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

create a date table and mark it as date table

wdx223_Daniel_0-1630976097512.png

 

View solution in original post

3 REPLIES 3
SilvioLunaPBI
Frequent Visitor

Hello, @wdx223_Daniel  First of all, thank you!

 

The fields ending in "A" are the ones calculated with the code you made. But when doing the calculation grouped by country, it does not use the last values of each customer. Is it possible to do so?

 

SilvioLunaPBI_0-1631122038835.png

 

Tks!

SilvioLunaPBI
Frequent Visitor

Tks a lot!

wdx223_Daniel
Super User
Super User

create a date table and mark it as date table

wdx223_Daniel_0-1630976097512.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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