Forum Discussion

DataThomas's avatar
DataThomas
Frequent Visitor
3 years ago
Solved

Report Builder - generate a single report that shows same data but with different filters applied

I have a report I built in report builder. i want to generate a multi-page document that replicates the same infomation, but with a separate page based on filtered data.   Example: let's say I buil...
  • d_gosbell's avatar
    3 years ago

    One way to do this would be using a sub report Subreports in Power BI paginated reports - Power BI | Microsoft Learn 

     

    If you build a single report that has a parameter that can either be MLB or League or a Team and prints the page for that entity.

     

    Then build a second report that has a dataset with 33 rows - one row for each entity you want to print. With the parameter value you need to pass into the first report.

     

    eg

     

    MLB
    League 1
    League 2

    Team 1

    Team 2

    etc...

     

     

    In this second report you create a table based on this dataset with a single detail cell which covers the whole width of the report and put a subreport control in it linked to your first report and link up the parameter in the subreport to value from the dataset.

     

    Then when you run the second report it should generate the first report 33 times passing in the different parameter values from the dataset in the second report.