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

KB213535: How to hide a section in a document based on a prompted value in MicroStrategy Analytics Developer 9.4.1?


Stefan Zepeda

Salesforce Solutions Architect • Strategy


SUMMARY:
This "How to" technical note describes a manipulation which enables to hide a section of a document in Strategy 9.4.1
Steps to perform: 
In some business scenario, it needs to hide a section in a document based on a prompted value. This tech note provides a workaround for this requirement.

  • Atstartup, there is a report with Year and Revenue
     
ka02R000000kWOrQAM_0EM440000002C61.jpeg
  • Add the report to the Detail Header section in a document;
  • When trying to create a conditional formatting to hide the section, user can only input the threshold value which is a static value:
ka02R000000kWOrQAM_0EM440000002C63.jpeg
  • To create a conditional formatting based on a prompted value, first create a value prompt and then drag it to a metric expression window as below:
ka02R000000kWOrQAM_0EM440000002C5z.jpeg
  • Add this metric into the report;
  • Edit the document, RMC on the Detail Header section and choose Conditional Formatting -> Advanced;
  • Create a threshold, choose “Select Metric…” as below;
ka02R000000kWOrQAM_0EM440000002C5l.jpeg
  • And then choose the newly created metric “prompted Revenue”;
ka02R000000kWOrQAM_0EM440000002C5n.jpeg
  • And check “Hide Section” in the Format page;
ka02R000000kWOrQAM_0EM440000002C5x.jpeg
  • Run the document and it is found that only when a value which is bigger than the biggest Revenue value through the three years is input, for example, 100,000,000, the section is not hidden. Otherwise, the section is hidden.

 


Comment

0 comments

Details

Knowledge Article

Published:

April 4, 2017

Last Updated:

July 17, 2017