cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
astrontelstar
Helper III
Helper III

Todays date error in odata filter

Trying to pull all orders that are expected to arrive today.  Any idea why I get this error message?

astrontelstar_0-1617277105229.png

An unknown function with name 'dayOfYear' was found. This may also be a function import or a key lookup on a navigation property, which is not allowed.

1 REPLY 1
annajhaveri
Super User
Super User

@astrontelstar you need to provide the expression from the Dynamic Content -> Expression as shown in below screenshot

 

annajhaveri_0-1617292122179.png

 

Also are you comparing whole date like dd/mm/yyyy or just day of year? if you need to compare date then you need to use expression like 

formatDateTime(utcNow(),'yyyy/MM/dd')
Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,180)