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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JohnLerry
New Member

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 @JohnLerry ,

 

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

View solution in original post

2 REPLIES 2
JohnLerry
New Member

Thanks. It's working now 🙂

mussaenda
Super User
Super User

Hi @JohnLerry ,

 

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors