Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Replace all values in collection at once

(0) ShareShare
ReportReport
Posted on by 178

Hi Team,

 

I have a collection with multiple columns.

 

I would like to replace/substitute all values in a particular column.

 

Example column Color replace all spaces with a "_".

 

Any help is greatly appreciated.

 

thanks

 

  • Verified answer
    timl Profile Picture
    timl 34,370 on at
    Re: Replace all values in collection at once

    Hi @christian12 

    This is the syntax that you can use:

    UpdateIf(colYourCollection, 
     true, 
     {Color: Substitute(Color, " ", "_")}
    )

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard