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 / Renaming Files by Quarter
Power Automate
Answered

Renaming Files by Quarter

(0) ShareShare
ReportReport
Posted on by 43

I want to rename files by quarter for example "2024.Q1 Combined Financials" using Power Automate Desktop. I am not able to rename by quarter in this way, only 2024.06.04 for the current date. Is there a way to include the quarter when naming the files?

Capture.PNG
Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Tomiy 

    There isn't a direct date format for quarters. You can indeed use the "MM" format to get the month and then map the month to the corresponding quarter using a variable.

     

  • Tomiy Profile Picture
    43 on at

    Thank you for your very timely response. Do you know how to map the month "MM" to a variable that will change as the date also changes? For example, if MM returns a value of 1, 2, or 3, I want it to read "Q1". 4, 5, and 6 would read "Q2". I appreciate your assistance. 

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Hope this helps @Tomiy 

    SudeepGhatakNZ_0-1717541220928.png

     

  • Tomiy Profile Picture
    43 on at

    Thank you, @SudeepGhatakNZ, your input is appreciated. Do you know how to do add "and" statement within the if conditional? I am able to write the first part, but I cannot find a way to add an "and" to the function for Q1. I am going to repeat this for the other quarters as well. I attached a screenshot of my flow for renaming the quarters by date.  

    Capture2.PNG
  • Tomiy Profile Picture
    43 on at

    I used the following syntax for the AND statement. I think this works. 

    Capture4.PNG

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Yes, that is correct.

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard