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

KB42748: An optional prompt using the between operator is removed from the filter of a report if both parts of the prompt are not answered in MicroStrategy 9.x and 10.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


An optional prompt using the between operator is removed from the filter of a report if both parts of the prompt are not answered in MicroStrategy 9.x and 10.x

SYMPTOM:
 
The user has a date between filter with optional date prompts for the start date and end date. If either start date or end date is left blank, the entire filter is removed from the filter of the report.
 
STEPS TO REPRODUCE:
 
1. Create a new report with the Day attribute
 

ka02R000000kVdWQAU_0EM440000002Cv9.png

 
2. Add a filter on the Day attribute with the operator between and set a date prompt for both the start date and end date.
 

ka02R000000kVdWQAU_0EM440000002CvV.png

 
3. Set both of these prompts as optional by leaving prompt answer required unchecked.
 

ka02R000000kVdWQAU_0EM440000002CvE.png

 
4. Set a default value for both prompts.
 

ka02R000000kVdWQAU_0EM440000002CvC.png

 
5. Run the report. Click Clear for the start date prompt
 

ka02R000000kVdWQAU_0EM440000002CvD.png

 
6. Keep the default value for the end date prompt
 

ka02R000000kVdWQAU_0EM440000002Cv5.png

 
7. This filter will not be reflected in the report 
 

ka02R000000kVdWQAU_0EM440000002CvB.png

 
CAUSE:
 
This is working as designed. The date between prompt has two parts, a start date and an end date. If one of these prompts is left blank, this is an incomplete filter definition. An incomplete filter definition cannot be evaluated so it is removed from the report filter.
 
ACTION:
 
Create two separate prompts, a Day greater than prompt and a Day less than prompt as seen below:
 

ka02R000000kVdWQAU_0EM440000002Cv6.png

 
This will give the same functionality as the date between but will allow one of the prompts to be left blank if desired.
 
 


Comment

0 comments

Details

Knowledge Article

Published:

May 30, 2017

Last Updated:

May 30, 2017