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

KB5902: How to Create a Dynamic Date Using the MicroStrategy Intelligence Server SDK 9.x


Community Admin

• Strategy


The MicroStrategy Intelligence Server API offers methods and interfaces to create a filter from scratch. This document focuses on the properties that need to be modified to make the date in the filter a Dynamic Date.

The Strategy Intelligence Server API offers methods and interfaces to create a filter from scratch. This document focuses on the properties that need to be modified to make the date in the filter a Dynamic Date. It compares first two filters, a date qualification with static date and a date qualification with dynamic date, then, provides a list of the properties that makes a DSS Time Node a Dynamic Date.
 
The Filter Expression:
Consider two filters:

  • Filter A - Static Date Qualification
    'Date ID is exactly 06/29/2001'
  • Filter B - Dynamic Date Qualification
    'Date ID is Today'

 
Filter A and B have the same Filter Expression:

ka04W000001MKy5QAG_0EM440000002H1T.gif

 
DSS Node 2 contains a reference to a DSS Time, that defines the value for the filter criteria. The following table compares the values for Filter A and B, as reported by accessing them through the API:


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001


Browse:GrantRead:GrantWrite:DenyDelete:DenyControl:DenyUse:GrantExecute:GrantData VolumeProgress ODBC DriverProgress JDBC DriverNative ODBC Driver3,948,159 rows and 43 columns44.46s57.06s57sPropertyFilter AFilter BDateTime#6/29/2001##6/29/2001#Day2929DayOfWeekDssDayFridayDssDaySundayDynamicDayOffset<Application Defined>0DynamicDateDssTimeNotDynamicTimeDssTimeTodayHour00IsGmtFalseFalseMiliSeconds00Minutes00ModeDssDateTimeModeLocaleInsensitiveDssDateTimeModeLocaleInsensitiveMonthDssMonthJuneDssMonthJuneName""""Seconds00Week51Year20012001

 
The main difference is in the property DynamicDate. In Filter A, if this property is changed to DssTimeToday, the rest of the properties will take the same values as in Filter B.
 
Defining the Dynamic Date:
To obtain the Node that references to the Time, use this code:


Dim oTimeNode As IDSSTimeNode 
Set oTimeNode = oFilter.Root.Item(2)

 
To turn Filter A into Filter B, modify the DynamicDate property:


 


oTimeNode.Time.DynamicTime = DssTimeToday 
oFilter.Info.Save

 
The DynamicTime property specifies the level of the period (ThisMonth, ThisYear, Today, etc.). Its possible values come from the Enumeration EnumDssDynamicTime. Please, refer to the Strategy SDK Developer Reference for more information about this property.
 
The .Day, .Week, .DayOfWeek, .Month, and .Year properties are used to move the dynamic date plus or minus a certain offset below the level of the period. For instance, to get the second Tuesday of the Month the following code is be used:

With oTimeNode.Time 
    .DynamicTime = DssTimeThisMonth 
    .Week = 2 'Second Week 
    .DayOfWeek = 3 'Tuesday 
End With

 
To update the current month to change until the 10th of the next month:

With oITimeNode.Time 
    .DynamicTime = DssTimeThisMonth 
    .DynamicDayOffset = -10 
End With

In this case, if the date is February 9th, ThisMonth will still return January, but on February 10th, ThisMonth will return February.
The example provided in this document is provided “as-is” and user has read the following customization warning:
ADDITIONAL INFORMATION:
The Strategy SDK allows you to customize several Strategy products and extend and integrate the Strategy business intelligence functionality into other applications. However, before changing the way Strategy products look or behave, it is helpful to understand how the application is built. For more information regarding the Strategy products or the process of customizing Strategy products, please refer to Strategy Developer Zone (https://developer.microstrategy.com).
To access the Strategy Developer Zone, you must have access to the Strategy Knowledge Base, you must have purchased the Strategy SDK, and you must be current on your Strategy maintenance agreement. If you are a US-based business and believe that you satisfy all three of these conditions but you do not have access to the Strategy Developer Zone, please contact Strategy Technical Support at support@microstrategy.com or at (703) 848-8700. If you are an international business, please contact Strategy Technical Support at the appropriate email address or phone number found at https://www.microstrategy.com/us/services/support/contact.
CUSTOMIZATION WARNING:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.
 


Comment

0 comments

Details

Knowledge Article

Published:

March 31, 2017

Last Updated:

March 31, 2017