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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
choime
New Member

Blank Pages Issue When Hiding Rows Based on Parameter Value in Power BI Report Builder

I am experiencing an issue in Power BI Report Builder with a report composed of group rows and a subreport named “packing list” at the bottom. To print the subreport on a new page, I have set a page break at the end of the group row above it. The subreport’s visibility is controlled by a specific parameter value (Parameters!non_packing.Value), hiding the subreport when the parameter value is 0.

When the subreport is hidden and the main report spans only one page, a blank page is added. However, this issue does not occur if the main report spans more than two pages. Additionally, if I hide the subreport without using the parameter value, no blank pages appear. This suggests there might be an issue with the handling of page breaks and visibility settings based on parameter values. Please assist in resolving this issue.

 

스크린샷 2024-12-30 041343.png

2 REPLIES 2
choime
New Member

Hi Carson Jian,

Thank you once again for your suggested solutions. I have reviewed the points you mentioned, but the issue still persists.

  1. Report Size: The report size is set to A4 with a width of 21 cm, and the width of the main content and the actual data table is 18.7 cm. The sub-report has the same dimensions.
  2. ConsumeContainerWhitespace Setting: Both the main report and the sub-report have the ConsumeContainerWhitespace property set to False.
  3. Blank Page Occurrence: The blank page appears when the sub-report is hidden and the main report content is only one page long. If the main report content spans more than one page, the blank page does not appear.
  4. Display Option: When the report is initially run and the display option is set to hide based on an expression, the blank page does not appear.

Given these conditions, the blank page issue remains unresolved. I would appreciate any further advice or solutions you might have.

Anonymous
Not applicable

Hi,@choime .I am glad to help you.

The general cause of blank pages is related to the layout settings of the report, although the sub-report has been hidden by the parameter, but you mentioned that you set the paginated reports, which may cause the report to unexpectedly appear blank pages after printing.
Your current problem is that when the actual content is just about ready to be displayed on the same page of the paginated reports, there is still content that cannot be displayed properly, so this part is displayed on the next page, but in the actual printing process, this part is displayed as blank, so there is a blank page. When the content of the main table is displayed as two pages, the size of the two pages is just enough to display all the contents of the paginated reports, so the normal display of reports.

You may need to double check the layout settings, hopefully the link below will help:

URL:
Avoid blank pages when printing paginated reports - Power BI | Microsoft Learn
Solved: Power BI Report Builder paginated report page brea... - Microsoft Fabric Community
 I'll follow up with the relevant tests to try to reproduce your problem.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.