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 / Filter SQL Odata query...
Power Automate
Answered

Filter SQL Odata query with username

(0) ShareShare
ReportReport
Posted on by 56

Please I am trying to filter the based on the username of the person. There is a column “LocalUser” in the SQL table where usernames have been store. Now how do you filter where  Localuser equals UsernameFilter Odata with Username.JPG in power automate. I tried this but is not working; LocalUser eq User().Fullname

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @eka 

     

    We need to get the user first. Below you have an example in SharePoint (I don't have a SQL database set up to be able to show you) but the expression is exactly the same for your case.

     

    small-Screenshot_2019-12-19_at_10_00_31.jpg

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • eka Profile Picture
    56 on at

    I get an error. what field do I select on the get profile?. I left it blank an it did not work

    Capture5.JPG

  • Verified answer
    manuelstgomes Profile Picture
    6,625 on at

    Hi @eka 

     

    What's the error you get?

     

    Should work just like that. 

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • eka24 Profile Picture
    20,923 on at

    Thanks, it run after I put the display name in single quotes

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
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard