Variable presentation of its use as a filter in the formula in the column

Hi all

I want to display the data in a column 'Revenue Budget' based on a filter that is determined by a variable pv_budgetversion of presentation with 2 values being 'Budget' and 'RF2. The column's formula is:

CASE

WHEN @{pv_budgetversion} = 'Budget '.

THEN FILTER ('fact - Sales - Budget'. "" Revenue budget ' help ("Sun - Details of the sales Budget". (("" Budget type "="LB_Budget"))

WHEN @{pv_budgetversion} = "RF2.

THEN FILTER ('fact - Sales - Budget'. "" Revenue budget ' help ("Sun - Details of the sales Budget". (("" Budget type "="BUDRF2"))

0 OTHERWISE

END

However, when I try to save this formula I get the following error:

Invalid alias Format: Table_name. Column_name required. OK (ignoring the error)

When I click OK and run the report in any case, I get this error:

Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000.  Code: 10058.  [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 59140] evaluation of the index expression 7 rows count-1 has failed. [nQSError: 59001] Binary logical operation is not allowed on VARBINARY, INTEGER operands to appeal. (HY000)
How to solve this problem? Thanks for your help! I'm kind new to OBIEE, so I apologize already in which case this is a really stupid question.
Best regards
L.

Try this

CASE

WHEN ' @{pv_budgetversion} "= 'Budget'

THEN FILTER ('fact - Sales - Budget'. "" Revenue budget ' help ("Sun - Details of the sales Budget". (("" Budget type "="LB_Budget"))

WHEN ' @{pv_budgetversion} "="RF2"

THEN FILTER ('fact - Sales - Budget'. "" Revenue budget ' help ("Sun - Details of the sales Budget". (("" Budget type "="BUDRF2"))

0 OTHERWISE

END

See you soon,.

Tags: Business Intelligence

Similar Questions

  • Query the filter on the column

    Query the filter on the column

    Business activity IN the Transactions of AR OBIA
    the fact is filtered on (RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = 'REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = "UNEARN") in the Informatica ETL
    (RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = 'REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = "UNEARN")

    I need to provide tax information within the area of topic in the table above and extend the filter to include the "tax".
    (RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = 'REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = "UNEARN")
    and
    (RA_CUST_TRX_LINE_GL_DIST_ALL. ACCOUNT_CLASS = 'TAX') - which comes from Account_class

    This change affects the existing domain and in turn produce a greater number report

    Second

    If I want to understand how I try and work on the report

    AR amount divided by tax

    The class number account amount AR invoice
    001 REV 100
    001 tax 20


    the report above, I have to remove the filter on the ETL
    but to ensure that when the user account IS NOT reached the class column in the analysis then by default put a filter on the source column in fact that maintains only "REV" or "UNEARN".

    Thank you

    The answer lies in space analysis of revenues GL object

  • Interactive reports using collections - how to control the column headers

    Hello

    I found a link on the forum somewhere that showed a step by step how to use collections with interactive reports, you can dynamically generate SQL code and also control the column headers. Does anyone know where is the manual?

    Otherwise, I know how to generate dynamic SQL code, but what is the best way to control the column headers.
    Sometimes, the report will have 17 columns and other times up to 30 columns.

    Thank you, Bill

    Hi Bill,

    You can use * & ITEMNAME.* notation for the column headers. This means that you can have elements of page/application that contains the topics you need which can, of course, be filled using PL/SQL and, thus, could be established in your code. It's a bit of pain to have to do this for each section, but I do not see a quicker method.

    Andy

  • How to filter values using variable presentation if it uses a multiselec

    Hi gurus,

    Could you pls suggest me here.
    I have a requirement like my version 10G OBIEE isn't filtering report values when we choose a value any in dash prompt.
    I tried to create a variable presentation in the prompt for filtering, but invites under control, he is given a MULTI SELECT.
    I need to filter the values today if select us any value from the command prompt, it does not choose any value.
    How to filter values using MULTI SELECT Here.Please suggest me here.

    Kind regards
    SK

    Functions applied on the columns must be the two places (in report and guest) and must affect is fast after the function applied in the report.

    In your case is prompt value before cast, it seems that it is the reason why it does not work.

    Mark correct/good so pls help.

  • Value of the variable presentation does not appear does not correctly in the dashboard column

    Hello

    I have a report that has a view of pivot, in which I want to display the average age (date-obtained variable presentation) for example. Average age of the 31.12.12.

    I used 'average Age of staff |  ' @{Reporting_Date} [dd.mm.yy] {31.12.12}' as the formula column and compound eyes, the report shows the desired result.

    But when the report is on the dashboard, it shows the average age to 31.00.12.

    Is this a bug or is there other settings I need to do? I use OBIEE 11.1.1.7.0.

    Thank you.

    Jeby

    Worked by changing just the text format.

    "Average age of staff |  ' @{Reporting_Date} [JJ. MM.yy] {31.12.12}'

  • Interactive reports - width of filter for the column title dialog

    Hello

    I have a question about interactive reports and filter functionality, you can use column headers in the apex 4.0.2.00.07.

    When I click on a column header in my interactive report, I will be presented with a list of possible filter values for this column. Unfortunately this filter dialogue seems to have a fixed width and be independent of the overall column width. Columns with entries of data any longer, I can't see the entire string.

    Is it possible to change the width of the dialog, for example the s.t. it automatically adapts to the width of the selected column? But it would be useful even if I could apply the same width for all columns in a report.

    Thank you very much
    Martin

    Hello

    Seems 20 theme page templates are missing doctype and IE use quirks mode.

    You can try to add to the header of the template page as the first line

    
    

    and see that it does not break anything.

    Kind regards
    Jari

  • Variables presentation in calculations using

    Hi all

    I need to use a variable of presentation in formula in my analysis. For example, the variable @{tax} and formula @{tax} * 'GL_SLA_DAILY '. "' TURNOVER '. The type of variable is a number, the type of column is also the number.

    But when I look at the analysis of report, it turns out that instead of the result of the calculation, I get 0. (neither tax nor sales are 0, just in case). If I replace the variable in the formula of the specific number - it works, I can also get the value of the variable (if I do the right formula @{tax}), but if I try @{tax} * 2 - she also dave 0 results. So the problem is in the execution of operations with variables.

    What should I do to make it work?

    Thanks to advice.

    Right now, one thing I can think is trying to mount your arguments forms double, something like:

    Cast (@{Variable} double ACEs) / x

    If this does not work you can try to get both sides of the division

    Cast (@{Variable} double ACEs) / cast (x as double)

  • Search any text in the filter of the columns on the table of the adf

    Hello
    I have the filter on adf table columns where I can search any text beginning by default.
    For example you gave, my name is sam you can search filter for table of my column and you get the results, my name is sam
    but I want to search by any word we will tell sam and I want to show the same result.

    Thank you
    Savan Shah.

    You can probably use wildcards (% and _)
    for example % my %

    Dario

  • hide an entire column based on variable presentation?

    Has anyone tried to do this? If the user selects all records guest I want to display the analysts assigned to those records. If the user selects a specific analyst, I want to show the column of the analyst. I know I can null out or show analyst based on variable presentation but what about hide entire column?

    If this is not possible, has anyone tried to use conditional formatting to hide the entire column?

    Strange. It works for me. We will focus on this report and make sure that nothing is missing.

    The interim report has two columns, the column of the analyst and the MAX column (RCOUNT (1)), Yes?

    There is a filter on the column analyst defined according to the presentation of the prompt variable, Yes?

    You have another filter on the column MAX (RCOUNT (1)) set to "is greater than 1", Yes?

  • OLIVIER Dashboard padding variable presentation with NQ_SESSION. ROLES

    Hello

    is there a way to fill a variable presentation on my dashboard with NQ_SESSION. ROLES?

    I've been using prompt to do the same thing, but I don't need to prompt the user for his roles of session. I just need to fill out a variable presentation which

    I then use to filter the data in the data model.

    Thanks for any help.

    Hi metalray,

    If your solution works, why not simply hide invite him?  Set the style CSS custom for this article to the display: none;  The guest always initialize the variable presentation even if it is not visible to the user.

    JB

  • Variable presentation changing to 0 once downloaded to Excel

    Hello:
    I'm having a problem with the presentation variable.
    In fact I am capture user input value using a variable presentation and then use it for certain calculations in the PivotTable.

    Report looks good on dashboard. However, when I download in excel, presentation variable is turned to 0 and all calculations based on that change too...

    Version I use is the 10.1.3.2. I would like to know if it's the limitation of the version.
    Thank you.
    Vinay

    Simply capture directly into the repository variable and use it in your reports.

    concerning

    John
    http://obiee101.blogspot.com

  • How to use an option button in the report of the IR to redirect itself to view another report

    IHH team, I have a requirement where I have an IR report option button. By clicking this radio button, another report appears under the main report with few other details of the selected item. The idea was to have a zoom of report as seen in the Group of MS Excel.  However, I am stuck because I don't want the user to press the "submit" button each time after selection of a radio button. I want the result to Report2 to change on the selection radio button in report 1.

    Please notify.

    Kind regards

    Samar

    for example

    Report1 details

    RB col_id text1 text2 Text3

    1 . abc erd 45

    2 ghj dfgrt 67

    Suppose the user selects the first option button, the page displays another report with details below the main report

    Report1 details

    col1_id text1 text2 Text3

    RB1 1 abc erd 45

    2 RB2 ghj dfgrt 67

    Report2 details

    col1_id col2_id text1 text2 Text3

    1 11 ihj pkpk 78

    1 23 ljl kpk 45

    user6255521 wrote:

    Please update your forum profile with a real handle instead of 'user6255521': Video tutorial how to change username available

    When asking a question, always include the information referred to in these guidelines: How to get the answers from the forum

    I was able to achieve using the linl. I created a link on the col_id and it redirected to itself after you set the value of col2_id. I also changed the style of the button link and so col1_id looks like a button.

    However, I was interested to know if we can achieve this with a radio button and use the update form the Report2.

    You mean like this? It is very simple to implement using dynamic measurements.

    1. Add a column of radio group to the main report:

    select
        apex_item.radiogroup(1, d.department_id) rbg
      , d.*
    from
        oehr_departments d
    

    APEX 5.0, apply a static ID "rbg" to the column of radio group.

    2. create a hidden page unprotected element to maintain the value of the selected radio button to use as a filter in the detailed report. In the example, it is P31_DEPARTMENT_ID.

    3 refer to the element of filter in the WHERE clause of the report detail:

    select
        *
    from
        oehr_employees
    where
        department_id = :p31_department_id
    

    Set the Items property of the Page to send in the definition of report P31_DEPARTMENT_IDretail area.

    4. create a dynamic action of change on the Group of radio buttons:

    Event: Change

    Selection type: jQuery Selector

    jQuery Selector:td[headers="rbg"] input[type="radio"]

    Real Actions

    Seq: 10

    Action: Set value

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).val()

    Selection type: Article (s)

    Point: P31_DEPARTMENT_ID

    Seq: 20

    Action: Discount

    Selection type: Region

    Region:

    The best way to get help with something like that is for you to reproduce the problem with an example on apex.oracle.com. Set up as much as you can before posting here and when you post the question, share identification information of developer comments for the workspace so that we can see the example and work the solution directly.

  • Is it possible to use the file xsd instead of the COLUMNS clause?

    An XSD file can be used as a replacement for the COLUMNS clause?

    If you opt for a single query, then you will have NULL columns for errors and the data in the other columns (or vice versa).
    Just like what we see in your previous thread: {message identifier: = 10481999}

  • Rank function without filter in the report

    Hello

    I have a problem with the Rank() function. The problem is the following.

    I have a table with this train:

    The user | DATE | Cost

    User1. 02/12/2011 | 10.4
    User1. 13/02/2011 | 11.1
    User1. 13/02/2011 | 10.1
    User1. 13/02/2011 | 8.1
    User2. 02/12/2011 | 1, 4
    User2. 13/02/2011 | 12.1
    User2. 13/02/2011 | 22.1
    User2. 13/02/2011 | 8.1

    The RPD, I have a line of agregate under SUM (COST) and I need extract ranking you of this SUM (COST) by the user, user1 is 39.7 and the sum of user 2 is 43.7. If I show in the report of all users, the ranking is good rank = 1, rank = 2 by user1 and user2 but the problem is that I only want to show the User1, when I add a filter to the report user = 'user1', the rank value varies from 2 to 1. I need that the ranking value doesn´t change when I introduce a filter.

    Any idea on how to solve this problem?

    Thank you

    Hi Antonio,.

    On the rank in the answers column, modify the formula as shown below.

    Case where username = "user2" so Rank (sum (cost)) 0 otherwise end

    Then apply a filter on the column rank by rank > 0.

    I hope this helps you.

    Concerning
    AP

  • Can I use 'like' operator in the column virtaul

    Hello

    can I use as an operator in the column virtaul as below?
    or how can I use it?

    ----------------------------------------------------------------------------------------------------------------
    create table tab1
    (
    C_N_NUMBER VARCHAR2 (25).
    ACE RESET_STS (CASE C_N_NUMBER
    WHEN as 'RESET %' THEN 'NO RESET' OTHER END NULL) VIRTUAL
    ) ;

    ------------------------------------------------------------------------------------
    Rgds,
    PC

    Hello
    you, the correct syntax is

    create table tab1
    (
    C_N_NUMBER VARCHAR2 (25).
    ACE RESET_STS (CASE
    WHEN C_N_NUMBER like 'RESET %' THEN 'NO RESET' OTHER END NULL) VIRTUAL
    ) ;

    Jirka

Maybe you are looking for

  • iPod 5th generation camera

    My sister just sent me an iPod 5th generation, and I can't understand how to use the camera. I can use the video, but it's as if the camera does not exist, which would make no sense at all.

  • Skype won't start do not. Antedated IE and Skype does not

    Hello A couple of weeks ago, I started having a problem from Skype on my computer. Version 6.16, whenever I try to run Skype, the login screen flashes for a split second, but leaving the State of Skype light in the system tray (win7 he calls the "not

  • pump motor stalled error on Photosmart C5180 and C6280

    When I turn on my printer, one is a Photosmart C5180, the second is a Photosmart C6280, I get an error message saying "pump motor stalled." If I switch off and on again, it clears sometimes. No matter who else experienced this on both printers. Both

  • Help! AE3000 adapter works only with Windows 7

    Hello, I have a desktop Gateway with Windows 7 installed on it. I recently bought the adapter Linksys AE3000 get internet for it, but whenever I have it plug in, the light comes not now or anything like that. I tried the CD as well and it is said tha

  • Security on the Internet

    Is it possible to go back and check what web sites have been opened for the profile of my child?