EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB39986: The PDF and Excel export files of a Report Service Document are inconsistent when there is a blank page in MicroStrategy Intelligence Server


Community Admin

• Strategy


When a document has a blank tag (page), the export files in PDF format and in Excel format are not the same. The PDF file will omit the blank page, but the Excel file will retain it.

SYMPTOM:
 
When a document has a blank tag (page), the export files in PDF format and in Excel format are not the same. The PDF file will omit the blank page, but the Excel file will retain it.
 
 
STEPS TO REPRODUCE:
 
In Strategy Tutorial, do the following:

  • Create a report called with the following structure.       
     
    Attributes: ,       
     
    Metrics: ,       
     
    Filter: Add two prompts to the filter: and .
  • Create a second report called with the following structure:
     
     Attributes: ,
  • Create a document and add and as datasets to this new document.
  • In this document, create three layouts called , , and
  • In each layout, go to Format > Document Properties > Layout Properties and ensure that "Use shared page header/footer" is unchecked.
  • In each layout, go to View > Sections, and select only the "Detail Header" section. Uncheck all the other options.
  • Set the as the grouping and sorting dataset for all the layouts.
  • In the first layout ("Static Data"), add the grid to the "Body" section.
  • In the second layout ("Revenue Summary"), add the grid to the "Body" section.
  • In the third layout ("Disclaimer"), add just a text box with some static text to the "Body" section.
  • Go to the "Body" section of the second layout ("Revenue Summary") add the following conditional formatting rule:
     
    IS NULL OR Equals 0 ---> Action = Hide Object
  • Save and close the document
  • Run the document and select a set of prompt answers which will return no results in the report - e.g. select Dec 2011 as the month.
  • When the document is run in Desktop, it is observed that the second layout tab ("Revenue Summary") is visible, but the entire layout is empty due to the absence of data and the conditional formatting rule as shown below.
     
ka04W00000148yBQAQ_0EM440000002HOP.png
  • If the document is now exported to PDF, the output contains only two pages, one for the "Static Data" layout and one for the "Disclaimer" layout. The PDF output has smartly removed the empty layout ("Revenue Summary") altogether.
  • However if the document is exported to Excel, an empty worksheet appears in the middle for the "Revenue Summary" layout.

The comparison of the two files are shown as below.
 
PDF:

ka04W00000148yBQAQ_0EM440000002HOL.png

 
EXCEL:

ka04W00000148yBQAQ_0EM440000002HOR.png

CAUSE:
 
It is a known enhancement request with Strategy Intelligence Server 9.2.1.
 
ACTION:
 
Contact Strategy Technical Support for the latest status of this issue.
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

May 5, 2017

Last Updated:

November 10, 2019