cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rejdy
Helper II
Helper II

Add zeros to file name (within Apply to each)

Hello guys, i need your help once again!

I have created a flow (see below) which takes answers and files uploaded from MS Forms form, renames it according to the answers and adds a number at the end in order to have it numbered in case of multiple documents - therefore Apply to each comes in. For now i have figured out how to add numbers, but not the format i want.

 

I would like to have the number with 3 digit format, therefore i need to add either one or two zeroes (003 or 010). I have found this article https://powerusers.microsoft.com/t5/Building-Flows/Add-Leading-Zero-s-on-Number-Input/m-p/189198, but cannot figure out how to incorporate the solution into my flow.

 

Could anyone help me?

 

THANKS in advance!

 

 

part 1part 1part 2part 2

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @Rejdy 

 

Use Format number action step. Set the format to custom and enter 000

 

image.png

 

The above will result 003.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @Rejdy 

 

Use Format number action step. Set the format to custom and enter 000

 

image.png

 

The above will result 003.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Thanks a lot @abm !

Worsk like a charm.

Excellent, thank you for sharing.

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,213)