Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
VictoriaDat
New Member

Ideas for adding headers and footers to subreports in Power BI Paginated

Hello,
As far as I know, by design it is not possible to display headers and footers of the subreports in the main report in Power BI Paginated Report builder.
I need to display different footer and header information on each page based on the subreport which is being shown on this page ( the order and number of the displayed subreports can change, since we use multi-value parameters to select reports for viewing).
Any ideas how this can be achieved?

Maybe it is possible to pass the information on which subreport is currently being displayed to the header/footer and then use it to show/hide the needed text?

Will appreciate any ideas!

2 REPLIES 2
v-xiandat-msft
Community Support
Community Support

Hi @VictoriaDat ,

You can first add a header and footer to a sub-report, and subsequently display different report header and footer information based on the parameters.

You might have parameters that control which subreports are displayed. You can reference these parameters in expressions to change the content of the headers and footers dynamically.

=IIF(Parameters!SubreportParameter.Value = "Subreport1", "Subreport 1 Header", "Default Header")

Below is the official link will help you:

Headers and footers in paginated reports - Power BI | Microsoft Learn

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi, thank you for the idea, however it is possible that multiple subreports will be selected in the parameter, so that on different pages we have different subreports.
Therefore we would need to somehow define which subreport is displayed on this particular page, do you have any ideas how this information can be received so that we can use it in header and footer expression?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.