Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Getting just the file name and not extention.

I have a flow that I have created that when a new file is created in dropbox, I have it converted to an Excel file.  All works great, except I can't figure how to get just the file name and not the ".csv" part of the file.


Screen Shot 2021-04-08 at 3.56.47 PM.png


This is how the flow looks.


Screen Shot 2021-04-08 at 3.56.43 PM.png


Thank you for your help.





Super User
Super User

Like this:


Expression I used:

substring(outputs('fileName'), 0,indexOf(outputs('fileName'), '.'))

you will need to change outputs('fileName') to suit your flow. It just grabs everything from the filename up to the first period/fullstop.

Can you point me to someplace that I can learn how to change outputs('fileName') to suit my flow?  I'm not sure how to do that.



Helpful resources

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.

Users online (2,530)