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

 

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,760)