cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chipper
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.

 

chipper

 

 

2 REPLIES 2
Paulie78
Super User
Super User

Like this:

2021-04-09_08-33-20.png

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.

 

Chip

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.

Users online (2,184)