I have a folder table and I used to create a file name by combining the values of the INVOICE_ID, INVOICE_DATE, and CUSTOMER_NAME columns from the invoice table. The TEXT function is used to format the INVOIC_DATE as "YYYY.MM.DD". However, instead of generating the correct string, the resulting file name contains a "-" instead of a "#".
CONCATENATE([INVOICE_ID],
"_",
TEXT([INVOICE_DATE] , "YYYY.MM.DD"),
"#",
[CUSTOMER_ID].[CUSTOMER_NAME])
FT-221212-96599F68_2022.12.12#ATLAS.pdf
FT-221212-96599F68_2022.12.12-ATLAS.pdf
Any help is appreciated in extracting the Customer name from the generated filename.
Solved! Go to Solution.
File names may not include a hash character (#).
Instead of hash, use underscore (_), then use this to get the username:
INDEX(SPLIT([Filename], "_"), 3)
User | Count |
---|---|
17 | |
11 | |
7 | |
3 | |
2 |