Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a simple question but I don’t have the solution….
Is it possible to get only the newest excelfile out of a folder?
For example, I have this 4 files in a folder.
Now I want tot pickup only the newest one.
Next week my colleague will put a new file in the folder.
When I refresh my PowerBI dashboard next week, I want only that file, PowerBI have to skip the older one.
Are there possibilities to do it this way?
Solved! Go to Solution.
choose Folder as a Data source
at the next step press Trasform Data
sort Desc by Date Modified field
execute Keep Top rows (leave 1 row)
expand the Content field
choose Folder as a Data source
at the next step press Trasform Data
sort Desc by Date Modified field
execute Keep Top rows (leave 1 row)
expand the Content field
You have to open the Power Query Editor and from the steps tab select the one where you have all columns related to your files such as Content, Source.Name and extension (it could be step number 4 or 5).
Go then to the Date Column and select as Date/Time Filters the option Is Latest, this will filter will always bring to your report the newest files uploded to your folder.
Does it work ? Mark it as a solution
@wanttobeanalyst , Refer if this can help
https://www.youtube.com/watch?v=8H9xM741hBQ
Thanks, this really helpfull!
User | Count |
---|---|
88 | |
84 | |
65 | |
62 | |
57 |
User | Count |
---|---|
138 | |
112 | |
94 | |
82 | |
71 |