Forum Discussion
Power Bi recognizing changing date for a file daily
- 5 years ago
Hi drivas771994 ,
You need to connect a folder, please refer the following steps.
1. Create a folder to put your file.
2. Then open Power BI Desktop, select Get date -> folder to connect the folder you create. You need to select Combine and Transform data.
3. We need to remove the first column.
4. Now it will be updated according to the changes in your data.
We change the file name and click the refresh,
If you have any question, please kindly ask here and we will try to resolve it.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is doable. Use a Folder connector so you see all the files in your query, then sort by one of the columns (modified date, your filename, or values you extract from the filename), so the most recent file is on top. Then you can just keep the top row, and expand the column with your Data (or you can reference the top row data column by inserting a step and using this syntax for the previous step
= #"Previous Step"{0}[Data]
That will get the first row of the Data column (rename if needed) from the table in the Previous Step (rename that to whatever that is called, like #"Changed Type", etc.
Regards,
Pat
So I did that method and then just changed the name of the file to 10-9 to test it and got this error still. It seems to make sense but power bi keeps creating a specific file path in my steps with the file name of 10-10. Can I get it to ignore the file name?
- drivas7719945 years ago
Helper II
I wanted to follow up and see if anyone can solve this
- v-zhenbw-msft5 years ago
Community Support
Hi drivas771994 ,
You need to connect a folder, please refer the following steps.
1. Create a folder to put your file.
2. Then open Power BI Desktop, select Get date -> folder to connect the folder you create. You need to select Combine and Transform data.
3. We need to remove the first column.
4. Now it will be updated according to the changes in your data.
We change the file name and click the refresh,
If you have any question, please kindly ask here and we will try to resolve it.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- v-zhenbw-msft5 years ago
Community Support
Hi drivas771994 ,
How about the result after you follow the suggestions mentioned in my original post?
Could you please provide more details or expected result about it If it doesn't meet your requirement?
If you've fixed the issue on your own please kindly share your solution. If the above posts help, please kindly mark it as a solution to help others find it more quickly.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.