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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Novice_
Frequent Visitor

How to perform multiple replacements of different values but with one value

I have read a few posts about the same but I'm finding it difficult to work. How do I replace multiple values of the same content but each written in different font and style with one value? 

 

Please refer to the folllowing table for the problem:

 

Amino 1
AmIN One
AMEN ONE
AMINO one
Amen-1

 

I want to replace all these values with just Amen-1. How do I do this without having to use Replace Values for every single value in M script/Power Query Editor?

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Novice_ ,

Just change the parameter about the replace query like this:

= Table.ReplaceValue(#"Changed Type",each [Column1],"Amen-1",Replacer.ReplaceText,{"Column1"})

1.png2.png

 

Best Regards,
Community Support Team _ Yingjie Li
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-yingjl
Community Support
Community Support

Hi @Novice_ ,

Just change the parameter about the replace query like this:

= Table.ReplaceValue(#"Changed Type",each [Column1],"Amen-1",Replacer.ReplaceText,{"Column1"})

1.png2.png

 

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

ERD
Community Champion
Community Champion

Hi @Novice_ ,

This article might help you: Fuzzy Matching in Power BI and Power Query; Match based on Similarity Threshold .

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

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

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

mahoneypat
Microsoft Employee
Microsoft Employee

Creating a Groups column is one easy way to handle this on the DAX side after your data are loaded.

Use grouping and binning in Power BI Desktop - Power BI | Microsoft Docs

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.