cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yojie
Frequent Visitor

Create an Excel file with a defined filename with a dynamic suffix in Sharepoint doclib

Hi,

I have a flow that creates a monthly Excel report from a Sharepoint list to a Sharepoint document library. At the moment, my flow produces a dynamic filename using guid (as below). But what I really need is to have a defined filename like: Monthly Report As Of [dd-MMM-yyyy]. Where: Monthly Report As Of is constant and [dd-MMM-yyyy] will be dynamic based on the current Reporting month.

 

yojie_0-1632971248678.png yojie_1-1632971563664.png

 

Any suggestions on how I can accomplish this would be of great help! 🙂

 

Thank you in advance to whoever will respond to my query 🙂

 

1 ACCEPTED SOLUTION

Accepted Solutions
eric-cheng
Solution Sage
Solution Sage

Hi @yojie ,

 

You can use 

 

@concat('Monthly Report As Of ', formatDateTime(utcNow(),'dd-MMM-yyyy'), '.xlsx')

ericcheng_0-1632979687737.png

 

ericcheng_1-1632979703706.png

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

View solution in original post

1 REPLY 1
eric-cheng
Solution Sage
Solution Sage

Hi @yojie ,

 

You can use 

 

@concat('Monthly Report As Of ', formatDateTime(utcNow(),'dd-MMM-yyyy'), '.xlsx')

ericcheng_0-1632979687737.png

 

ericcheng_1-1632979703706.png

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,553)