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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors