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 / Dynamic Calender Selec...
Power Automate
Unanswered

Dynamic Calender Selector (I challenge you to try)

(0) ShareShare
ReportReport
Posted on by 141

Hi, 

 

This is a challenging one. I have a program which is 1/1 exclusive to our company and I need help to try create an AI automation which selects the dates based of a user input. E.g. user input = January, 01, 2023 to January, 31, 2023. This Input will trigger the automation to select these specific dates in the program. In theory id ideally like to enter any dates (Any years as well) and the automation selects the correct dates.

 

At the moment all I can think of is creating 12 'If' bases (Based of each month) (only for one year). And the Input variable triggers one of the 12 'If' to click a specific location(s) in the window of the program. I feel someone may have some idea out there that is better than mine so I thought id share this. I have an image for reference of the style of calendars we have in the program. The left box is the first date input and the second is the second date input (The 'to' date). 

Calender select.jpg

 

Any responses id appreciate. Thankyou!

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @jkingno1 

     

    I have tried simmilar kind of problem using other RPA tools.

     

    The logic i have used is.

     

    1. Extract the month and year details from date we need to select.

     

    2.  Now open the calendar dialog, check what is the current month and year provided there, check whether they are higher or lower than given date, if same select the date 

     

    if higher than given date, click left side arrow to move backwards, until u get the desired month year

    if lower than give date, click right side arrow to move forward until u get desired month year,

     

    Then select date.

     

    Hope the logic helps !

     

  • Jdelavega Profile Picture
    106 on at

    Hi @jkingno1 

     

    Excuse me, my code is in Spanish. I hope you can understand it.

     

    First, the month to be analyzed is transformed from a number to a date for its later use.

     

    Jdelavega_0-1683322494324.png

     

    Then, the month in letters is obtained from the calendar and compared with what was obtained in the previous step. In case of a match, it will select the chosen date. If it doesn't match, it will move the arrow to the right, moving on to the next month and restarting the evaluation.

     

    Jdelavega_2-1683322636892.png

     

    Let me know if this was helpful!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard