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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Amardeep100115
Post Prodigy
Post Prodigy

How to replace row /perticuler cell value from column

Hi,

 

I have a teble from which i want to replace a cell value with new one, let say 

a raplace with B

C raplace with D

 

i have a table with those details where old and new 

please help me how we can do this with query editor

 

Thanks

AB
1 ACCEPTED SOLUTION

HI  @Amardeep100115 

If so, you could try this simple way to get it:

Basic data:

4.JPG5.JPG

 

Step1:

Merge table with that replacedetail table

6.JPG

 

Step2:

Expand the column

7.JPG

 

Step3:

Add a custom comndition column

8.JPG

9.JPG

 

Step4:

Now remove Type and After column, Rename this new custom column:

10.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

Community Support Team _ Lin
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
Pragati11
Super User
Super User

Hi @Amardeep100115 

 

In query editor, right click on your cell value and select "Replace Values".

If multiple replacements are required, right click on your column and select "Replace Values".

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

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

i have saperate table with Old and new value and i want them need to be in another table's cell where old value have to be replaced with new one
AB

HI  @Amardeep100115 

If so, you could try this simple way to get it:

Basic data:

4.JPG5.JPG

 

Step1:

Merge table with that replacedetail table

6.JPG

 

Step2:

Expand the column

7.JPG

 

Step3:

Add a custom comndition column

8.JPG

9.JPG

 

Step4:

Now remove Type and After column, Rename this new custom column:

10.JPG

 

and here is sample pbix file, please try it.

 

Regards,

Lin

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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