Format Specific Attribute in Dimension

Posted on 2012-08-12
Last Modified: 2016-02-18
Dear all
I did build my CUBE using VS2008
I want to format Datetime in Dimension from “01-01-2010 00:00:000” to be “01-01-2010”.
How can I do this in the CUBE
Question by:RamzyNEbeid
    LVL 16

    Accepted Solution

    The T-SQL command to run to get a SQL Server date to show in the way you require is as follows.


    Open in new window


    Author Comment

    yes i know how to do this from SQL but i want to know how to do it from inside the CUBE?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
    This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now