web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / A solution for multi s...
Power Apps
Unanswered

A solution for multi substitute text using a table (collection) for character mapping

(0) ShareShare
ReportReport
Posted on by

pre: sorry for my english 😁

 

I had a problem that using json in utf-8, certain characters were not accepted. Since there is no "ready" solution, I tried to find one that was effective and maintainable over time.

 

in this case I used a table in dataverse (which I then load into collection) where in the column (origin) I put the character that I have to replace and in the destination column its corresponding

apellizzari_0-1666704245858.png

This is the formula i used :

Concat(Split(testo_ck.Text;"") As tb_tmp;If(Find(tb_tmp.Result;Concat(coll_sost;Origine;""))>0;LookUp(coll_sost;Origine=tb_tmp.Result).destinazione;tb_tmp.Result);""))

 

testo_ck.Text : is the text_label containg the original value to be converted

coll_sost: is the collection of the "translating" table

Origine: name of the colum containing the original value (to be sobstutited)

destinazione: name of the column containig the destination value 

 

hope could be useful for someone

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @apellizzari,

    Thanks for your sharing.

    I will mark here to close this case and solved status could help more users who may have the similar issue.

    Thanks for your contribution on Power Apps again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard