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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
yodha
Helper IV
Helper IV

Power Query help

Hi, 

Am trying to replace table 1 values with table 2 using power query but am getting error, can anyone help me please?

 

Capture 1.PNG

Condition to replace : in all the false cases (APP, CType, Tag

) of "sample" and "change" from table 1 should  replace with table 2 "sample" and "change" values where Type = Latest.

Thanks in Advance!

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Hi @yodha ,

 

I believe your sintax is not correct, there are 2 "each" on it.

Check this link: https://docs.microsoft.com/pt-br/powerquery-m/table-replacevalue

 

Also avoid the variables name like "Name One_".

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

2 REPLIES 2
camargos88
Community Champion
Community Champion

Hi @yodha ,

 

I believe your sintax is not correct, there are 2 "each" on it.

Check this link: https://docs.microsoft.com/pt-br/powerquery-m/table-replacevalue

 

Also avoid the variables name like "Name One_".

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Pragati11
Super User
Super User

Hi @yodha ,

 

Please refer the operators list that can be used in power query in power BI.

https://docs.microsoft.com/en-us/powerquery-m/operators

 

You are using "and" in your query, which sjould be replaced with "&".

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.