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 Automate / filter rows with apost...
Power Automate
Answered

filter rows with apostrophe

(1) ShareShare
ReportReport
Posted on by 93

Hi,

 

I have this behavior when try to filter rows from dataverse.

 

MarianoZuniga05_0-1694035984093.png

 I got this error

MarianoZuniga05_1-1694036013074.png

 the value is PEP'S DIPLOMATIC CAREER and in the Dataverse exist whit that name

 

Any idea to fix that ?

 

Thanks for your help

 

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Hi @MarianoZuniga05 ,

     

    I think you are going to need to refer to the column name, not the Display name.  Here's an example:

     

    trice602_0-1694036661491.png

     

    How to find column name?  Go into your table at Power Apps, click into relevant table and then find your column.

     

     

  • Marianoz0503 Profile Picture
    93 on at

    Hi @trice602 the column name is correct

     

    MarianoZuniga05_0-1694037604097.png

    I am trying to get the specific row in that table and I used that filter column.
    I need the row when the 'Nombre t24' is equals 'PEP'S DIPLOMATIC'

  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Hi @MarianoZuniga05 ,

     

    Please add an extra apostrophe, my test was successful.

     

    trice602_0-1694038990896.png

     

    trice602_1-1694039033828.png

     

     

     

  • Marianoz0503 Profile Picture
    93 on at

    But I can't modified the value in that way with hardcoded because the value is from other DataSource and in sometime the value has apostrophe or not

    MarianoZuniga05_0-1694039258346.png

     




  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Or???

    trice602_0-1694039590890.png

     

     

     

  • Marianoz0503 Profile Picture
    93 on at

    But the problem is  I need that action works for any value from this table. So I can't put in that way because it is able to receive any value from this list.

    MarianoZuniga05_0-1694039902508.png


    For example:

     

    in this case the expression works fine

     

    MarianoZuniga05_1-1694040095649.png

     

    The issue is when the value is  'PEP'S DIPLOMATIC'

  • Verified answer
    Marianoz0503 Profile Picture
    93 on at

    I fixed the issue with this function 

     

    rs_nombret24 eq 'replace(items('Apply_to_each')?['ib_profesion'],'''','''''')'

     

    MarianoZuniga05_0-1694112130425.png

     

    Refer to this

    https://tomriha.com/how-to-use-string-with-apostrophe-in-power-automate-filter-query/

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard