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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Add a Page Break to a Paginated Report WHEN exporting to excel only

Hi all, Been trying to do this to no avail...

 

I have a paginated report   that has 2 Tablix's   one for MTD and the other for YTD data.

 

Both Identical in columns.... only on soem MTD's   a column might not be used  and thus when exportign to excel throws the columns out of sync..

 

Is it possible, to run the report have both Tablix's showing  but when I export to excel I would like a Page break to be added to the end of the firt tablix, thus giving me 2 seperate worksheets, whe it;s exported.

 

Key is, to have the 2 showing on the Powerbi Service....   but split in Excel.  I've tried using the =Globals!RenderFormat.Name="EXCEL"     in various places but still no joy..

 

TIA.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Ok I managed to finally get this to work...

In the Page Break properties of the tablix, within the Disabled section I added this formula:

=IF(Globals!RenderFormat.Name="EXCELOPNXML",FALSE,TRUE)

 

now it does what I'm asking it to do, No page break when runnign the report in Power Bi , BUT does when exportign to EXCEL.

 

Great... hope that helps anyone else..

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Ok I managed to finally get this to work...

In the Page Break properties of the tablix, within the Disabled section I added this formula:

=IF(Globals!RenderFormat.Name="EXCELOPNXML",FALSE,TRUE)

 

now it does what I'm asking it to do, No page break when runnign the report in Power Bi , BUT does when exportign to EXCEL.

 

Great... hope that helps anyone else..

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.