Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I have a daily data source file that requires accessing, however each the name of the source file itself is different with a new datetime stamp appended at the end:
For example each the file has the following name followed by the YYYY-MM-DD-HH-MM-SS:
DELIVERY ADDRESS & TYPE PP32024-02-04-14-25-00
DELIVERY ADDRESS & TYPE PP32024-02-05-14-25-08
DELIVERY ADDRESS & TYPE PP32024-02-06-14-25-07
Is there a way of using a "contains" to reference the first part of the source file so that it is dynamic for all future files?
If so, how do I write this code?
Thanks!
Thanks Amit. However, this didn't seem to work for the text.contains function or I was doing it wrong.. As it is a cumulative file of records I found another solution which works and allows the new file to replace the previous day's one without explicit reference.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 68 | |
| 57 | |
| 42 | |
| 42 | |
| 30 |