Reference Date and using it

tazeo

Board Regular
Joined
Feb 15, 2007
Messages
133
Office Version
  1. 365
Platform
  1. Windows
Hi All
Only been dipping my toe into powerquery for a couple of weeks, and it is saving me so much time with my reports etc.

Time to turn it up a notch or two.

I have several queries (left-hand toolbar) and in one there is a column with dates. I want to find the newest date (which I think will be through creating a parameter - but I can't get to work), then use that date to transform the data to only include the last 24 months.

From what I have read, this is all possible, but I just can't work out how to do it.

Help
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi James
Thanks that makes sense, or at least more sense than the options my Googling returned. I had to tweak it a little (used ChatGPT to help with that :love:). and got it working.

Can I ask why we need to create an entire column?
 
Upvote 0
In my opinion, for the PowerQuery developers, the core idea was simplicity and ease of use ... but, one can say, "you cannot have it all " !!!
 
Upvote 1

Forum statistics

Threads
1,224,815
Messages
6,181,136
Members
453,021
Latest member
Justyna P

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