Any ideas on how to swap a to&from date table to monthly using DI?

New to DI, so after a bit of product usage advice!
I've got a table that looks like this...
ID,NAME,SDATE,EDATE,TOTALDAYS,WEEKDAYS
1,James,01/01/2010,10/01/2010,10,6
2,John,03/02/2010,19/02/2010,16,13
1,James,15/04/2010,23/07/2010,100,72
3,Chris,05/08/2010,05/08/2010,1,1
2,John,30/08/2010,03/09/2010,5,5
3,Chris,28/09/2010,06/10/2010,9,7
I want it in a format thats a bit more like this...
YEAR,MONTH,ID,NAME,TOTALDAYS,WEEKDAYS
2010,JAN,1,James,10,6
2010,FEB,2,John,16,13
2010,APR,1,James,16,12
2010,MAY,1,James,31,21
2010,JUN,1,James,30,22
2010,JUL,1,James,23,17
2010,AUG,3,Chris,1,1
2010,AUG,2,John,2,2
2010,SEP,2,John,3,3
2010,SEP,3,Chris,3,3
2010,OCT,3,Chris,6,4
Anyway to do this type of operation in DI?
It's not a huge data set (k's of rows) - but I need it in this sort of format do do some monthly reporting.  So far in DI I've only really used simple lookups and joins - more a load tool - so hope this type of thing is relativley standard stuff?
Thanks for any advice!
j.

You can use below functions in query transform:
to_char(<input_date type value>, <'YYYY | MON>') to get the year / Month.

Similar Messages

  • HT5624 I have an expired email account linked to icloud and don't know the password and can't reset the password due to not receiving emails anymore with the email account. Any ideas on how to retrieve the songs and data?

    I have an icloud account linked to an email address that is no longer in service.  I do not have the password for the account and am trying to retrieve the songs and data from the cloud to use on new apple device.  Any way to get a new password, able to open the expired account, without having that email account active?

    Hi there clarethasimmons,
    You may find the information in the article below helpful.
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621
    -Griff W.

  • Has anyone any idea of how to transfer my songs from iTunes to a Kindle?

    I have iTunes on my home computer, not a lap top, which runs Windows 7 and I would like to be able to transfer my iTunes library of songs to my Kindle.  I would be pleased to hear from anyone who knows how to do it as it doesn't automatically come up.
    Many thanks,
    Bruce

    I have iTunes on my home computer, not a lap top, which runs Windows 7 and I would like to be able to transfer my iTunes library of songs to my Kindle.  I would be pleased to hear from anyone who knows how to do it as it doesn't automatically come up.
    Many thanks,
    Bruce

  • I have my ipod attached to an old, out of date email and when i try to update from my ipod it says "your itunes store password is incorrect"  Any ideas why/how to fix?

    i have my ipod attached to an old, out of date email and when i try to update from my ipod it says "your itunes store password is incorrect"  Any ideas why/how to fix?

    Try from a computer.   You may have to reset your password.  If you can't get the comfirmation email then you can use the secret question.  Once you can log in then you change the the email address.
    See:
    Frequently Asked Questions About Apple ID
    Here is how to contact iTunes:
    Apple - Support - iTunes - Contact Us

  • TS2755 Messages from one of my contacts shows up on my iPhone but not on my iPad. I don't have similar problems with any of my other contacts. Any ideas on how to troubleshoot this?

    Messages from one of my contacts shows up on my iPhone but not on my iPad. I don't have similar problems with any of my other contacts. Any ideas on how to troubleshoot this?

    Does your iPhone and iPad use the same address for Messages?
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • I cannot get a dvd to play. The error message says "media type not supported". I think it is a .m2ts. Any idea on how I can get it to play?

    I cannot get a dvd to play on my computer. The error message says in iDVD is "media type not supported".
    The DVD was produced with a video camera and is in HD format. I think the the format is .m2ts?
    Any ideas on how to get this to play?

    Check out > Mac App Store - Free MTS M2TS Converter
    and/or others at > playing .m2ts format in OS X - Google Search

  • I have purchased itunes match but the cloud will not load on my ipad 4.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?

    i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

  • Duplicates of a song on iPhone 4s but not in iTunes. Unable to delete duplicate. Won't play and won't let you swipe to delete. Any ideas on how to do so without resetting the phone?

    I have duplicates of a song on an album. One of the duplicates is grey with no album cover. When you attempt to swite and delete, the track will not delete and will not even play. I've contacted iTunes store and the person I received the support email from told me that it may not be downloaded. I emailed him back and explained that no there is no download for that song in my itunes store on my phone.
    One I never received an answer back which shows you how well these people do their job.
    Two: I really would prefer to have a solution to this problem without having to delete all of my music from my phone or resetting my phone. Because this duplicate isn't even showing up in my iTunes, it's only showing up on my phone.
    When I attempt to find it in my itunes it plays fine. But when I try to find the file to delete it, it is no where to be found. I've tried everything that I could think of to get rid of it. And I don't want to leave the album/artist off my phone because I do enjoy their music... And I have the microsoft sync in my car.
    Anyone got any ideas on how to do this without resetting the phone and/or taking my music off?

    If you have all your music on the cmputer then i would connect up my phone uncheck the Sync Music option and apply.
    This should take all the music off your phone .Then you can resync the music back on to it.
    If this doesn't work maybe a restore to factory settings and start from scratch is the way to go

  • My Iphone 5 won't show up in itunes on my computer? Any idea on how to fix this problem?

    My Iphone 5 won't show up in itunes when i plug it into my windows 8 laptop but it shows up on my computer under devices and drivers as an iphone. Any idea on how to fix this problem so I can use my phone in itunes?

    http://support.apple.com/kb/ts1538

  • I'm trying to connect my 30" Cinema Display to my new Mac Pro along with a new Apple 23'" monitor.  The new Apple monitor is fine.  On the cinema monitor everything is blown up pretty large.  Any ideas on how to solve this?

    I'm trying to connect my 30" Cinema Display to my new Mac Pro along with a new Apple 23'" monitor.  The new Apple monitor is fine.  On the cinema monitor everything is blown up pretty large.  Any ideas on how to solve this?

    The 30" display needs a DUAL-LINK adapter.
    <http://store.apple.com/us/product/MB571Z/A/mini-displayport-to-dual-link-dvi-ada pter>

  • After connecting my Apple TV this morning, I have no sound. It is hooked up to play through my television speakers. Any ideas on how to get sound? Also, I tried hooking it up through my surround receiver, but could not get it to come up on my ty screen.

    After connecting my Apple TV this morning, I have no sound. It is hooked up to play through my television speakers. Any ideas on how to get sound? Also, I tried hooking it up through my surround receiver, but could not get it to come up on my ty screen, what can I do to correct this problem?

    Have you tried adjusting the "Audio Out" and the "Dolby Digital" settings in settings > audio and video? It may be worth trying several combinations of these settings, although typically it is the "Dolby Digital" setting that causes most problems for users.
    Also make sure that you have correctly mapped the input port on your sound system to the output, if you are unsure about how to do this, refer to the manual that came with your sound system.
    Have you tried playing various content sources (i.e. podcasts, music, iTunes Store video, other video etc), do you have the same problem with all types of content? If you use optical you might also check that you can see a red light at the end of your optical audio cable. Is your optical audio cable plugged straight into your sound system, or does it go through a switch or other device?

  • I am trying to play a DVD on my MacBook Pro and transmit it to my TV (use my TV as the monitor) utilizing a VGA cable and adapter for the Mac but the only image that shows up on the TV is the MacBook wall paper, any ideas on how I can transmit to my TV?

    I am trying to play a DVD on my MacBook Pro and transmit it to my TV (using my TV as the monitor) utilizing a VGA cable and adapter for the Mac but the only image that shows up on the TV is the MacBook wall paper, any ideas on how I can transmit the movie from my MacBook to the TV?  I also tried an HDMI cable and had the same issue.

    you are probably seeing the extended display.. to see ur main display go to pefrences then display steeings and turn mirroring on.
    this will display ur mbp main screen. good luck.

  • When I switch my time capsule to 5.0ghz mode the range of my wireless network drops significantly.  Near the Time Capsule my Macbook Pro works fine, in my bedroom I have almost no signal.  In mixed mode it works fine.  Any ideas on how to get 5.0 working?

    When I switch my time capsule to 5.0ghz mode the range of my wireless network drops significantly.  Near the Time Capsule my Macbook Pro works fine, in my bedroom I have almost no signal.  In mixed mode it works fine both placed.  Any ideas on how to get 5.0 working?  I thought 5.0Ghz was supposed to have a wider range.  Do I need to change a setting on the Macbook Pro?
    Thanks, W

    I'm not sure if you understand that 5 GHz has some upsides, but also some very significant downsides.
    The upside is that the 5 GHz signal will allow faster speeds.
    The downside is that you must always give up something in order to gain something else.Unfortunately, the marketing hype about 5 GHz does not go into very many details about this.
    In the case of 5 GHz, the 5 GHz signals are much weaker than 2.4 GHz signals, so they do not travel as far or penetrate any obstructions like walls or ceilings nearly as well as 2.4 GHz signals. In many cases, in order to get good 5 Ghz performance, you literally have to have almost a line-of-sight relationship between your computer and the wireless router.
    If you have a new dual band router, which broadcasts both a 2.4 GHz and 5 GHz signal simutaneously, your Mac will connect to the best signal quality automatically depending on its location in relation to the router. In the same room, without any obstructions, it will connec to 5 GHz. But, take the laptop down the hall a few rooms and around the corner and the Mac will connect to the 2.4 GHz signal because at that location, the 2.4 GHz signal is not only stronger, it is also faster.

  • I have a new Mac Mini and I found AdWare called TakeOverSearchAssetsMac and SearchProjects on it. I have been unable to remove it. Does anyone have any ideas on how to remedy this?

    I have a new Mac Mini and I found AdWare called TakeOverSearchAssetsMac and SearchProjects on it. I have been unable to remove it. Does anyone have any ideas on how to remedy this?

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071

  • I am trying to record a from my Macbook Air and an annoying loud sound, like a burp, will suddenly erupt from the MacBook, necessitating I start again. Any ideas on how I may stop this, or what it is??

    I am trying to record a meditation from my Macbook Air and an annoying loud sound, like a burp, will suddenly erupt from the MacBook, necessitating I start again. Any ideas on how I may stop this, or what it is??

    Click on the blue Internet Recovery in nbar's post. That is a link to what computers can run Internet Recovery.
    Do a backup,  preferable 2 separate ones on 2 drives. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

Maybe you are looking for