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 / Dataverse List Rows oD...
Power Automate
Answered

Dataverse List Rows oData filter not working with Variable, only explicit

(0) ShareShare
ReportReport
Posted on by 32

Hi, 

 

I have 2 tables; one is my Contacts table, the other is an External Data for requests.

 

I am trying to link the External Data to a Contact (each time a new row is added) via a flow. 

 

Contact (Unique ID)Email as Text (custom column)
Ruby TestRuby.Test@test.com
Amy SampleAmy.Sample@test.com
Jo MadeUpJo.Madeup@test.com

 

Request IDRequesterContact (Lookup)
A1234Ruby.Test@test.com 
A9876Ruby.Test@test.com 
A5873Jo.Madeup@test.com 

 

The flow looks at the Requester (email in a string format) from the External Data and then filters the Contacts table via the oData Filter in List Rows. 

 

Finally, I have a formula to extract the ContactID from the List Rows array that is returned and update the Contact Lookup field in my External Data. 

 

The issue

The issue is that the filter works when I explicitly type the email address (emailastext eq 'Ruby.Test@test.com'), however when I reference the Requester dynamically, the flow runs but nothing is returned through the filter. I get an error message at the very last step when trying to update the Contact (Lookup) field because the flow is trying to update the field with an empty value

 

This works

RubySmith11_0-1666148677859.png

 

RubySmith11_3-1666150651173.png

 

 

This does not work

RubySmith11_1-1666148731364.pngRubySmith11_2-1666148784165.png

 

RubySmith11_4-1666150691504.png

 

Any help greatly appreciated, thanks in advance!

Categories:
I have the same question (0)
  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @RubySmith11 ,

    Could you please tell me:

    1. Do you add record manually and enter [Request ID] first?

    Like this:

    vchengfenmsft_0-1666172771823.png

     

    At the time, Flow starts

     

    vchengfenmsft_1-1666172771845.png

    Now,In [List rows]'s Value, It is null

    vchengfenmsft_2-1666172771853.png

    Here is a test for your reference:

    [Note]:

    1. Manually updating records may occur. When you create a Request ID, the flow trigger is triggered, resulting in no [Requester] in the return value.
    2. Filter rows in [List rows], please use Logical Name for the column name.

     

    Here are table

    vchengfenmsft_3-1666172771857.png

     

    vchengfenmsft_4-1666172771860.png

     

     

    Find logicalName this way:

    vchengfenmsft_5-1666172771870.png

     

    Here is test:

    vchengfenmsft_6-1666172771881.png

     

    vchengfenmsft_7-1666172771888.png

     

     

    Best Regards

    Cheng Feng

     

  • Verified answer
    v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @RubySmith11 ,

    Could you please tell me:

    1. Do you add record manually and enter [Request ID] first?

    Like this:

    vchengfenmsft_0-1666172771823.png

     

    At the time, Flow starts

     

    vchengfenmsft_1-1666172771845.png

    Now,In [List rows]'s Value, It is null

    vchengfenmsft_2-1666172771853.png

    Here is a test for your reference:

    [Note]:

    1. Manually updating records may occur. When you create a Request ID, the flow trigger is triggered, resulting in no [Requester] in the return value.
    2. Filter rows in [List rows], please use Logical Name for the column name.

     

    Here are table

    vchengfenmsft_3-1666172771857.png

     

    vchengfenmsft_4-1666172771860.png

     

     

    Find logicalName this way:

    vchengfenmsft_5-1666172771870.png

     

    Here is test:

    vchengfenmsft_6-1666172771881.png

     

    vchengfenmsft_7-1666172771888.png

     

     

    Best Regards

    Cheng Feng

     

  • RubySmith11 Profile Picture
    32 on at

    Hi Chen Feng, 

     

    Thanks for your reply and assistance! 

     

    Thanks,

    Ruby

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard