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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,359)