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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
SAS_BI
Frequent Visitor

Paginated reports exported to Excel always have blank row in Row 1. How do I get rid of it?

Good morning, all!  I'm having an issue where all of my paginated report subscriptions that get exported to Excel insert a blank row into Row 1 before printing the table design.  Is there any way to get rid of this unwanted row before my users have to manually do it on their end?

 

Cheers,

Scott

1 ACCEPTED SOLUTION
aduguid
Super User
Super User

Do you have a header in the report? If so, it could cause this. I use the following expression in the visibility of the header to hide it when exporting to Excel. 

=IIF(Globals!RenderFormat.Name = "EXCELOPENXML", true, false)

 

Otherwise it could be a gap between the tablix and the top of the report. I'd check the properties of the tablix and look at the top element. It should be 0.

View solution in original post

4 REPLIES 4
aduguid
Super User
Super User

Do you have a header in the report? If so, it could cause this. I use the following expression in the visibility of the header to hide it when exporting to Excel. 

=IIF(Globals!RenderFormat.Name = "EXCELOPENXML", true, false)

 

Otherwise it could be a gap between the tablix and the top of the report. I'd check the properties of the tablix and look at the top element. It should be 0.

Thanks for the info!  I'm 99.9% sure there is no header, but I will double check, and check the gap between the tablix and the top of the report.

 

Cheers,

Scott

If that doesn't work, you can post an example of the report .rdl in XML format and I can take a look. If you open .rdl files in a text editor it's just XML.

I was able to eliminate the extra row in Excel by using you suggestion of pulling the Tablix all the way to the top of the report page.  Thanks again for the help!

 

Cheers,

Scott

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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