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 / Need help with Get Ite...
Power Automate
Unanswered

Need help with Get Items filter query to retrieve entry with empty DateTime value

(0) ShareShare
ReportReport
Posted on by 427

Hello,
In my Sharepoint List I'm trying to retrieve this entry:

DJanssen_0-1705924174704.png

I need the extra AND condition for the Date released column to be empty because the following scenario can happen: 

Doc ReferenceDate released
ENOWA-WTD-ARC-BOQ-0101/22/2024
ENOWA-WTD-ARC-BOQ-0101/22/2024
ENOWA-WTD-ARC-BOQ-01 

So then my Get Items action will only return an array with the green entry.

 

I have tried the following:

DJanssen_3-1705924543970.png

 

But this gives a bad request:

String was not recognized as a valid DateTime. Creating query failed

Or:

DJanssen_2-1705924421046.png

The string was not recognized as a valid DateTime. There is an unknown word starting at index 0. Creating query failed.

Obviously this wouldn't work as it just sees null as a actual string.

 

Can somebody help me with this filter query?

Categories:
I have the same question (0)
  • Verified answer
    eliotcole Profile Picture
    4,363 Moderator on at

    Hi, @DJanssen, could you attempt something for me, please?

     

    Try tapping the opposing arrows above your conditions there, next to the 'Filter Query' key name.

     

    Once in there, remove the single quotes around the word 'null' and test again to see what happens. 🙂

  • eliotcole Profile Picture
    4,363 Moderator on at

    Yo, @DJanssen ... I noted your thumbs up ... thanks for that?!!

     

    This is not one of those 'If my answer helped, please Accept as Solution' things ... I don't rock that way 😅 ... I'm just curious if your thumbs up to my answer meant that this sorted you out. 🙂 🤔 🙂

  • DJanssen Profile Picture
    427 on at

    Oh hey @eliotcole ,

    My reply was not send it seems 😮 I tested out your solution and it worked haha. Will also credit your solution 🙂

  • eliotcole Profile Picture
    4,363 Moderator on at

    Lovely stuff! Hope that you're doing well ... keep playing with things!

     

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard