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
Hello Power Query Community!
I have a data source where I am opening an Excel workbook stored in a Sharepoint.
An updated version of this data is added in a new Excel in the same folder each week, so I want Power Query to open the "Binary" under "Contents" for only the most recently updated version.
To do this I sorted the tables after the Navigation step by "Date modified" in descending order so that the file I want is always in the first row (which leads to step called Sorted Rows).
Currently the code as is this:
#"File Feb 24 2025 xlsx" = #"Sorted Rows"{[Name="File Feb 24 2025.xlsx"]}[Content],
How do I make it like this?
#"First File" = #"Sorted Rows"{[ ______________ ]}[Content],
Thanks in advance!
Jamie
Solved! Go to Solution.
#"First File" = #"Sorted Rows"{0}[Content],
This community is incredible... Thank you Kees!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.