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 Automate / How to replace Column ...
Power Automate
Suggested Answer

How to replace Column name with single quote in power Automate

(2) ShareShare
ReportReport
Posted on by 26
I have a column header name Yesterday_s_Deficiency .How can I replace that column with Yesterday's Deficiency in my Power Automate flow by using replace expression.
 
Please suggest?
 
Categories:
I have the same question (0)
  • Suggested answer
    AnthonyAmador Profile Picture
    2,553 Moderator on at
    Hi, 
     
    If your question is about how to use the replace expression, here is a video that explains it very well: https://www.youtube.com/watch?v=7g0z48hGuS0

    If you want to replace a column title in a table, we will need more context to help you. 

    Hope this help. 
    Anthony. 

     
  • Suggested answer
    AnthonyAmador Profile Picture
    2,553 Moderator on at
    Hi,

    After reading it again, I understood your question. You have to set the expression like this to add the apostrophe:
     
    replace(dynamicContent,'Yesterday_s_Deficiency','Yesterday''s Deficiency')
    Basically, you have to use two single quotes where the apostrophe/quote is in your word.

    Hope this helps.
    Anthony
  • vijaya9090 Profile Picture
    26 on at
    I have a column header name Yesterday_s_Deficiency I want to relace that with new text(Yesterday's Deficiency) in my output CSV file.
     
    Tell me know what context do you need?
     
    As of right now I am using replace(output('Compose ),'Yesterday_s_Deficiency', 'Yesterdays Deficiency')'
     
    But the new text should be Yesterday's Deficiency. 
  • vijaya9090 Profile Picture
    26 on at
    Yes,that is write.I am going to try that.
  • AnthonyAmador Profile Picture
    2,553 Moderator on at
    You have to use two single quotes '' not double quotes ", let me know if that works for you!
  • vijaya9090 Profile Picture
    26 on at
    It worked for me. Thankyou Amador!
  • AnthonyAmador Profile Picture
    2,553 Moderator on at
    Great! Please mark the answer as verified so other users with the same question can find it more easily!

    Best. 
    Anthony!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard