Quantcast
Viewing all articles
Browse latest Browse all 10045

Using 1 dataset for multiple tables in the report

All,

Say I have a stored procedure with some parameters and the result set looks like this:

State   ACount    BCount     Description

VA           10            20           Category1

TX           15            25           Category1

VA           30            40           Category2

TX           40            50           Category2

NY           5              5             Category3

NJ           10            10           Category3

Now, what I want is 3 separate tablixes (tables) in my report using my stored procedure (just 1 dataset for all these tables). I want the result to be dispalyed something like this:

Category1 (1st tablix)

State   ACount    BCount     Description

VA           10            20           Category1

TX           15            25           Category1

Category2 (2nd tablix)

VA           30            40           Category2

TX           40            50           Category2

Category3 (3rd tablix)

NY           5              5             Category3

NJ           10            10           Category3

I want Category1, Category2 and Category3 to be 3 different tablixes in my report using the same stored procedure.

How can I accomplish that? Let me know if you have any questions.



Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>