Wanted to have all previous 6 Months name in sequence....

Hi
I am using BI BEx Designer tool for generating a report on month basis having 0CalMonth on column side like Jan'10 to Jul'10.
Now the problem is if there is no transaction for any month then we wont' get that month name in the report, but i wanted to show all the last 6 months Names in sequence for the data & should show the char value 0 for the month which we dont have trx.
How to do it. Pls let me know if you find any solution on this.
Thanks...

Build a structure In the query designer, containing 6 elements:
The 1st one you filter on JAN and name January, the 2nd one you filter on FEB and name February, etc...
In the query properties you have to make sure you have no zero compression active.
This way the structure will alway display and a zero will show even if you don't have any transactions in the cube.
Best,
Ralf

Similar Messages

  • I want to get all the user name form LOGIN table ... how help me ?

    hi all
    I have table in MS Access databse called Login with two coulmn (User, Password),
    I want to get all the User Name in a string[] called USER,
    (LIKE USER = {"AA","BB","CC",........"zz"};)
    can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
    so plz someone send me a code.
    Thanx
    Regards
    Satinder

    I made something like this as He pasted the the code above and u know this works for me atleast thanx
    kind regards
    satinderjit
    String User[] = new String[1000];
    try
    //Load Driver
    Class.forName(driver);
    // Make Connection
    connection=DriverManager.getConnection(url,user,password);
    // Create Statement
    statement = connection.createStatement();
    sql = "SELECT User FROM Login" ;
    // Create Resultset
    rs = statement.executeQuery(sql);
    int j=0;
    while(rs.next())
    User[j]= rs.getString("User");
    j=j+1;
    for(int i=0 ;i<J;i++)
    Form.C_Manager.addItem(User);
    statement.close();
    //rs.close();
    connection.close();
    catch(ClassNotFoundException cnfex) {
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Failed to load driver..."+
    "\n"+cnfex.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);
    catch(SQLException sqlex){
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Unable to connect to Database..."+
    "\n"+sqlex.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);
    catch(ArrayIndexOutOfBoundsException e){
    //show message
    JOptionPane.showMessageDialog((Component) null,
    "Unable to Load User Name..."+
    "\n"+e.getMessage(),
    "Error...",
    JOptionPane.ERROR_MESSAGE);

  • I want to get all the User Name in a string[ ], but How..... don't know

    hi all
    I have table in MS Access databse called Login with two coulmn (User, Password),
    I want to get all the User Name in a string[] called USER,
    (LIKE USER = {"AA","BB","CC",........"zz"};)
    can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
    so plz someone send me a code.
    Thanx
    Regards
    Satinder

    Well, the biggest problem is that you don't know (probably) a head of time how many names are in the table.
    So i'd first stuff them into a managed array such as ArrayList
    So you'd
    (1) Iterate over the resultset
    (1.1) for each row call getString() on the user field
    (1.1) call add on the ArrayList to add the string
    (2) Call toArray on the ArrayList to convert it to a plain array
    (NOTE: you will have to pass a String[] {""} arg as a parm to
    toArray() to get the right type of array.)

  • Hey! I would like to get an iPhone 5s, but I want to have all my saved information (Apps, Reminders, Games, etc.) I know I can use iCloud backup, but does that save absolutely everything or do I need to for example write my reminders down?

    Hey! I would like to get an iPhone 5s, but I want to have all my saved information (Apps, Reminders, Games, etc.) I know I can use iCloud backup, but does that save absolutely everything or do I need to (for example) write my reminders down somehere?

    What iCloud backs up
    Purchase history for music, movies, TV shows, apps, and booksYour iCloud backup includes information about the content you have purchased, but not the purchased content itself. When you restore from an iCloud backup, your purchased content is automatically downloaded from the iTunes Store, App Store, or iBooks Store. Some types of content aren’t downloaded automatically in all countries, and previous purchases may be unavailable if they have been refunded or are no longer available in the store. For more information, see the Apple Support article iTunes in the Cloud availability by country. Some types of content aren’t available in all countries. For more information, see the Apple Support article Which types of items can I buy in my country?.
    Photos and videos in your Camera Roll
    Device settings
    App data
    Home screen and app organization
    iMessage, text (SMS), and MMS messages
    Ringtones
    Visual Voicemail
    Your iOS device backup only includes data and settings stored on your device. It doesn’t include data already stored in iCloud, for example contacts, calendars, bookmarks, mail messages, notes, shared photo streams, My Photo Stream, and documents you save in iCloud using iOS apps and Mac apps.
    http://support.apple.com/kb/PH12519?viewlocale=en_US

  • Getting data in a query on last date of all previous months

    Dear Experts,
    I need your help with a query.
    I am trying to create a query which when run should pick the number of Open Sales Order on the last date of all the previous months from the start of company.
    I could create the query for fetching the required data on last day of the previous month, say today is 25th June 2014, so my query only fetches data for May 31st 2014 but I need data for all previous month, May 31st 2014, April 30th 2014, March 31st 2014 & so on.
    Please advise how to achieve this is SQL query.
    Thanks & regards,
    Nitin

    Hi,
    Try this:
    Select *
    from(
    SELECT T0.[DocNum] as #,t0.cardcode as C, t0.docdate
    FROM ORDR T0
    WHERE T0.[DocStatus] = 'o' and T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-1,0)),10) OR T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-2,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-3,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-4,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-5,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-6,0)),10) or T0.[DocDate]  = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-7,0)),10)
    group by t0.cardcode,docdate,T0.[DocNum]) S
    pivot
    (count(#) for c in([cvt01],[cvt02],[cvt03],[cvt04],[cvt05],[cvt06],[cvt07],[cvt08],[cvt12])) P
    Note: Replace Cvt01,02...with your customer code.
    Thanks & Regards,
    Nagarajan

  • I just got an iPad 2 and have not yet synced to my computer. I don't want to have all the duplicate songs in my iTunes. How do I get rid of duplicates?

    I just got an iPad 2 and have not yet synced to my computer. I don't want to have all the duplicate songs in my iTunes. How do I get rid of duplicates?

    You don't say whether you are on PC or Mac. For Mac there are these two programs which might help (I havn't tried either) :
    http://www.apple.com/downloads/macosx/ipod_itunes/songsergeant.html
    http://www.apple.com/downloads/macosx/ipod_itunes/idupe.html
    There are probably similar programs for PCs, but I don't know what they are. On a PC you can hold the shift key and do File > Display Exact Duplicates (without the shift they may not be exact matches) - if one of each duplicate pair has the same date added then you can sort by that and then delete those with (or without) that date.

  • I got a new iPhone yesterday. The sales people set it up to use. I want to have all the apps, pics, etc from my iPod to be on the new iPhone. How do I do this from my iCloud backup  of the iPod??

    I got a new iPhone yesterday. The sales people set it up to use. I want to have all the apps, pics, etc from my iPod to be on the new iPhone. How do I do this from my iCloud backup  of the iPod??

    http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US
    Go to Settings>General>Reset and tap Erase All Content and Settings.  This will erase your device.  Then you will go through the setup screens again as you did when your device was new, and when given the option, select Restore from iCloud Backup.
    This link gives another overview of backup and restore:
    http://support.apple.com/kb/HT4859?viewlocale=en_US&locale=en_US
    Be aware that photos should always be synced to a computer for archiving and that relying on a restore from an icloud backup may not return all (or any) of your photos.  Once on the computer, you can sync the photos to the new device...
    Syncing Photos:
    From device to computer...
    http://support.apple.com/kb/HT4083
    From computer to device...
    http://support.apple.com/kb/HT4236

  • HT201320 I want to have all the facilities of my Ipad obtained for my e mail address, available for another e mail address belonging to my wife. Anyone know how I set this up please?

    I want to have all the facilities of my Ipad obtained for my e mail address, available for another e mail address belonging to my wife. Anyone know how I set this up please? I am a new user and long in the tooth so any help would be much appreciated.

    What do you mean by "facilities of my Ipad obtained for my e mail address"?
    Do you mean you want to setup your wife's email account on your iPad? Or something else?

  • Function to get all the months name of a year from dual

    HI GURUS
    Is there any function to get all the months name of a year from dual
    thanks in advance

    What about this --
    satyaki>
    satyaki>select months_name
      2  from (
      3         select to_char(add_months(trunc(sysdate,'YEAR'),rownum-1),'MONTH') months_name
      4         from dual
      5         connect by rownum<=12
      6       );
    MONTHS_NAME
    JANUARY
    FEBRUARY
    MARCH
    APRIL
    MAY
    JUNE
    JULY
    AUGUST
    SEPTEMBER
    OCTOBER
    NOVEMBER
    MONTHS_NAME
    DECEMBER
    12 rows selected.
    satyaki>Regards.
    Satyaki De.

  • I want to see the previous month workload statistics for my system.

    Hello,
    I want to see the previous month workload statistics for my system. When I go to st03n ->expert mode, go to month view and when I click on previous month workload analysis I see data for 12 days only. However, the data is available in weekly view.
    What can be the problem?
    Please help.

    which version of SAP System you are using
    try this option ST03N -> Expert mode -> Total -> Choose the month

  • Want to see the previous file name in the selection screen field

    Hi,
    I am working with flat file upload. Now my problem is in the selection screen field when i press space bar or backspace i want to see the previous file path which i have taken before. How to do this functionality.
    Thanks in advance,
    Vijay.

    Hi,
    Hope the following code will help u.
    PARAMETER: in_file type ibipparms-path MEMORY ID FID.
    at selection-screen on value-request for in_file.
      call function 'KD_GET_FILENAME_ON_F4'
        exporting
          mask      = ',CSV,*.csv,'
        changing
          file_name = in_file.
    But here when u give a path and execute and come back or executing it again the previous path will automatically come to the in_file field.
    Just check this code.
    Thanks.

  • 8300 I want to erase all the #'s & names all at once, not one at a time.

    How do I erase all of the information I have put into my 8300?  I know I can do it one at a time, but I have over 800 entries.  How do I do it all at once?

    Hi and Welcome to the Forums!
    Since you did not clearly say, I'm going to assume you want to delete all personal data from your BB -- contacts, calendar, emails, etc...everything...
    KB16307 Actions that the BlackBerry smartphone performs during a BlackBerry smartphone wipe processes
    KB14058 How to delete all data and applications from the BlackBerry smartphone using the Wipe Handheld option
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Want to buy a new iPad. Want to have all from the old one. Is a back up from time machine sufficient to reinstall all (programs like keypad etc. included?

    Want to buy new iPad. Want to keep all data and programs Ihave in the old one. Is a backup from time machine enough to get everything from the old one to the new one?

    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
     Cheers, Tom

  • After downloading ios 7 do I still have all previous info?

    Good evening, have iphone 4s, and ios 6. When I download ios 7, do I still have all contacts, and photos, etc? Thanks.

    make sure you export your photos to your computer, backup your contacts and create a backup of your phone and you should be fine.  My phone is the same as it was except for the new iOS

  • I ve got a macBook with two different users. My husband wants to have all the music (our CDs which I copied to my user itunes library) on his new ipad which is registered on his name with itunes. But it does not work. Can we and if how have the same music

    See question above in title.

    There is no "adding" a device.  Simply plug the iDevice into the computer.  iTunes should automatically detect the device when it is connected.
    iTunes can sync/manage as many iDevices as you want... there is no 1 device limit.

Maybe you are looking for

  • Error compiling package

    Dear all, When compiling A package,am getting the following error: ERROR at line 1: ORA-04030: out of process memory when trying to allocate 4108 bytes (PLS non-lib DB Version : 10.2.0.3.0 OS : Windows 32 bit SGA_MAX_SIZE and SGA_TARGET=1.5G Shared_p

  • Urgent Updating Problem!!!

    When ever i try to update my ipod it says "the disk could not be read from or written to." please help me!

  • Sorting Timestamp Column in Datagid

    HI All, How can we Sort the TimeStamp Column (Ex: containing 02/05/2007 16:44:03) in a DataGrid. Please help me Thanks a lot PSamanth

  • Early testing of new firmware for Motorola SBG6580

    There is a new firmware available for Arris/Motorola SBG6580. Firmware: SBG6580-8.6.2.0-GA-00-131-NOSH I need a few beta testers to test this new release. In case you come across any major issues, feel free to contact me. Your valuable feedback is mu

  • Enable Final Cut Studio color compatibility

    I was wondering who has this function available in the QuickTime player preferences. If you go to QuickTime>Preferences do you see a checkbox for this as the last item in the General prefs panel? What I'm trying to find out is if this is available to