Creating an OBIEE analysis that uses a filter to group items in a column

I am needing to group several elements in an analysis that I build in OBIEE 11g

In my field, I have a table called result_code. The codes are numeric starting with 100, 200, 300, 400, etc. all the way up to 900. I want to put codes 100-400 in a group called 'Success' and to put codes 500-800 in a group called "Fail", leaving the 900 for a group code called 'unknown '.

I'm doing it through a filter of analysis by selecting 'SQL expression' under ' add more Options and enter the instruction box below.

SELECT case when result_code = '100' then 'Success'
When result_code = "200" and "success".
When result_code = '300' and 'Success'
When result_code = '400' and 'Success'
When result_code = "500" then "go bankrupt".
When result_code = "600" and "bankrupt".
When result_code = '700' then 'failure '.
When result_code = '800' then 'Fail '.
another case of end 'unknown '.
OF 'results '.

I get a syntax error when I try to run it. I don't know if entering an expression SQL is the right way to address the issue. What is the best way to group items in a filter? If a SQL expression is the right way to go on what should the syntax look like?

Hi MJ,.

To meet the syntax error, the case statement must end with just a 'end' and not a 'end case. But I think that you can directly create a new column in the criteira for grouping in the analysis. You don't need to create a filter for it.

I can think of the following way to get what you're trying to do:
1. use locations as Naveen has suggested. That would be the best way that binning is a feature provided by OBI to reach exactly the same thing.
2. try your way. From the result code in a column of answers
3. create a new column to the RPD/database for the populous result code. If you have answers adhoc users, will save their efforts to derive the result every time code.

Hope this helps,
Gerard

Published by: gauravnankar on April 2, 2013 22:51

Tags: Business Intelligence

Similar Questions

  • LabVIEW FPGA: Not possible to create an executable file that uses the FPGA in Simulation Mode? I get a weird error code

    When I try to create an executable from a host VI that has an "Open FPGA VI" reference who has run, the value "Dev computer w / Sim i/o" value, the application is built without error but when I try to run it, it opens with an arrow broken to run and has the following error:

    "VI has an error of type 2302200.  The full development of LabVIEW version is necessary to correct mistakes. "In fact, he repeats this message two times in the same window for some reason any.

    Moreover, I * have the LabVIEW full development version and I use 2010 SP1

    While the error message is not as clear as it could be, you're right: you cannot run an executable file that tries to run an FPGA VI in the simulation.  It would be nice if there was an error in compiling.  I always forget to switch to run on the target FPGA before building my application and discover the error until I have it copied on the system in the laboratory.

  • LabVIEW created DLL that uses Labview live integrated Toolbox "DFD" (Digital Filter Design)

    We were using a Labview created the DLL file that uses the screws of the DFD Toolbox, but were not able to operate at all. Now, we have replaced the DFD screws with screws that built us, and the DLL file works fine. Is there a reason for this?

    Even if it works, this process is medium long and it's a waste of time because the DFD screws are already being implemented, so we need a quick fix for this, any suggestions.

    When you use the DLL that uses the DFD screws, it always seems to be a failure when loading the DLL file specific screws, anyone know why? Screw looking for Labview is in a way that looks at "DllFileLocation.dll------Labview 2009------vi.lib------...» "

    Thank you

    Walid Farid


  • BI Publisher settings when using the OBIEE analysis as the data set

    Hello world

    I've created a BEEP report with an existing OBIEE analysis as all data in the data model. I'm stuck with parameters.

    In modeling data for BEEP Guide, section 2.8.1 the following text is displayed: "settings and the list of values are inherited from the analysis of BI and they display running." BI analysis must have default values defined for the filter variables. »


    When he says of parameters and LOV is inherited from the analysis of BI, what is he referring to OBIEE analysis? And when he says "'filter variables" what is it referring to the analysis of OBIEE? " What should I do on the side of the OBIEE analysis, to activate the settings side BEEP report...?


    Thank you

    I managed to get this working. The documentation is very vague. The BEEP report gets the parameters 'default' and LOV based on the presentation and the column variable in OBIEE analysis he uses as a data set. You can't see these variables as parameters on the BEEP report presentation.

    If you need to use variables of presentation on OBIEE analysis, with a default value. Then create the report BEEP with this analysis, as the set of data. Don't create settings on the side TONE. The BEEP report on a dashboard and there you go, the BEEP report data will be filtered according to the value of the variable of presentation.

  • I established a network of Windows 7 by using W7 Professional, XP Pro. If I create a homegroup, will that later make it difficult for me to add the XP Pro machines to the network?

    Hello

    I established a network of Windows 7 using W7 professional.  I have some other HPs running XP Pro.
    If I create a homegroup, will that later make it difficult for me to add the XP Pro machines to the network?
    I don't understand this aspect.

    So I think you brought me in my next question.

    I need to set up a working group to allow access to XPs, in addition to the homegroup that I use for my Win 7 machines?

    Yes, it's true.

  • How to identify all the analyses using a filter based on the findings of another analysis

    How can I identify all analyses in the catalogue that contains a filter based on the results of the analysis another? Due to limitations on TimesTen, we remove all instances of the filter based on another feature of analysis completely.

    Christian Berg says:

    do research on the physical files in the file system

    A quick test, I guess you want to get the assuming you are on Linux, grep would be:

    oracle@demo:SampleAppWebcat () $ grep --files-with-matches --recursive '
    

    From there, you can identify the relevant analyses.

  • What are valid characters in an e-mail address? How to filter on the email addresses that use '? ' and ' * '?

    I'm doing some proactive cleaning the contacts whose e-mail address contains characters that are questionable - such as

    Unfortunately, I found that I can't create filters for addresses that contain? or * because these two characters are treated as wildcards (? is for a single wildcard character, and * is the joker of several characters).

    Someone at - it suggestions on how I can filter for a group of e-mail addresses containing one of these characters?

    Update: open a folder with support - special characters * and?  are not allowed in the domain of the email address part.  That's what is validated during creation.

    It is also not really any EASY way to get those email addresses that contain these characters - I can create filters that will shoot only so many email addresses and then filter through Excel.  This is going to be painful because I have several million in our database.  I may be able to get many of them through other criteria (lack of activity, rebounds, etc.), so I'll probably wait on them.

  • With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions

    With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions?

    Hello

    Please make sure that you work in 8 bits/channel and RGB mode. (Under Image > Mode > Select RGB and 8-bit per channel) lightning effects only works in this mode.

    Also in preferences > Performance > "Use Graphics Processor" must be checked.

    ~ Assani

  • I've created a form that uses the value field text to fill the text of another field.  Does not take into account changes

    I've created a form that uses the value field text to fill the text of another field.  However, if I need to change the text, the second field does not update this change.  Instead of reset the form each time, is the Javascript code to update the fields if they have been modified?

    For example I Text1 and Text2.

    When I type in Hello in Text1 I see Hello in Text2.

    Later, if I decide to change to Goodbye Text1, Text2 remains Hello.

    The shape of the hoe can recognize this change?

    Thank you

    Edit: I think I have misunderstood the situation.

    If you want to both fields have the same value, just to give them the same name.

  • Hi, I would like to know, where can I find the light Difuse filter that used to be under the CC destort filters-PS (was in all previous versions) - or can I download it somewhere?

    Hi, I would like to know, where can I find the light Difuse filter that used to be under the CC destort filters-PS (was in all previous versions) - or can I download it somewhere?

    Filter > filter Gallery

  • I just started to use the Muse for our design agency and learn to build us a new site, I managed to create a basic Viewer that contains sliding images based on what I have to do now is have a window POP that goes into the details of the pr

    I just started to use the Muse for our design agency and learning how to build us a new site, I managed to create a basic Viewer that contains sliding images, what I have to do now is have a PDP window that goes into details on projects, what I want is a piece of text or icon that when you ride on it , and then click a separate window opens with additional information in, once finished reading the news, you can click to close the box, any advice on how to do this?

    The best way to do what you ask is with the widget of Composition. Start with the ToolTip predefined, which by default displays the info on working capital. You can change the display option to click, which is what you are looking for. You can also add the close button or the info disappear in slowing.

    David

  • I want to create a PDF file that can be used by many people running on MAC and PC.  What should Adobe I use?

    you want to create the PDF file that can be used by many people running on MAC and PC.  What should Adobe I use?

    Hello Anne,.

    in all these cases, I use "Acrobat XI". You can first use a trial version, here is the link: Download Adobe Acrobat free trial version | Acrobat Professional XI

    Hans-Günter

  • Can I create a PDF document that can be commented by others using the PLAYER

    I have dozens (hundreds?) of PDF books I bought. One who created made them if anyone using Adobe Reader 5 or can be done better highlights and comments on the text.  I use the function to correct typos and send to the Publisher. I know this is possible because I've done it for several years before I ever get Adobe Standard.

    So... My question is... How can I create documents like this that can be placed in the comments on the use of Adobe Reader? I have Adobe 8 Standard and I don't see this as a separate Adobe Pro feature. and I hope Miss me just instructions on how it's done. I don't have any problem to do what I want to use Adobe 8 Standard, but I need to be able to make it feasible in Reader so that others can make comments in my documents.

    Thank you for taking the time...

    thehapster

    'Enable usage rights in Adobe Reader' or "Extend the functionality of Adobe Reader"
    are available with Acrobat 8 Professional / 3D version 8 or Acrobat Professional / Pro Extended respectively.
    In addition, Adobe provides basic service (LiveCycle ES) server that "active / extends" PDF as Adobe Reader can be used for observation, examination, Digital Signature, etc..

    You can use Adobe Reader to comment on PDF files means a requests above were used.
    Because you mentioned that PDFs are purchased the manuals in PDF format, I suspect that LiveCycle ES was used.
    This application based on the server (which has a myriad of 'modules' available) is expensive so, in general, it is allowed by the companies that need its features. Examples: the majors publishers or Government agencies (e.g., IRS).

    If you move upward, to Acrobat Professional, that you will be able to "extend features in Adobe Reader ' such that others can run comments & reviews on your PDF documents.

    As Acrobat 9.x is the current version, marketed as the professional version would be made available via an upgrade (do not be confused with the free "updates").

    Be well...

  • Create an application that uses BIS

    Hello, I'm new to this,

    NYW, my question is simple.

    I made an application that uses the Internet to view pages, to get the XML...

    When I tested it on a device, all seem to operate when the aircraft was on a wifi connection.

    But when the device using BIS or BES, this will not work!

    so can you please give me a sample code to see how I can be able to use BIS or BES.

    Sorry for my English.

    check these:

    http://supportforums.BlackBerry.com/T5/Java-development/different-ways-to-make-an-HTTP-or-socket-con...

    http://supportforums.BlackBerry.com/T5/Java-development/sample-HTTP-connection-code-and-bis-B-access...

  • a variable repository display in OBIEE analysis title bar

    Hi all

    I use OBIEE11.1.1.7.Recently, I imported a RPD Essbase cube that includes a variable substitution. By default are variable substitution became referential dynamic variable in RPD.

    How to display these referential dynamic variables in the title bar for the OBIEE report analysis?

    Also when I create a calculated item by using these variables, the calculated item is not displayed in the report.

    I created a variance column ("Server: app:db:variableA '-' Server: app:db:VariableB '), and this variance column is not coming in the report.

    Please suggest!

    Thank you

    GP

    Try to place @{biServer.variables ['NQ_SESSION.]} {[USERS ']} in your title exactly bar as I put it here. It's a standard predefined variable that comes with OBIEE who must return the user name of the logged-on user.

    It's the correct syntax to use, so if it works then replace ' NQ_SESSION. The USER ' with your name of the variable.

    This test will determine if the problem is in your syntax to reference to a variable, the variable itself or the bar title in which you place it.

    Let us know the result

    Thank you

    GEO

Maybe you are looking for

  • Spotlight search in list

    Hello community, Is there a way to copy a list of file names in the spotlight and make it search for all? Or another piece of software that can do? Thank you!

  • HP m225dw: my HP Laserjet Pro M225dw MFP is stuck on logo HP "initialization".

    Help!  I did everything suggested in previous posts, but my printer is still initializing mode.  Too bad I saw work scanner, but I was stuck initializing mode to try to solve all these problems.  Help, please.

  • Error message - installation Script engine is missing from this machine

    Autorun scripts Don t work.  By clicking on the icon HP Product Support an error message "HP Support Assistant has stopped working". "A problem caused blocking the program works correctly. Windows will close the program and notify you if a solutiopn

  • Internal Ricoh card reader of W700 XP x 64

    I am very pleased that lenovo has finally decided to release Windows XP x 64 drivers. However, the drivers for the internal SD Ricoh card reader do not work on my W700 (2757CTO). When I insert an SD card into the reader, the LED lights but no drive d

  • CHKDSK freezes and Disk Defragmenter does not start

    CHKDSK would not normally start as it says that the hard disk was used?  Asked if I wanted chkdsk to run when you restart the computer.  Selected Yes.  Restarted.  CHKDSK has begun.  A frozen one hour in the audit process and would not move for hours