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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard