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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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