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 / Odata filter in datave...
Power Automate
Unanswered

Odata filter in dataverse connector not working properly

(0) ShareShare
ReportReport
Posted on by 26

Hi guys,

Created a flow which checks a couple of values in Dynamics records. This works perfectly except for that i'm getting the wrong records. Typeplan codes shows me a record which has typeplan code of 425360002. Any idea why this is? I'm thinking something is wrong in my OR but i'm not sure why.

 

thank you in advance

 

bx_type eq 425360002 and statuscode eq 1 and enddate gt @{addToTime(utcNow(), 30, 'day', 'yyyy-MM-dd')} and enddate lt @{addToTime(utcNow(), 31, 'day', 'yyyy-MM-dd')} and (bx_typeplan ne 425360000 or bx_typeplan ne 425360001 or bx_typeplan ne 425360002 or bx_typeplan ne 425360004)

 

 

Categories:
I have the same question (0)
  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    It is probably because your query checks right at the beginning if "bx_type eq 425360002".

    I guess you want to have "bx_type ne 425360002" instead as in the rest of your query.

  • dpjatoch Profile Picture
    26 on at

    Thank you for your reply,

     

    They are both different fields, the number is equal because this is our dataverse "standard".

     

    I have managed to solve the problem now by adding EQ : everything i want to see. It's ugly, but it works. still weird that NE doesnt work.

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard