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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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!

3 REPLIES 3
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.

 

If you have in english language we would be greatful

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Kudoed Authors