Power Query Simple Parameters

testsubjec

New Member
Joined
Jul 14, 2011
Messages
33
Hi,
Firstly I apologies if this is very simple to do.
We are migrating all our very old Excel spreadsheets which connected to an IBM database mainframe to SQL Server using Power Query. Our old excel spreadsheets have a Parameter Sheet containing up to 15 parameters and we used the "?" within the command text to define the parameter etc. The user set the parameters refreshed the sheet and the query brought back the data into another sheet based upon the parameters.

I need to replicate this behaviour using Power Query, I've played around with Power Query a little but haven't been able embedded parameters. :)

So to keep this simple.... I have a Parameter sheet that allows users to set a From Date ( DD/MM/YYYY ) in Cell A2 and a To Date ( DD/MM/YYYY ) in Cell B2. When the user refreshes I need Power Query to grab the parameters from these fields and the run query. ( In short ).

If someone could offer to assistance on this it would be really appreciated.

Thank you.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,223,809
Messages
6,174,759
Members
452,581
Latest member
ruby9c

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