cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: Power Query help

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!
Ricardo

View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: Power Query help

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



Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂
Highlighted
Community Champion
Community Champion

Re: Power Query help

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!
Ricardo

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors