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 / Manually triger of fol...
Power Automate
Unanswered

Manually triger of follow - enter month and year

(0) ShareShare
ReportReport
Posted on by 113

Hello,

I need a flow in which the month and year are entered in the trigger, e.g. "September 2023" and then this information from the manual trigger is downloaded to "filter table" and only data from August 2023 is returned to me. I have the entire flow created, I only need the conversion expression text from the trigger to the date format yyyy-MM. There is a possibility?

Categories:
I have the same question (0)
  • Verified answer
    Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

     

    formatDateTime(
    	parseDateTime(
    		'September 2023',
    		'en-us'
    	),
    	'yyyy-MM'
    )

     

    returns '2023-09'

  • Sbsyx Profile Picture
    113 on at

    Thanks, It is do. But I have problem with date dowloand Excel. Flow dowloand ISO 8601 format, exacly this is YYYY-MM-DDThh:mm:ss±hh:mm. I try formula formatDateTime(item()?['ZakoÅ„czone'],'yyyy-MM') on dowloand column from table Excel . However, It still return full date on ISO 8601.

     

    I need to leave the date in the format yyyy-MM-dd in the excel table column.

    What do?

     

     

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    formatDateTime(item()?['Zakończone'],'yyyy-MM') returns year an month only (if item()?['Zakończone'] is a valid date string)

    Use formatDateTime(item()?['ZakoÅ„czone'],'yyyy-MM-dd') to get the whole date (without time)

  • Sbsyx Profile Picture
    113 on at

    The problem is that the array filter cannot compare the data from the column "Zakończone", it returns all rows instead of those expected from the trigger.

    I think that the automate cannot compare the full date with the shortened one because it throws an empty body, and I want to search by the shortened one when I enter the expression formatDateTime(item()?['Zakończone'],'yyyy-MM') while taking information from the table it downloads the full format anyway.

    Generally, the point of the flow is that after entering a date in the trigger, e.g. "September 2023", the automation sends me data from the table only from "September 2023". The entire automation sequence is complete. All I need is a solution for filtering by date without the day of the month.

     

    test.png

     

  • grantjenkins Profile Picture
    11,063 Moderator on at

    You should have this on the left side of your Filter array condition.

     

    formatDateTime(item()?['Zakończone'],'yyyy-MM')

     

    grantjenkins_0-1700661105860.png

  • Verified answer
    Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    You should not check for equality.

    Check "contains" instead, if you want to filter for date strings with your yyyy-MM formated date.

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