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 / How to Filter Data By ...
Power Automate
Suggested Answer

How to Filter Data By Year

(0) ShareShare
ReportReport
Posted on by 115
Hi,
 
I was wondering if you could filter by year. I have done by month before, but when I try "StartOfYear" it does not work... does anybody know the best course of action to filter by the start of the year until now?
 
My code I attached may be wrong because I based it off of the month filter, I made.
 
Thanks in advance.
 
Edit:
Someone stated that I had a space in the title of the column. I fixed it and it still had an issue. The AI helper stated this:
 
The error you're encountering is due to referencing the 'startOfYear' function, which is not defined or valid in the context of the 'Get_items_Report_Approved' action. To fix this, consider using a different function or ensuring that the correct function is being called for the date manipulation you intend to perform.
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,980 Super User 2025 Season 2 on at
    Your approach is correct, but I think there is a typo in your expression Query filters require that you use the internal name of the fields in the filter. In your screen shot, I see a space in the filter query for the Request Date. Internal names would never contain a space. You can get the internal name of a field by going into the list settings and opening the field. At the end of the URL will be the internal name. Use that in the filter.

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard