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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Replacing values with Previous Non-error Value

I have here a sample table that has 2 columns: Timestamp & Demand. Unfortunately, some of the values of demand columns has a value of -3276.8 as shown below due to error in data collecting. However, I want to correct this by replacing this value to the latest preceeding value that is not -3276.8. I want this column to be added in power bi query editor. Need assistance on this. Thanks>

Current View in Power BI Query Editor.

JohnLerry_0-1712216405862.png

 

Expected Result:

JohnLerry_1-1712216583399.png

 

1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Hi @Anonymous ,

 

Hav you tried replacing the negative with null then fill down the column?

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks. It's working now 🙂

mussaenda
Super User
Super User

Hi @Anonymous ,

 

Hav you tried replacing the negative with null then fill down the column?

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.

Top Solution Authors