Linking sql queries together

masplin

Active Member
Joined
May 10, 2010
Messages
413
I have a number of sql queries pulling in data from the same database to my model. I would like to be able to restrict the date range of the data so is there any way to avoid writing a separate clause into each query, and having to update the date several times?

I'm not an sql guy, but seems the queries are specific to the PP tables they are linked to

thanks for any advice
Mike
 
ah cool. So to move to an empty table do I create a small empty table in excel and link it ot PP and then cut and paste in there?

Be good to go through the exercise so i don't make the same mistake in future.

Thanks again
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
One more dumb question. i have about 50 measures on the table in question. is there any simple way to move them all to an empty table or cut and paste one by one the only solution?
 
Upvote 0
For me that reads in Chinese as no idea what he is talking about!!!! Is he saying that in 2016 this is possible without resorting so some wild addin? For this one I'll still to cut & paste as really going way beyond my level of competence. Thanks any way
Mike
 
Upvote 0

Forum statistics

Threads
1,224,136
Messages
6,176,562
Members
452,735
Latest member
CristianCaruceriu

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