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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I need to grab the latest two files. The files are dumped by an ERP process and the drop is at time 30 minutes apart.
What should the formula be to grab both latest files? I cannot use today as a filter because the file typically drops in the evening (and the report runs the following morning) but in rare cases, it is dropped the next day (screenshot 1). Therefore, I need to grab the latest 2 files.
Thanks!
Solved! Go to Solution.
Sort by Date Modified and then use Keep Rows > Keep Top Rows > 2 rows.
Sort by Date Modified and then use Keep Rows > Keep Top Rows > 2 rows.