Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

ODATA FILTER QUERY

(0) ShareShare
ReportReport
Posted on by 20

Hi, I have flow but it gives me a bad request error on the get items. please see attached photo of my flow. Kindly let me know what is wrong with this flow. Thank you so much.Screenshot 2024-04-03 133353.pngScreenshot 2024-04-03 133416.png

  • Tmeneses Profile Picture
    20 on at
    Re: ODATA FILTER QUERY

    it's works now, thank you very much :)))))))))

    Tmeneses_2-1712199652819.png

     

  • Verified answer
    v-yueyun-msft Profile Picture
    on at
    Re: ODATA FILTER QUERY

    Hi , @Tmeneses 

    What's the code you put here?

    vyueyunmsft_0-1712199311134.png

    In your side , you need to put in my thought:
    item()?['CAR_x0023_0']

    item()?['Status']?['Value']

     

    Can you show me your screenshot , you put in this Create Html Table?

     

    Best Regards,

    Yueyun Zhang

  • Tmeneses Profile Picture
    20 on at
    Re: ODATA FILTER QUERY

    aplogies for so many questions.

  • Tmeneses Profile Picture
    20 on at
    Re: ODATA FILTER QUERY

    I followed your instructions to add custom column name. I received email looks below, the data for CAR # and current status is not provided.

    Tmeneses_0-1712199121091.pngTmeneses_1-1712199137922.png

     

  • v-yueyun-msft Profile Picture
    on at
    Re: ODATA FILTER QUERY

    Hi , @Tmeneses 

    If you want to custom column Name in your side , you can click this:

    vyueyunmsft_0-1712198812131.png

     

    item()?['ID']
     
    item()?['fieldName']
     
    You need to replace the fieldName in your side!!! How to find it , you need to see the output of your "Get items" action :
    vyueyunmsft_1-1712198811778.png

     

    So that you can just extract the column you need in html Table.

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • Tmeneses Profile Picture
    20 on at
    Re: ODATA FILTER QUERY

    Tmeneses_1-1712198573926.png

    When i run the data this is the email I received hehe.  the data is. 

    What if I only want to received table with the CAR# and Open Status details? What do I need

     

  • v-yueyun-msft Profile Picture
    on at
    Re: ODATA FILTER QUERY

    Hi , @Tmeneses 

    Your Select action parameter is wrong in your side. You do not need to use the Select action in your side . 

    In the above action, you can refer to this flow:

    vyueyunmsft_0-1712198248355.png

     

    If you want to custom column Name in your side , you can click this:

    vyueyunmsft_1-1712198356962.png

    item()?['ID']
     
    item()?['fieldName']
     
    You need to replace the fieldName in your side!!! How to find it , you need to see the output of your "Get items" action :
    vyueyunmsft_2-1712198429327.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • v-yueyun-msft Profile Picture
    on at
    Re: ODATA FILTER QUERY

    Hi , @Tmeneses 

    You can keep the balnk in your Filter query property and check if this flow can return data in your email.

    vyueyunmsft_0-1712198115523.png

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

     

     

     

  • Tmeneses Profile Picture
    20 on at
    Re: ODATA FILTER QUERY

    here's the result, run's flow failed and

    Tmeneses_0-1712197937145.png

    Tmeneses_1-1712198090321.png

    Thank you, 

     

  • v-yueyun-msft Profile Picture
    on at
    Re: ODATA FILTER QUERY

    Hi , @Tmeneses 

    The Filter Query is used to filter the data in SharePoint , if  you put the "CAR_x0023_0 eq null" in your filter query property.

    It will just return the [CAR_x0023_0]=null rows. But in your screenshot , there is no rows meet this condition.

    So you do not put anything in your side in the filter query property in my understand.

     

    Best Regards,

    Yueyun Zhang

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >