cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cllkaya
Frequent Visitor

If null replace with next cell

I would like to bring "lookupares.BS Code" value to "BS Code" column, if the "BS Code" column value is null. Coudl you help 

 

cllkaya_1-1631448982702.png

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @cllkaya ,

 

You may add a conditional column like

4.png

 

Then remove the original column and rename the new column

5.png6.png

 

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @cllkaya ,

 

You may add a conditional column like

4.png

 

Then remove the original column and rename the new column

5.png6.png

 

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

cllkaya
Frequent Visitor

Expression.Error: The import preceding step matches no exports. Did you miss a module reference?

 

I must miss a very basic thing, code gives an error message above

CNENFRNL
Community Champion
Community Champion

= Table.ReplaceValue(#"preceding step", each [BS Code], each if [BS Code] is null then [lookupares.BS Code] else [BS Code], Replacer.ReplaceValue, {"BS Code"})

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.