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

KB16864: How to apply multiple conditions to filters using 'contain' or 'does not contain' operators in MicroStrategy Developer 10.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


How to apply multiple conditions to filters using 'contain' or 'does not contain' operators in MicroStrategy Developer 10.x

SYMPTOM
Users may want to apply multiple conditions on a filter using the 'Contains' or 'Does not contain' operators in Strategy Developer 10.x. The intuitive approach is to separate each criterion with commas ',' but this will create a string that qualifies on all characters at the same time.
 
For example, qualifying on a,e,i,o,u qualifies on 'a,e,i,o,u' and not for each character individually, as shown in the image below, where the results include all vowels but excludes 'a comma e comma i comma o comma u'.
 
ACTION
Enclose all characters in brackets and separate each character with commas, e.g..
 
See the image below for an example where a user wanted to exclude all elements containing vowels:
 
 
This results in the correct SQL as shown in the image below, where the results exclude all vowels:

ka02R000000kZ5uQAE_0EM440000002Wv2.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

July 21, 2017

Last Updated:

July 21, 2017