Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have 1 million rows of data by retailer week, and I need to remove the last week of data because it was a partial week when it was loaded. I now have a new query for last week with full data that I need to append, but I cannot figure out how to remove the partial week of data from the original query.
Solved! Go to Solution.
Hi @bradfoster,
You can filter out specific rows in Query Editor mode, similar to below if there is a date field in original table.
From above example, I filtered out records where date starts from 3/21/2018 to 3/24/2018.
Regards,
Yuliana Gu
Hi @bradfoster,
You can filter out specific rows in Query Editor mode, similar to below if there is a date field in original table.
From above example, I filtered out records where date starts from 3/21/2018 to 3/24/2018.
Regards,
Yuliana Gu
How would you go about filtering out, ie removing all rows but the first one for each row that belongs to a specific category? So for instance: let's say we have 2 categories: ( cars, planes ) and let's say we have the following columns in the table: ( datetime, category ). After sorting by datetime ascending, we want to keep the first row that shows up in the table for category 'cars', and the first row for category 'planes', deleting all the rows that come after this first row, in essence the result will be a table with 2 rows only.
How would this be done in M?
Keep Top Rows.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |