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

KB320509: How to get system date using SQLServer as data warehouse in MicroStrategy 10.x?


Community Admin

• Strategy


This article is to show how to get system date if SQLServer is used as data warehouse in Strategy 10.x.

  1. Create a metric with definition:
    
    ApplySimple("convert(varchar(12),getdate(),103)", " ")

  2. Create a blank report and add the metric created in step 1.
  3. Add another standard metric into the report.

Please note that if no standard metric is added to the report, the report SQL will not be generated correctly.


Comment

0 comments

Details

Knowledge Article

Published:

May 16, 2017

Last Updated:

May 16, 2017