What I meant by "a third dataset" can be explained using an example like shown below. Assume your first dataset returns results from a query like shown in 1 below and the second set returns data from a query liek shown in 2. Then, create a third data set like shown in 3 below and use that. The @choice parameter will be populated using the SSRS variable.-- 1SELECT co1l1,col2 FROM Table1-- 2SELECT col1, col2 FROM Table2-- 3IF @choice = 1 THENBEGIN SELECT col1, col2 FROM Table1ENDELSEBEGIN SELECT col1, col2 FROM Table2END