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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
monojchakrab
Resolver III
Resolver III

bulk replace

Hi good people of PBI community,

 

I have read thru and used most of these solutions but none of them seems to work when the text to replace contains multiple strings - e.g. navi mumbai by mumbai & when there are case mismatches.

 

Is there a comprehensive solution which addresses both these issues?

 

Any help appreciated

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @monojchakrab,

I think you can split the string into a variable list and loop its items to check and exclude matched elements, then you can use concatenate function to merge remains items to achieve your requirement.

Can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

HI @monojchakrab,

I think you can split the string into a variable list and loop its items to check and exclude matched elements, then you can use concatenate function to merge remains items to achieve your requirement.

Can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Thanks @Anonymous ,

 

will try out your solution

monojchakrab
Resolver III
Resolver III

Yes @jaipal ,

 

That seems to be one way of doing that but there is another more elegant way and that is to use this function :

comparer.cardinalignorecase - I saw this function used to success in one of the blogs.

 

jaipal
Resolver III
Resolver III

@monojchakrab as long as I understand your question, I would suggest to change all the cases to "lowercases" and replace values. This may helpful

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.