cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JitK
Frequent Visitor

Power BI Report Builder- Report having multiple sheets

Hi All,

  Did anyone developed a report using Power BI Report Buider having multiple sheets?. Like in Excel , One Excel file can have multiple sheets and each sheet connect to seperate Oracle Sql query and fetch data in same sheet. For Example, Report will have two sheets , one for Employee details which internally fetch output from oracle sql query (Select * from Employee), and second for Departments details which internally fetch output from second oracle sql query (Select * from Departments) and so on...I know that it is possible in Power BI Desktop but I am looking for anyone who can help me get it done in Power BI Paginated Report Builder.

Thanks,

JitK

 

1 ACCEPTED SOLUTION
saglamtimur
Resolver II
Resolver II

Ok, say you have a data like

CompanyKeyQtyKg
A1
A2
B2
B3
C2

and would like to show sum(QtyKg) for each Company in separate pages/sheets

First, add a matrix and design it how you like it.

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

right click over "CompanyKey" group under "Rows groups" and select "Group properties" and then "Page breaks" tab and click "Between each instance of a group"

2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

By doing this, your report shows your report as an each group on separate pages. And if you export to excel, on separate sheets. 

But, for excel there is still a problem. sheet names are default to Sheet1, Sheet2.... and son on. To rename those sheets; click on to select "CompanyKey" group under "Rows groups" and then at the right you will see "Properties" pane. Drill to "Group -> Group -> Page Name" property and open expression combo box, then set what ever you want for the expression which will be shown as "Sheet names" in excel.

3.PNG

View solution in original post

8 REPLIES 8
JitK
Frequent Visitor

Thank you much.. This works for me

saglamtimur
Resolver II
Resolver II

Ok, say you have a data like

CompanyKeyQtyKg
A1
A2
B2
B3
C2

and would like to show sum(QtyKg) for each Company in separate pages/sheets

First, add a matrix and design it how you like it.

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

right click over "CompanyKey" group under "Rows groups" and select "Group properties" and then "Page breaks" tab and click "Between each instance of a group"

2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

By doing this, your report shows your report as an each group on separate pages. And if you export to excel, on separate sheets. 

But, for excel there is still a problem. sheet names are default to Sheet1, Sheet2.... and son on. To rename those sheets; click on to select "CompanyKey" group under "Rows groups" and then at the right you will see "Properties" pane. Drill to "Group -> Group -> Page Name" property and open expression combo box, then set what ever you want for the expression which will be shown as "Sheet names" in excel.

3.PNG

JitK
Frequent Visitor

Not yet.. I am still looking For single dataset, but multiple sheets and that is my current issue. 

 

Thanks

Jitendra

saglamtimur
Resolver II
Resolver II

Sure, when I have time.

Did your current problem solved?

JitK
Frequent Visitor

Could you please elaborate more on @For single dataset, but multiple sheets, it has different steps. I am looking for it. Appreciate!

 

Thanks

saglamtimur
Resolver II
Resolver II

You should design subreport first, and publish powerbi service.

Then, on main report, insert subreport item, right click over greyed out subreport and select "Subreport properties". In general tab you will see "Use this report as a subreport". Then browse your workspace and select previously published subreport. This should work.

 

This is for two or more dataset and exporting to multiple sheets.

 

For single dataset, but multiple sheets, it has different steps.

JitK
Frequent Visitor

Hi Saglamtimur

 

 Thank you. I checked for the subreport option in power bi report builder and it is disabled for me always. I am using version 15.0.1517.0. Please let me know in which version this option is enabled and appreciate if you provide me step by step guide for creation of subreport which works same way like one report contain multiple sheets.

 

Appreciate your help.

 

Thanks

JitK

 

saglamtimur
Resolver II
Resolver II

First add a report which contains Employee table, then add a sub-report within the same report for Departments. Then add pagebreak between main report (under table/tablix properties) and subreport. Then export to Excel, you will see two seperate sheets.

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors