Changing plain text date number to the actual month

Building an analysis using OBIEE version 11.1.1.6.8.
We have a date table named "History-Period"."Fiscal Month" and it uses 1,2,3,4,5,6,7,8,9,10,11,12 as months.  1 should be October, 2 should be November...12 should be September.  I've tried a simple CASE WHEN "History-Period"."Fiscal Month" = 1 THEN 'October' but it does not work.
I  believe the numbers are in a plain text format.  Do I need to cast this as a different data type?
PS:  There is also an actual "History-Period"."Month" table I could use where it provides the actual month, but it does not place them in fiscal year order (or any logical order to be honest).
Thanks in advance!

Hallo,
If your data in History-Period is of type text, then try adding single quotes round the number in your case statement.  For example:
CASE WHEN "History-Period"."Fiscal Month" = '1' THEN 'October'
Or perhaps you could add a column to the History.Month table to give the order?
Regards,
Ian Bristow

Similar Messages

  • Hi all when I send a text to a contact (iphone4s) the contacts name changes to a phone number and the name is lost. I then have to resave it again, googled it but can't see anyone with the same issue, any ideas ?

    Hi all when I send a text to a contact (iphone4s) the contacts name changes to a phone number and the name is lost. I then have to resave it again, googled it but can't see anyone with the same issue, any ideas ?

    There is another setting for "Start Conversation from", that needs to be set to phone number.

  • How to correctProcess Order confirmation data posted in the previous month

    Hi All PP Gurus,
    Can anybody tell me the answer of following
    How we can correct the process order confirmation data posted in the previous month.

    Dear Ashok/Brahmankar,
    Actually i am facing the following problem:-
    1) If you cancel the confirmation done in the previous month by the tcode CORS, the CO document is posted in the previous period because we cannot change the posting date in CORS. But the previous period is already closed.
    Can we change the posting date in CORS manually? Or do you have any other idea? 
    2) When reading the master data in COR2, I face the error because the status of PO is already set as 'DLV'.
    Do we need to read the master data even when the value is changed in KP26?
    Thanks,
    Narayan

  • How do I write a vi that will save graph data and text data (related to the graph) so the next time I want to view the graph data the text data is included in the read vi?

    I am new at writing vi's and hope you may be able to help. I would like to create a vi that will graph measurements taken from a daq device. I would like to include text data that a user can choose from (example: machine number, test circuit, load cell type) that will stay with the graph so when the graph is viewed at a later time the text data (explaining parts of the graph) will display with the graph data. I have included a vi I am using to capture and display a force value. Any help would be greatly appreicated.
    Attachments:
    force.vi ‏500 KB

    What you want is a DATALOG file:
    When you save a file, use the BUNDLE function to bundle your machine number, test circuit, whatever (include a few spare fields), plus your graph data. Get the graph data from the source, or use a local variable of the graph itself.
    Wire the bundle output to the DATALOG TYPE of a NEW FILE function. (I presume you'll use a FILE DIALOG set to SAVE FILE to choose a file path).
    Write the same bundle output to the DATA input of a WRITE FILE function.
    Use a CLOSE FILE function to (ahem) close the file.
    When you want to read a file, use a FILE DIALOG set to EXISTING FILE (or some other means) to specify what file to read. Wire the same cluster type to the DATALOG TYPE of the FILE DIALOG, so that it will only
    offer files of the correct type.
    When you have a file path chosen, wire the bundle to the DATALOG TYPE input of a FILE OPEN operation.
    Use a FILE READ to read a single cluster - the output of FILE READ will be a cluster of the right type.
    Use a CLOSE FILE function to....
    Out of the FILE READ function, you can UNBUNDLE BY NAME the data and send to the graph and the other fields, or, if you're clever, you can use a cluster on the screen, and not unbundle it. That's harder though, since you probably want the text fields to be controls (inputs) and the graph to be an indicator (output).
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How to add text after number in the same cell? "200 units", "3Kg", "17 sqm"

    Dear Sirs,
    I have problem with adding text after a number in the same cell.
    For instance, in excel I am able to do this:
    200 units -----> this is on the same cell. Any number I type, "units" will follow automatically.
    I know that we can just type "200 units" but its in text format so it cannot be calculated supposedly I want to multiply it by others number.
    I know that we can do this by splitting into two cells, one on the left for the number "200" and another one on the right for the text "units".
    It would be helpfull if we could do this function such as "20 years", "3Kg" etc.
    Sorry to trouble you all.
    Thank you
    Q

    This is a case of uneven implementation in Numbers. This sort of functionality is available to format numbers used to label axis ticks on various charts, but not to format numbers in a cell. This feature should be requested.
    As an aside, perhaps a spreadsheet that actually managed numeric units as part of the calculation would be powerful and useful in avoiding formula bugs, something like is available in Google calculations. If you are unfamiliar with this, try one of the following examples typed into any Google search entry field:
    150 miles per gallon in liters per 100 kilometers
    100 * 20 yards / 40 minutes in mph
    Read more at http://www.google.com/intl/en/help/features.html#calculator

  • Changing a shot-date without losing the order in PSE8

    I'm a new user of PSE8 and have tripped over an annoying problem.
    I have a couple of thousand old family photos that I had scanned and am now organing.  Besides the normal tagging and adding a caption, I want to override the scanned date (which is what PSE thinks was the shot-date) with our best guess at when it was really shot.  That can be 80 years ago.  So I right click the photo, choose "Adjust date and time" option, and revise the date.  Works like a champ, except...
    Except when I do, PSE8 automatically and immediately reorders the photo by date.  So now when I want to go to the next photo in the set I'm working on and click forward, I get some other photo I've already worked on, not the next one I was expecting.  As you can imagine, the more photos I work on, the more time it takes to sort through all the photos previously date-changed to find the next photo yet to be date-changed.
    Is there a way to tell PSE8 to display my photos in order of name rather than in order of date shot?  The scanner service I used automatically created file names with an ID and a sequence number.

    PSE8 gives me two display options that I can find -- oldest first, and newest first.  It seems (reasonably so) that the date the photo was scanned is interpreted as the date it was shot.  So when I use PSE8 to change the date the photo was shot, the photo instantly gets re-ordered among all the photos I have.  Normally that would be fine, because after I put in the correct date for all my photos, I do want to display them in date order.  But I don't want them in date order when I have just loaded 100 newly scanned photos into organizer and I want to spend an hour changing the date on each one in turn.
    I was hoping to find a third display option -- file name sequence.  Doesn't seem to be there.  If not, can any of you PSE gurus think of a way to temporarily keep a set of newly scanned, newly loaded photos in their original sequence long enough for me to go through them one-by-one and change the date?
    Jim in San Francisco

  • Imessage on Mac has my wifes phone number and its greyed out and i cant change it to my number (on the beta version of iMessage for the mac)

    hey-- so iMessage on ONE computer has my wifes phone number in under iMessage and its greyed out and i cant change it to my number.  any ideas?  ive done what people have suggested on these forums, e.g., check your apple id make sure your number is associated with it etc.  how do i change the iMessage number from my wifes to my actual number?  thanks! R

    HI,
    This can depend on the the Apple ID that is used.
    I was under the impression that the invididual parts of an iCloud ID could be "registered" separately for iMessages but this may not be correct.
    I have an Apple ID that is based on a email from a source external to Apple. (an old Dial-up account email)
    I registered this for iCloud and at the time got an @me.com name as well.
    I also have two iPhones so I decided to use the @me.com name on one iPhone and the older Dial-up on the other.
    This seemed to work up to the OS X10.8.2 and iOS 6 updates.
    AT this points I did the OS X one first then the iPhones
    I got alerts in Messages on the Mac to add the Dial-up ID iPhone's number to Messages which I accepted.
    The Messages Menu > Accounts > iMessages showed the iPhone Number as an alternative Receive ID and offered itself in the Drop as the Send from ID.
    I then set up the second iPhone and got an alert in Messages to add the Apple ID and the iPhone number to Messages.
    I said no to this.
    At iOS 6 this did not get added to the Messages > Preferences > Accounts > iMessage panel.
    However at iOS 6.0.2 the iPhones are showing their own Numbers as Greyed out  and even though I refused again the @me.com ID and second iPhone's Number they have been added to the Message Menu > Preferences > Accounts > iMessages pane although they are not ticked.
    The only link these two Apple ID Names have is that they are both associated with the iCloud Account.
    (I Can log in to the same iTunes account with either name, and post here, and access iCloud in a web browser - the password is the same).
    I have successfully managed to get one iPhone to have it's greyed out Number ticked so it can accept iMessages sent to the Number.
    This involved removing the Apple ID on that iPhone, Closing iMessages, restarting iMessages and then re-adding the Apple ID
    I did get an alert to say the ID  would not work anywhere in iMessages when removing it.
    It was 24 hours before I got an alert in Messages again to add the iPhone Number and Apple ID (I said no and they are not active but do show in the iMessage account on the Mac)
    I am a little confused by this bit:-
    ...ONE computer has my wife's phone number in under iMessage and its greyed out ...
    I can see the iPhone Numbers in Messages Menu > Preferences > Accounts >iMessages Account pane but they are not greyed out even when not active
    They are only greyed out on the iPhone's themselves.
    I would also make sure the Apple IDs used on each computer and it's related iPhone are separate from each other.
    9:52 PM      Tuesday; November 27, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Date/Time of the actual production in REM

    Hi experts,
    In REM, we need to confirm the actual date/Time of the beguining/End of production in MFBF.
    What i have to do?
    Thnaks in advance.

    Hi,
    This requirement is not possible in REM.
    You need to do the Backflush periodically, start and end of Production is not possible..
    Regards,
    Siva

  • Changing song info in Itunes and the actual file names

    How can I change the song info in iTunes and make it change the actual file names?
    It gets a bit tiring after every single time iTunes updates I have to re-organize my 3000+ songs. I tried to do a quick search for an answer in the forums but I wasn't exactly sure what I should search for so sorry if this is a duplicate post.
    Is this possible? (does this make sense?)
    Thanks!

    I have the option checked and I made several changes to the ablums name and song names for several songs in my library. iTunes changed the files to the new folder names and renamed the files.
    The only problem is that I have empty folders of the old album names.
    Mark

  • Text Data Value of the Customer Master

    Dear All,
    I have created a new text types for the customer as Z001 and Z004.
    But now i want to create report with the customer and value maintain in those text fields. I'm little confuse how take the values. I know i have to go to the table STXH but i cant see the text value which i have entered under the text field.
    Please help me to solve the above.
    Thank U
    Yasanga

    Dear Yasanga,
    As suggested by SAP2000, the usual method to read text is by using the function module 'read_text'
    you have to give the text id/ object/ language etc and system will give the text assigned to the customer master.
    If there is any trouble, please revert back.
    Thanks & Regards,
    Hegal K Charles

  • How to get the WD port number of the actual system?

    Hello everybody,
    In my application I'm calling a Sap Gui transaction through an ITS WebGUI link that is generated dynamically by an action method. Works find so far.
    However, as the code has to run on various systems (development, test, production) I also have to generate the system and port name dynamically. System name is no problem, but how can I get the WD port of the actual system? Is there any method or variable for that? Couldn' find anything so far...
    Thanks in advance for any help!

    Hello,
    As Thomas mentioned, you have to use the utility class to construct the URL for any application.
    you have two options here
    Option 1 -> Prefix your generated WebGUI link with '/' and pass it to the method CL_URL->HOST in the URL parameter. this method will prefix the corresponding http:<host>:port to the passed in URL.
    Option 2 -> you can directly use the method CL_URL->ITS to generate your entire web GUI link.
    BR, Saravanan

  • Finding date,day of the whole month

    dear members,
    can i find the date, day of a specific month in a query. Is there any default functionality, or built-in.
    e.g. select date,day
    from .........
    where month='JAN';
    date day
    01-01-2011 sunday
    02-01-2011 monday
    31-01-2011 tuesday
    thanks.
    teefu.

    Dear,
    There is someone here in this otn site who wrote a very nice sql script which gives a kind of calendar. I have sligthly updated his script as follows
    with x
               as (
            select *
              from (
            select to_char(trunc(to_date('01062011','ddmmrrrr'),'mm')+level-1,'iw') wk,
                  to_char(trunc(to_date('01062011','ddmmrrrr'),'mm')+level-1,'dd') dm,
                  to_number(to_char(trunc(to_date('01062011','ddmmrrrr'),'mm')+level-1,'d')) dw,
                  to_char(trunc(to_date('01062011','ddmmrrrr'),'mm')+level-1,'mm') curr_mth,
                  to_char(to_date('01062011','ddmmrrrr'),'mm') mth
            from dual
           connect by level <= 31
           where curr_mth = mth
          select max(case dw when 2 then dm end) Monday,
                 max(case dw when 3 then dm end) Tuesday,
                 max(case dw when 4 then dm end) Wednesday,
                 max(case dw when 5 then dm end) Thursday,
                 max(case dw when 6 then dm end) Friday,
                 max(case dw when 7 then dm end) Saturday,
                 max(case dw when 1 then dm end) Sunday
            from x
           group by wk
           order by wkSorry I didn"t find the original post in which this sql has been initially posted
    Hope this helps
    Mohamed Houri

  • Text data source for the field Position(PLANS)

    Hi Experts,
    I have an infoobject ZPOSITION which i am using in a cube for this i can able to display key values but i want to display text for this ZPOSITION. The source for this field is Position(PLANS) which i have tacken from pa0001 table.
    I have an another infoobject 0HRPOSITION for this i have already loaded data using data source 0HRPOSITION_TEXT.
    Is there any other text datasources for this field Position(PLANS)?
    And
    Is it possible to load data from one info object to another info object?
    Regards,
    Sridhar.K

    Hi Sridhar,
    Check out in the infotype PA0001 for the check table for this field. In this table you will have the description for the field PLANS (Position).
    I request you to catch hold of functional HR team member to know where the text value for the Position (PLANS) is stored. You can get the info from them immeadiatly.
    After knowing the table where the text values for Position (PLANS) are stored, you have to create a text datasource using RSO2 transaction and replicate in BW and load data from the R/3 table.
    Hope this helps you.
    Regards,
    Saravanan.

  • FM req to read the text data of the Delivery(TCode-VL02n) In MM

    Hi
    Plz tell me the way to read the text data stored in the TAB->TEXT in the TCODE-VL02n for outbound delivery in MM.
    I need the WMT Quanity filed name & its respective table,plz tell me if any one know or if exots there an FM to fetch this data.
    Regds

    Try it like this:
          call function 'READ_TEXT'
            exporting
              id              = '0001'       "<------This will change for type of text
              language        = sy-langu
              name            = tdname
              object          = 'VBBK'
            importing
              header          = xthead
            tables
              lines           = tlinetab
            exceptions
              id              = 01
              language        = 02
              name            = 03
              not_found       = 04
              object          = 05
              reference_check = 06.
    Also, read the documentation that comes with this function module.
    Cheers,
    Sougata.

  • Unable to see text data in the reporting bw 3.5

    Dear Gurus,
                         My clinet wants to see the text data for all the records in the reporting.unfortunately he cant see text data for only 5 records in the colum. i checked in the query designer for that object ,in properties its given as key and text. can any one suggest me why the text data is not comming for only that records..
    Thanks in Advance.
    Srikanth.

    Dear Pavan,
                            Thanks for the reply, the query properties are already set like key and text before, the problem text is showing to all the records except 6 records,for this 6 records in the place of text it is showing only same technical name..please guide..
    Thanks,
    srikanth.

Maybe you are looking for

  • New feature BD87 in ECC 6.0 ?

    Hi, In the first screen of BD87 that you see with all your idocs we see message: "Could not find soldto belonging to &" I we double-click on the message, it give several idocs with the same error, but only then the &  has the correct value filled in.

  • How to add a custom Project field in the "OData Projects Data.odc" connection file? Project server 2013

    Hi, I created a project Enterprise field named "Countries and Cities" which contains a lookup table with information such as "USA.Seattle". How can I add this field in the oData connection file? Thanks 

  • CE 7.2 - Service Registry connection error

    Hi all, While testing our provider systems in our soamanager, I found following error: Do: SOAManagement - Technical Configuration - System Connections - Provider systems => Ping system Error: No connection to Services Registry available. Set it up u

  • Still about domain alias and domain migration

    Our company is under a domain name transition. Currently, our domain is lab.D.com, and we are moving to aaa.com.During the transition, we wish both domains could work for us for a long time. I added a domain alias aaa.com for our domain lab.D.com, th

  • TM can see a file saved in the future? I'm confused

    Hi All, I am have been using Time Machine for about a month. When I say using, I have never had to restore a file; my external drive just sits there doing its TM thing. Well, last night I needed to restore an important file and it didn't work. So eit