Report based on 2 parameter queries

ykbhatia

Board Regular
Joined
Jul 1, 2003
Messages
81
Hello:

I am trying to run a report based on 2 parameter query. The 2 queries are based on the same table and have the same input. the first query gives me a summary for the Period I enter in the parameter query, i.e. it only gives me the data for that period.

The second parameter query gives me a YTD summary for all the periods equal and less than the input period in the parameter.

I am trying to get the single report based on these 2 queries.

Thanks
Yash
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Make two reports, one for the period amounts, and one for the YTD amounts. Now make a third report, leave it unbound, and position the two reports you just created on it, side by side, as subreports. The option to insert a subreport is located on the control toolbox.

You will have to adjust the formating to suite your needs, notice that the subreports have a border around them that you might want to set to transparent.

Hope this helps,
 
Upvote 0

Forum statistics

Threads
1,221,618
Messages
6,160,873
Members
451,674
Latest member
TJPsmt

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