Power Query Filter - "Not In Last 7 Days"?

Andrew_UK

Board Regular
Joined
Jun 3, 2015
Messages
53
Hi All,

I'm still quite new to Power query, moderately experienced with Excel, SQL, Powerpivot...

With Power Query I need to build a table that is coming from 2 distinct sources; One needs to be a live feed of all invoices over the last 7 days and that comes from our database (that's already set up), the other is a list of invoices which have been "checked by finance" and they sit in an excel file.

Power Query can do the whole append for me but it can't seem to filter the way I want on the data I'm receiving from the Finance Spreadsheet. I can see the option to Filter for all data within the last 7 days - but I can't see the filter to filter for all data OLDER than 7 days.

I've tried entering Before in the date field and then changing the date to Today() in the formula bar, I also tried Get_Date and NOW() more out of hope than expectation... I've also tried setting it to all data within the last 7 days and then manually inserting the word NOT but that's not working either.

Does anyone have any ideas on this? It seems like it would be a bit of an oversight for Power Query not to have this function.

Thanks in advance!!

Andrew
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Upvote 0

Forum statistics

Threads
1,216,040
Messages
6,128,454
Members
449,455
Latest member
jesski

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top