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

KB36354: How to filter on different parameters and display the related data for the same report on two separate panels in a Report Services Document in MicroStrategy Web


Community Admin

• Strategy


SYMPTOM
This technical Note explains how to display data for the same report with different filtering conditions in two separate panels in a Document in Strategy Web 9.0.x, when there is no data available for one of the attribute elements.
 
STEPS TO REPRODUCE

  • Create a new Table with Region, Year and Revenue columns. Region West does not have data for year 2008 ie no data row, while for Region South there is data for years 2008, 2009, 2010.
     
     
          Region     Year    Revenue
          West         2009   20
          West         2010   35
          South       2008   110
          South       2009   120
          South       2010   130
     
  • Add the table through Warehouse Catalog, create attributes Region and Year, and fact Revenue. Update schema. Create metric Revenue
  • Create a report with Region in rows, Year and Revenue in columns. Set Report data Options - Null Display to 0 for all, and Attribute join type to 'Preserve lookup table elements joined to final pass result table based on template attribute with filter' to ensure that 0 is displayed in the grid where no values exist.
     
ka04W000000Og2mQAC_0EM4400000027eH.jpeg
  • Create a dashboard and add the report to the first panel. Select the dataset and with a rmc select set view filter and assign West. Add another panel and add the same report to this panel and set view filter to South. Add a Panel Selector.
     
ka04W000000Og2mQAC_0EM4400000027eM.jpeg
  • Add Selector targetting all reports for Year (drop down).
     
ka04W000000Og2mQAC_0EM4400000027e6.jpeg
  • Add another Selector targetting panel, for Regions West and South.
  • Execute the dashboard in Web. When South is selected in the radio button selector, with year 2008, data is displayed as shown below:
     
ka04W000000Og2mQAC_0EM4400000027eJ.jpeg
  •  
    When West is selected on radion button selector, with 2008 as the default year selected, the following message is displayed:
     

    Sample Code/Error
    No data returned by this view. This might be because the applied filter excludes all data.

ka04W000000Og2mQAC_0EM4400000027eK.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

July 10, 2017

Last Updated:

July 10, 2017