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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.