×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Date Formatting for OWC/Pivot Table RowAxis field

Date Formatting for OWC/Pivot Table RowAxis field

Date Formatting for OWC/Pivot Table RowAxis field

(OP)
Hello,

I am currently returning the date from an Cube Dimension into an OWC Pivot Table as such:
2008-01-30 00:00:00

I have been researching how to apply a short date format (mm/dd/yyyy) on the web page as such:

RowAxis.InsertFieldSet(FieldSets("Request Open Date")).NumberFormat = "Short Date";

But this does not work, and the cube dimension was set-up in such a way as I cannot create a calculated member for this. This field needs to be on the RowAxis only anyway.

Could someone please suggest an alternative or something I haven't discovered that would enable me to apply the short date format to this field in the pivot table? I'm aware of string formatting like Response.Write("<br />2 = " & FormatDateTime(Date, 2)), but this doesn't work for the pivot table fields. In any case, I am stumped at this point and would really appreciate some help.

Sorry for the crosspost, I felt that I should have posted this here to begin with and not the ASP forum.

Thanks in advance,
Dennis  

RE: Date Formatting for OWC/Pivot Table RowAxis field

(OP)
I figured it out. In the member name column in the Dimension Editor:

CONVERT(CHAR(10),"dbo"."date_dim"."the_date",103)

Thanks everyone for your help!
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close