Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
As suggested here, rather than reading from a live .csv to obtain data, I am connected to a folder which will read a dated file, created each day.
Lets assume the filename is 'file_name_2023.08.23.csv'
There is a column on my table called Source.Name. This has this filename inside. I create a new column called Date, inside is this function (assume the 2 numbers match my filename).
Date = DATEVALUE(MID([Source.Name], 18, 10))
I get an error, saying "Cannot convert value '2023.08.23' of type Text to type Date.
This doesn't appear to make a lot of sense?
Solved! Go to Solution.
Thanks, that worked. I'm not sure if Power Query is a thing in the online version of PowerBI?
where "test" is the table name - replace "test" with your table name in the formula
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 56 | |
| 35 | |
| 18 | |
| 14 |