How to set month(numeric) convert to month(name) ,datasource from QaaWS

hi, im newbie of xcelsius
i got issue for convert to month name
Data Source is connect thru QaaWS
let said Source Data look like this
country | monthnumber | revenue
US |         001 |                54564  
US |         002 |                43432
US |         003 |                97643
US |         004 |                12324
US |         005 |                34654
US |         006 |                83433
US |         007 |                54564  
US |         008 |                43432
US |         009 |                97643
US |         010 |                12324
US |         011 |                34654
US |         012 |                83433
then i map destination in xcelsius spreadsheet
country | monthnumber | revenue
(D2:D13) | (E2:E13) | (F2:F13)
i want "1" convert to "Jan", "2" convert to "Feb" , "3" convert to "Mar" .... etc...
as i know usually we can go Universe create new Dimension for set Month name by using if else statement.
but their requirement cannot use this way, must use another way to convert to month_name ...
Any solution ?
thanks,
regards
s1

Hi Leong, if you have the date object, ¿what database are you using? Maybe you can use some database functions in the universe and avoid the IF statement
Another way, is to have a formula in your excel, like this: =TEXT(DATE(2000;E2;1);"mmm")
If you put this formula in G2 and then drag up to G13, then you use this column instead of column E
Hope this helps.
Regards,
Liliana
Hi, Liliana,
I try ord , its show error. Anyway , thanks for the help.
Datasource use  SAP BW query point to unverse and then publish to BOE server.
thanks
regards
s1

Similar Messages

  • How to show montha name starting from APR to MAR

    Hi,
    How to show financial year in report .
    I.e
    When i select month column in my report i need to get values starting from APR to till MAR. Can any one tell me how to show it.
    APR,
    MAY,
    JUN,
    JUL,
    AUG,
    SEP,
    OCT,
    NOV,
    DEC,
    JAN,
    FEB,
    MAR

    Hi,
    Steps to achieve,
    1. Go to analysis pull it out your month columns two times (let rename it month Id and month name)
    2.) edit formula on month Id columns put it below contional statement
    E.x:
    Case when month name = 'January' then '1'
    When month name ='February' then '2'
    When case month name='November' then '11' Else '12' end
    3.) Go to month name columns in your analysis criteria and edit formula here u just make it first 3 char of your month name columns by using left( month name, 3)
    4 ) sort month name columns by using month id columns then hide month id columns it will work as you expected
    Another solution:
    First you need to add the function monthname in the column formula. This will give you month names.
    Ex-MONTHNAME("Cal Date")
    To sort, add bin or write case statements in other column and sort it.
    Ex- case
    when MONTHNAME("Cal Date")='Jan' then 1
    when MONTHNAME("Cal Date")='Feb' then 2
    end
    Hope this help's
    Thanks,
    Satya

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to set authorization to limint plant to craete reservation from IW32

    Please advice me how to set authorization to limit plant to create reservation from IW31 or IW32 (Maintenance Order).
    I set at M_MRES_WWA (authorization object) but it is not work.

    Hi consult.,
                      I am not very sure about the object you are using, but if it is correct(else serch for the correct object), then make a master role for the T-Codes IW31 and IW32.
    then make a drived role from the above made role, and assign the object(above searched object) in the object give the value as that of your plant, and activity as per the requirement.
    you can maintain as many derived roles as the no. of plants.
    hope it helps.
    regards,
    YK

  • How to make iTunes read the song's name/singer from the file's name itself?

    Hi everyone,
    So I have this file with songs from everywhere. I spent quite some time now to make sure that the structure of each file's name is as such : "Singer - Song name", hoping that everything would be read by iTunes accordingly. However, either iTunes read it well, or it didn't read it at all ("Singer - Song name" appearing in Title alone), or iTunes read the "media" of the file (ie. what the guy I downloaded it from wrote for it in the Preferences, which usually is in capital letters or with a bunch of weird underscores). As I'm OCD and need everything to be neat, I'm highly tensed right now. I really want everything to be neat and clear!
    So, how do I make sure that iTunes reads the files' names such that it knows the structure is "Singer - Song name"? Thanks.

    iTunes doesn't use file names to determine how music appears in your library,  Rather, it uses metadata that is split between:
    data elements that are embedded within the media files
    data elements that are included in the entries in the iTunes database
    No amount of reorganization, renaming or other manipulation at the file level will make any difference to how songs will appear in iTunes.  Using your example:
    the value of the track number element is 1
    the value of the artist element is "Elvis Presley"
    the value of the song name element is "Blue Suede Shoes"
    Depending on how you configure iTunes then the file name is either:
    completely independent of iTunes (i.,e., the file containing this song could be xyz.mp3)
    dependent on the metadata managed by iTunes, (i.e., when you have these two options set:
    then iTunes will set the file name to be 1-01 Blue Suede Shoes.mp3 where:
    the file is in a folder called "Elvis Presley" (the name of the album)
    that folder is in one called "Elvis Presley" (the name of the artist) which is in iTunes Media\Music
    Going back to your question "How to make iTunes read the song's name/singer from the file's name" the answer is simple - you can't, as this is not how iTunes works.  There are some third-party utilities that you can use to set some metadata element values based on parsing of file names which might be a useful first step.  However, to use iTunes effectively you should really forget about / ignore file names - manage your media using appropriate metadata and allow iTunes to look after file names behind the scenes.

  • How to sort month names in Design studio

    Hi Community,
       Is there any way to sort month names in proper order (ie jan,feb,mar......) in design studio!!
    Please help
    Thanks
    Vivek

    As Onur suggests, if you are using BEx Queries, it is certainly possible at least in/through BEx Queries, see this answer in another thread: Re: How to create loop in Design Studio
    Regards,
    David

  • How to retrieve month names?

    I need to get the Locale month names. How can I do it?
    I looked for it in Calendar and GregorianCalendar but don't found.
    I'm using JSE 5.
    Thanks for any help.
    U.

    System.out.printf("%tB\n", new java.util.Date()); // December, for now...Or if you need to have a reference to it...
    String monthName = String.format("%tB", someDate);Or...
    System.out.println(java.util.Arrays.toString(new java.text.DateFormatSymbols().getMonths()));~

  • How to set a bind variable into a vo query from the current vo ?

    I would like to exclude from my list of values defined in a view object the already referenced items in the current view object content.
    Let's say i have dept and emp with a many to many relationships, I would like that the already existing dept for emp not listed (excluded) in the list of values for emp.
    Do i need to define a bind parameters and set it during search or is it possible to use an expression that will refer the current row attribute representing the dept ?
    I didn't find an example or explanation how to set bind parameters defined in a view object query from seach pages or list of values ui components. May be somebody know how to find the info.
    Thank you

    I think that bind variable accessors in the VO class is what you need. You can override the getter method of the bind variable "LocaleCode2" in order to return the first 2 chars from the bind variable "LocaleCode". Have a look at this blog post for details:
    http://jdeveloperandadf.blogspot.com/2011/03/custom-java-bind-variable-in-where.html
    Dimitar

  • How to set the value of something in a component from the main application?

    Hi,
    Maybe I've been working on this too long, but I can't figure
    out how to set the value of the text property of a text input field
    in a component from my main application in an mx:Script block. I
    have a component called Login in the components folder, and I need
    to set the text value of empNum. In my mxml declaration at that the
    top, I've declared these components as xmlns:c="components.*" So
    logically, the property I'm trying to set is c.Login.empNum.text. I
    can't figure out the correct syntax to get this to work, and I've
    tried everything I can think of. Does anyone have any suggestions?
    I'm thinking this should be an easy one, and I'm just missing
    something.
    Thanks!
    Holli

    Did you try giving it an id ?
    <c:MyLogin id="loginScreen" /c>
    So later you can do loginScreen .empNum.text = "my text"
    Laurent,

  • How to set JRE 1.5.0_07 as default Java from the cmd line in Windows

    Hi All,
    We are currently in the process of upgrading our company to IE8. As MS JVM is incompatible we need to remove it.
    However, once we have done this JRE 1.5.0_07 is not the default version of Java any more for IE8.
    My question is - Is there a command line switch to set set JRE 1.5.0_07 as default Java from the cmd line in Windows. ie the setting in Java Control panel where you would tick Internet Explorer?
    Thanks in advance!

    This is to confirm a similar issue. Here is the scenario:
    We are currently using IE 6 and looking forward to upgrade to IE 8. Our current Java version is: J2RE 1.5.0_16.
    When updating from IE 6 to IE 8 with J2RE 1.5.0_16 on a test workstation, we get the following error from the Java testing website (http://www.java.com/en/download/help/testvm.xml): "load: class testvm2/Main.class not found."
    Workaround :
    -> Change Java JRE Network Settings in Control Panel to "User proxy server : xxx.xxx.xxx.xxx:xx"
    We are using an autoconfig.pac file and it seems IE8 can't parse the settings to JRE to go through the proxy.
    Please advise if you have a fix for the autoconfig.pac file.

  • How to use MONTH NAME in where condition in date column?

    Hi dudes,
    this is the table.
    sql>desc ACMINUTESPDFTEST;
    Name Null? Type
    ACDATE DATE
    TYPES VARCHAR2(10)
    here i have tried the following 2 queries,but i could not get the correct result
    select types,seqno,acdate from ACMINUTESPDFTEST where acdate like to_date('NOV','MON');
    or
    select types,seqno,acdate from ACMINUTESPDFTEST where acdate = to_date('NOV','MON');
    (for both the query the output is same)
    TYPES ACDATE
    PINK 01-NOV-10
    but the table having following data:
    TYPES ACDATE
    PINK 14-NOV-10
    WHITE 15-NOV-10
    PINK 01-NOV-10
    Any suggestion why i could not get correct result.

    bharathit wrote:
    Thanks for toon and divya...it solved my problem and my question how will you select between two months..
    select types,acdate from ACMINUTESPDFTEST where to_char(acdate,'MON') >= 'SEP' AND to_char(acdate,'MON') <= 'OCT';
    and i got
    no rows selected
    Edited by: bharathit on Nov 2, 2010 10:37 PMIf you're interested in finding dates in a range of months regardless of the year then try this:
    select ...
    from   ...
    where  to_number(to_char(date_column,'MM')) Between 9 And 10;You could also do something like:
    select ...
    from   ...
    where  to_number(to_char(date_column,'MM')) In (1,4,7,10);If you are interested in dates in a range of months in a particular year however, use something like this:
    select ...
    from   ...
    where  date_column >= date '2010-09-01' and
           date_column < date '2010-11-01' and

  • How to set a numeric field to the difference of two dates?

    hi,
    I need to create a table with a field containing a date (by def. current date) and another numeric field whose value is to be set to the difference (in days) between the current date and the date field. Something like this.
    CREATE TABLE Tabdate
    (fdate date default sysdate,
    difference number default (sysdate-fdate))
    I get this error:
    column not allowed here
    How can I do? please help me
    thanks
    Antonio

    You cannot set field values as defaults. Create a pre-insert/update-trigger instead.

  • How to get month name in report

    Hi
    I want to know is there any way that we get name of the month in the report when we display.
    eg: 04.2006 needs to displayed as April 2006.
    Please let me know

    Hi Amith,
    It is possible. Use a text variable of type replacement path in the column/report heading for characteristic 0CALMONTH. For displaying the key (for example 01.2007) you can use a SAP standard text variable. There's no need to create a new one.
    If you want to show text (Eg: Jan 2007) just create a new text variable of type replacement path and chose Text instead of key. Hope this helps.
    Sumit

  • How to set default to convert a document to a black and white pdf file?

    I have dozens of color Word files that I need to convert to black and white pdf files on a weekly cycle.  I figured out that I can do this for individual files by clicking "print", "properties", then choose the "paper/quality" tab, and then click on "black and white".  However, I cannot make the "black and white" selection permanent.  That is, the next file requires me to go through the same four-step process to convert a Word file to a black and white pdf file.  Any suggestions on how to make the "black and white" selection permenant?

    Sorry.  I forgot to mention that I am using Acrobat Adobe Pro 9.4.2.

  • How to set the numeric format through the API

    Hi,
    I have an utility that imports limits from external resources and in that utility (C#) I would need to modify the numeric representation  so that what is defined as hexa in the external resource to be displayed as hexa after importing to TS as well.
    Can U help me out if this is possible with the API and if so, what is the right methods for it?
    Thanks in advance.

    Hi again,
    I didn't find straight solution yet, but I think it is good way around:
    http://digital.ni.com/public.nsf/allkb/1304B337E03E2E1A86257ACD004BAB06
    If you want hexadecimal representation you need to change "%b" to "%x". I'm still keep looking for a better solution...
    Best Regards

Maybe you are looking for