HI
Month_date is the one of the column in my source which contains only the name of the month for ex"January"."March"....
I need to get the last date of these months
for ex "January"="2008-01-31" likewise i need to calculate the last date for all the mont in the similar fashion.
Guide me if this can be achieved in DS.
Thank you
LAST DATE OF A MONTH
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 46
- Joined: Mon Sep 24, 2007 12:37 am
- Location: INDIA
TIME dimension works great (really the TIME subject area). A DATE grain table, a MONTH grain table, a QUARTER grain table, and a YEAR grain. You can reverse lookup on month name and year to the MONTH table. Your month table would have many attributes describing the month, which probably should include the last day in the month as a date.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
LastDayCurrentMonth, FirstDayNextMonth, ThisDayNextMonth, LastDayLastMonth, FirstDayLastMonth, ThisDayLastMonth are all good columns to have in a time dimension table.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.