Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello!
In PowerQuery, I'm trying to do a filter to show only the most recent files based on the column "Folder Patch.2.1", but I don't know how to do it. Here's how the data appears:
In the example image above, I want to always filter ONLY the files with the "Folder Patch.2.1" column with the most recent date. In this case, it would only show these rows:
How can I do this?
Solved! Go to Solution.
For your reference.
Step 0: I use these data below.
Step 1: I click a right button of mouse on 'Folder Path.2.1' and select 'Group By...'.
Step 2: I enter the conditions in the "Group By" window and click the OK button.
Step 3: I expand the "Date created" column.
Step 4: I add a condition column.
Step 5: I filter the 'Flag' column.
Step 6: I remove these columns.
[Before]
[After]
For your reference.
Step 0: I use these data below.
Step 1: I click a right button of mouse on 'Folder Path.2.1' and select 'Group By...'.
Step 2: I enter the conditions in the "Group By" window and click the OK button.
Step 3: I expand the "Date created" column.
Step 4: I add a condition column.
Step 5: I filter the 'Flag' column.
Step 6: I remove these columns.
[Before]
[After]
Click the dropdown, sort the column descending
Group by folderpath.2.1
keep top row
ungroup
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
67 | |
65 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |