Presentation Variable Value not passing when used in Column Formula.

Hello Gurus:
Please help me with my requirement.
We are trying to show a data backout in report, for example.
For a Product Group Code of 2435 which belongs to Report Line C059 has a Sales Amount of $4,266.90 and in report we want the same Sales Amount of $4,266.90 to be shown as -$4,266.90 (Negative) under a Report Line C080.
So in a report there should be same Sales Dollars as Positive for C059 (from Source) and Negative Sales Amount for C080 (Condition to be applied in Report).
Solution I Tried
I tried to create a Presentation Variable (SQL- Which would fetch me Sales Dollars for Product Group Code 2453) which returns with $4266.90 and then applied it in Answers in Logic (Case when Report Line = C080 then @{Presentation Variable}*-1 Else Sales Dollars END).
Issue I am facing:
Presentation Variable is coming as 0 and if i give any Format (Default Value) it shows the same default value in report. I checked the SQL i used and even when I Preview the Variable its showing me $4,266.90, but not in report.
Please let me know a way to get this Presentation Variable value into my reports.
Also please let me know if i can achieve this requirement in any other way.

Thanks for your reply Paul. But there is no Invoiced Amount for Report Line - 'C080' from source. Invoiced amount of C059 should show as -ve Invoiced amount for CO80.
In a report C059 should show +ve Sales Dollars and C080 should show same amount as -Ve Sales Dollars.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Variable values not passing with Web Application Designer

    We are on SP 11
    I have defined variables in the planning modeler (no personalization) that should be used when executing a copy function.  The idea is to have ready input capability.  For example, the variable VERSION is defined - when the planning function is executed, the user should have the ability to select a version value.   I have defined TWO button groups to enable the user this feature, however the values will not override the default variable value defined in the planning modeler
    BUTTON GROUP #1 - this is a copy function button with Display Varable Screen option ON.  When I press the button, the variable entry WEB Page Dialog pops up (with the default value).  If I input a differenct value, we get the error the the value characteristic is not included in the selection.  If we use the drop down available on the dialog box to select available values, we get what's on the Web Template (it seems the drop down option is not working)
    BUTTON GROUP #2. - This is a VARIABLE BUTTON using the Open Variable Dialog command (the expectation was to override the default value) When we use the drop down option on the Web Page Dialog, we have the ability to select the valuse available, however the value does not override the default value defined on the planning modeler.
    Any suggestions are appreciated.
    Regards,
    Andrew Ramirez

    Hi Andrew
    I realise your posting is now 6 months old.
    We are also on SPS11 and have a similar problem.
    Did you manage to solve this problem>
    Thanks
    Ian

  • Variable Substitution not working when using ABAP mapping

    Hi all,
    I am doing an IDoc to File scenario.
    Due to some complex mapping requirements, i had to use ABAP mapping for IDoc to File ( IDoc : SHPMNT05)
    There is also one more requirement where in i need to generate the receiver filename dynamically
    i.e the filename is of the form :     
        GW-XYZ-DD/MM/YYYY.csv
    Where
    XYZ is the Shipment number (E1EDT20- TKNUM)
    DD/MM/YYYY is the IDOC creation date in ECC (EDIDC-CREDAT)
    so i used the variable substitution option in receiver file adapter.
    But its not working.
    Is there any limitation for using the variable Substitution, doesnt variable substitution work in case of ABAP mapping?
    Regards,
    Loveena.

    Hi,
      u written ABAP mapping program to get the file name in the required format ,
    is it rt?
    when u test it at message mapping(including ABAP map program)
    u get the the required format of file name in the one of target filed.
    if that was fine, please check the variable substituiton parameters at receiver file adapter.
    i mean, are u maintain variable name and refernece.
    u have to specify the payload information.
    warm regards
    mahesh.

  • WAD Variable screen not displaying when using a customer exit variable

    Hello,
    I have a query which has 3 variables, one of which is of type customer exit and gets populated with a default value.
    When I run this query on the web from within BEX it works fine, however when I run it within any BI7 web template the variable screen does not pop up. Of course if I remove or change the offending customer exit variable the variable screen pops up.
    I have switched the display variable check-box to on, and it still doesn't work.
    Is this a 'feature' of BI7?
    Many thanks
    Sarah

    Fixed it myself by tweaking the URL....
    Added &VARIABLE_SCREEN=X to the end of the url and the variable screen now pops up. Its not an ideal solution but it works.
    Anyone have any better ideas?

  • Value not loading when using checkboxgroup.

    Hi
          I am using a checkboxgroup as xtype. I have a cq:widget node whose xtype is checkboxgroup. Inside the node i have one items node. and inside items i have my individual checkboxes. In my dialog whatever i am selecting and submitting is goin to my CRX. But when i refresh and load my component again , all my checkboxes are unchecked. Can somebody please suggest me a solution for this. Its very urgent
    Thanks in advance
    Veena

    I'm running into this same issue. Checkboxes work fine but when they are in a checkboxgroup they don't work. Here is what I am using:
    <region
        jcr:primaryType="cq:Widget"
        fieldLabel="Region"
        fieldDescription="Check all that apply"
        columns="{Long}10"
        xtype="checkboxgroup">
        <items jcr:primaryType="cq:WidgetCollection">
            <isUS
                jcr:primaryType="cq:Widget"
                boxLabel="US"
                name="./jcr:content/isUS"
                inputValue="on"
                xtype="checkbox"
                checked="checked" />
            <isEurope
                jcr:primaryType="cq:Widget"
                boxLabel="Europe"
                inputValue="on"
                name="./jcr:content/isEurope"
                xtype="checkbox" />
        </items>
    </region>
    <isExclusive
        jcr:primaryType="cq:Widget"
        fieldLabel="Is Exclusive?"
        boxLabel="Yes"
        inputValue="on"
        name="./jcr:content/isExclusive"
        xtype="checkbox" />
    Were you able to find a fix?

  • Presentation Variable name being passed as value

    I have a requirement where value needs to be checked against two separate fields for filtering (as OR statement). But there should be ability to filter on these fields separately as well.
    Dashboard prompt:
    Province [Multi search]
    State [Multi search]
    Combined search (Province OR State Fields) [Edit Box] --- used to pass presentation variable
    Report filter:
    Province is prompted
    AND State is prompted
    AND Province is @{presentation_variable} (no default)
    OR State is @{presentation_variable} (no default)
    But if the text field with presentation variable in not used to filter, then the report shows no result because the presentation variable name itself is taken as a value. Any solution how this can be done making sure that if province only is searched for then the presentation variable is not passed as value and the query returns no results?
    Thanks everyone.

    Thanks Rachit, that helps. For the scenario mentioned initially, even this works:
    Province is @{presentation_variable} (no default)
    OR State is @{presentation_variable} (no default)
    But the challenge is if I want to add another filter (like country) also as a filter. When users filter only on country, then the report shows no results because no value has been passed to the presentation variable and the query generated uses presentation variable name as the value!

  • Between-Filter on Column using calculated presentation-variable values

    Hello everyone,
    i'd like to know whether it is possible to filter a column with a Between-Statement using two calculations done on a single presentation variable in Oracle BI Answers
    What i have:
    - OBIEE 10g
    A line-chart, which shows earnings over a period of several years: In 1999 it might be 100.000€, in 2000 it might be 80.000€,..., in 2009 it might be 95.000€ and so on.
    What i want:
    Now i'd like to create a dashboard prompt to be able to choose a certain year, for example 2006.
    The chart then should show data for the year given (2006...) and two years before(2004, 2005) and two years after the chosen year(2007,2008).
    Example:
    If 2006 is chosen, then data from 2004 to 2008 should be shown in the chart
    If 2000 is chosen, then data from 1998 to 2002 should be shown in the chart.
    What i did:
    - I created the Prompt, set its presentation variable to var_year.
    - I then created a filter on my years-column, choosing "Between" from the DropDown-List.
    - I added two 'Variable-fields within the filter-dialogue', each filled with var_year and a default value.
    - I tried to add a +2 or -2 to the variable-expression field, but (ofcourse) got an error.
    Thanks in Advance and greetings from Germany,
    Chris
    Edited by: user12288481 on 04.08.2010 13:18

    Sorry for not answering to your Posts yesterday.
    I have to admit that i was unable to solve my problem, although the solutions posted, seemed to be quite promising.
    Hammett81's solution
    First, I gave Hammett81's solution a try and created a filter group using the 'Add filter' option/dialogue box.
    This Filtergroup consists of 5 single filter expressions, which have been connected by ORs:
    The way i created those filters:
    In the 'Create/ Edit Filter' i've chosen 'is equal/ is in' - Operator.
    Then i was given the chance to add a 'value' or to add 'Variable --> Presentation', which summons 2 textboxes (Variable Expression and Default)
    Everything i put into the variable expression field will be put into the @{} bracket by OBIEE, after clicking ok.
    So it is not possible to use +1, +2, -1,-2 etc. within this field, as this would lead to @{var_year +2} for example, which ofcourse does not match the presentation variable's name.
    On the other hand, if i do not use a Variable Expression but a "Value field", then i can write @{var_year} +2 for example.
    In my opinion, obiee wants to use the expression as a simple value though, rather than use it as a variable and therefore won't check the presentation variables value, when it tries to filter the data.
    John's solution
    Regarding Johns answer, i am not sure where to put the filter expression. Should this be added into the SQL-Query (Advanced-Tab) or do i have to add it within the columns formula? (fx)
    Edited by: Chris2010 on 05.08.2010 09:36

  • Presentation Variable value to Drill report OBIEE 11g

    Hi ,
    We have a requirement to use Parent report prompt value in the drill report. So we have used presentation variable to pass the value.
    Issue is when we go to drill report its not showing actual presentation variable value, its giving some other value( eg: we have two values to be passed to presentation variable 'Yes' and 'No' , even though we have selected 'Yes' in the prompt the drill report is showing results for 'No' but when we refresh the drill report its showing exactly as prompt selection.)
    And we are using Advanced Sql filter to filter the records .
    In 10g it has worked fine but in 11g we are having the issue.
    Thanks in advance.
    Regards,
    Raju

    Fyi.. We are using action links for drill down.

  • How to retain the presentation variable values for Dashboard Prompt

    I've a dashboard prompt with date and two other drop down field, with default value as yesterday's date set for date and All Values set for other two drop down list. Presentation Variables are D1, P1 and P2 respectivilly
    I'm using GO URL from "Report A" and passing presentation variable to navigate to other report (Report B) that works fine. eg:
    '<a href = saw.dll?GO&path=/shared/Reports/ABC/ReportB&Action=Navigate&p0=1&p1=eq&p2="-%20Time"."Next%20Day"&p3=@{d1}>Test</a>'
    From Report B I'm using Dashoard URL to go back to Previous Report like:
    <div class="XUIPromptEntry minibuttonOn">
    Return to Previous Screen</div>
    This also works fine.
    My problem is that, when users selects different values in the Main dashboard prompt for date and other other two drop down and navigates to other report (Report B), and from Report B, when user returns to previous screen (Main Dashboard), Prompts values gets refreshed to original default values.
    Is there any way to retain the values of presentation variable in dashboard Prompt when I return to main dashboard from Report B?
    I'd appreciate your help.
    Thanks

    Change your dashboard url include the column and column value for the date column sample shown below,
    [a href=saw.dll?Dashboard&PortalPath=/shared/sample/_portal&page=pagename&Action=Navigate&col1=Dim.Date&val1=@1>Return to Previous Screen[/a>
    In my second report Date is the first column so I referenced it's value as @1 in the dashboard URL
    note: replace [ with <
    Thanks,
    Vino                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Presentation variable is not supported in "SQL Issued"

    hi, there is a presentation variable called @{ps_var} from a prompt
    and I have written a custom sql and typed in "SQL Issued"
    !http://img31.imageshack.us/img31/8673/customsql.jpg!
    I found that the presentation variable is not supported in "SQL Issued" (exception flows when I clicked the "Set SQL" button.)
    (in the captured screen, it is hardcoded as 'REPLACED_BY_PRESENTATION_VARIABLE', no error occurs when I clicked the "Set SQL" button. the result is correct.
    however, when 'REPLACED_BY_PRESENTATION_VARIABLE' is replaced by @{ps_var}, exception flows when I clicked the "Set SQL" button.
    is there an alternatives to avoid the error ? or any ways to assign the selected value from the prompt to this sql ?
    thank you very much!

    Just set your presentation variable with an other method.
    Check here you will find how you can set a presentation variable for a filter
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_presentation_variable_area

  • How to set Default to in Dashboard Prompt from presentation variable value

    Hi all BI Gurus,
    I am trying to come out from my problem from last two days and I am not able to find the solution.
    Here is my problem.
    I am having two dashboard pages in one dashboard. Both pages contains dashboard prompt. Now from the first page’s prompt I had set a presentation variable and I want to use that presentation variable’s value in to prompt’ s default value which is used in my second dashboard page.
    I am hoping I can do that with Server variable or variable expression, but don’t know the proper way. I tried a lot with both but not able to find the solution.
    Could any help me please?
    Regards,

    Hi David,
    Thanks for replying. I really appreciate it.
    Yes I am using the same column.
    Let me provide you more details regarding my problem,
    I am having one dashboard prompt for gender and it's default value is 'Female' so I am assigning that value in to presentation variable PV_GENDER with set variable option in prompt.
    Now in my second prompt which I am using on second page of same dashboard, I am trying to assign that value 'Female' ( or the one that user had selected ) with the help or that presentation variable PV_GENDER in Default to. I tried all options (e.g. Variable Expression, Server Variable, SQL Result ) but I am not able to get that value.
    If you need more detail just let me know.
    Once again thanks for replying.

  • Variable screen not seen when running BEx Analyzer

    Hi Gurus,
    when i execute my query in BEx Analyzer for some reason i dont see my variable screen and it gives me a message saying variable values not entered. If i run the same report in RSRT i do get my variable screen. It was all find till yesterday and for some strange reason i dont get to see my variable screen.
    Can anyone help me
    Surya

    What version are you on?
    Did you try resetting personalized variables? You may have hit that by mistake, happens a lot here. Not sure that would be the case with no values entered however.
    Al B.

  • The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    If you want to get a little more "exotic" you can try remapping the function keys.  I did a little google searching and the hits that looked promising are,
    Mapping volume and eject keys to 3rd-party keyboard Other Hardware
    Spark
    Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, control iTunes, and more...
    You can also export and import your Hot Keys library, or save it in HTML format to print it.
    Spark is free, so use it without moderation!

  • How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic? Is this possible?

    How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
    Is this possible?

    You can set any song to Skip when shuffling.
    In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library.

  • Images on Facebook do not appear when using different web browsers

    Images on Facebook do not appear when using Safari on my Macbook Pro (I've tried Google Chrome too with the same result).  This makes me think it's a setting within OS Mavericks that I'm missing.  I have not seen this issue on any other computers.  This only occurs on my, and others' profile pictures on my profile page and on the news feed, not photos that are posted in albums or on walls.  and yes, i have images enabled in Safari.
    In safari the images don't appear, and in their place is a small blue "?" square >>.
    In Chrome it appears as a broken image link >>
    Has anyone encountered this?  Is there a fix?  It is very annoying.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for