web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Manually triger of fol...
Power Automate
Answered

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,685 Super User 2026 Season 1 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,685 Super User 2026 Season 1 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,685 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard