ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Date Formatting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Z0n3R

28 Posts

Posted - 02/24/2012 :  10:15:50  Show Profile  Reply with Quote
Good day,

From another thread I read that ReportPortal doesn't support formatting on numerical values (rounding, etc)...but how is this handled on datetime values?

I don't want to see T-SQL format YYYY-MM-DD 00:00:00.000 -- I just want to see the date MM/DD/YYYY.

Thanks!!

Z0n3R

28 Posts

Posted - 02/24/2012 :  10:16:58  Show Profile  Reply with Quote
Just to clarify...this is strictly for OLAP reports.

thx!
Go to Top of Page

admin

1644 Posts

Posted - 02/24/2012 :  12:49:26  Show Profile  Reply with Quote
OLAP report supports formatting of dates and numbers for measure via calculated measures. OLAP report does not support formatting of dimensional member names. You would have to do this in a data source view like

select CONVERT(varchar, GetDate(), 101) as MyDate
Go to Top of Page

Z0n3R

28 Posts

Posted - 02/24/2012 :  13:42:46  Show Profile  Reply with Quote
quote:
[i]Originally posted by admin[/i]
[br]OLAP report supports formatting of dates and numbers for measure via calculated measures. OLAP report does not support formatting of dimensional member names. You would have to do this in a data source view like

select CONVERT(varchar, GetDate(), 101) as MyDate



Hmmm, I'm sorry. I'm confused. Are you saying within SSAS I can format date members? Datetime columns are converted to YYYY-MM-DD 00:00:00.000 members when the cube is processed. I'm unaware of any way to change this and have always formatted the date in the report setup when using SSRS. ReportPortal doesn't have this capability? The above example is SQL--which I can do--but are you saying I have to set something new up in SSAS just to format a date member?

Sorry for the confusion. Thank you!
Go to Top of Page

admin

1644 Posts

Posted - 02/24/2012 :  13:50:41  Show Profile  Reply with Quote
Please read this Microsoft article that explains how to format dates in the Data Source View.

http://msdn.microsoft.com/en-us/library/ms166578.aspx
Go to Top of Page

Z0n3R

28 Posts

Posted - 02/24/2012 :  14:00:40  Show Profile  Reply with Quote
quote:
[i]Originally posted by admin[/i]
[br]Please read this Microsoft article that explains how to format dates in the Data Source View.

http://msdn.microsoft.com/en-us/library/ms166578.aspx


That's the trick. Thanks so much. :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page