How to use Column Formula in Answers? Help needed

Hi all, I have a report requirement.
I have a prompt.
I need the column to be displayed based on a prompt value.
For instance,
Lets Say I have a report with two columns.
Customer_name , amount
wheere customer_name is a column from presentation catalog and Amount is the column I need to calculate based on prompt value.
If prompt value = 'X' , Then, amount is calculated as: column1+column2
If Prompt value = 'Y' I need amount = column3
Where column 1, column2, column 3 are presentation columns.
'Amount' is the column I need to show in the report.
I believe this can be done in column formula in asnwers.but donot know How to do it.
Can you help me in implementing this Please.
Thanks a lot in advance for your time and help.

Hi,
First go through guided navigation concept.
Follow these steps -
1) Create two reports,one with Customer_name,amount(column1+column2) call it report1 and other with Customer_name , amount(column3) call it report2
2) Now create one prompt with sql result and write sql query as below -
SELECT CASE WHEN 1=0 THEN 'HELLO' ELSE 'X' END FROM SA.TABLE
UNION ALL
SELECT CASE WHEN 1=0 THEN 'WORLD' ELSE 'Y' END FROM SA.TABLE
Use presentation variable.
(If you are already having x and y in some column then no need to use sql result in prompt)
3) Now edit dashboard and place two sections and place one report per one section(section1-report1)
4) Now create one intermediate report with some dummy column and in fx place below code -
CASE WHEN 1=0 THEN 'HI' ELSE 'X' END
Apply filter on this column as equal to presentation variable.
5) In section1 go to properties->guided navigation->select intermediate report that you created.
Show this section if request returns rows.
6) In section2 go to properties->guided navigation->select intermediate report that you created.
Show this section if request returns nothing.
Try to understand guided navigation functionality,that helps you lot.
Hope this helps.
Regards,
Srikanth

Similar Messages

  • How to use a Formula Column in the main query?

    Hi All,
    I've tried to use a formula columns defined in some query in the condition of that query like this:
    where (:cf_ex - :cf_ex2) >= 5
    but when I run the report no data returned! Why? and how to use it the condition of the query?
    Note: I'm using Forms 6i

    where (:cf_ex - :cf_ex2) >= 5You cannot do that. Formula columns are not part of the select statement (which runs in the database), but are processed in the report.
    When you created this query, my guess is that you got the message "Note: the query Q1 has created the bind parameter(s) cf_ex, cf_ex2". Check these User Parameters in your data model. So, you are actually referencing user parameters in the query, not formula columns.
    I made a computations and things using PL/SQL that can't be done in the select statement in the data model!If it's pl/sql you can probably use that in your query. Create some database functions for cf_ex and cf_ex2 and use these in your query.

  • How to use column with linkToItem in the Basic Table view style mode

    Hi
    I have already changed a normal column that I made to a column with linkToItem as follows.
    <viewfields>
    <FieldRef Name="MyColumn" linkToItem="TRUE">
    and it worked.
    But this column works only at the default view style mode in my case.
    Does anyone know how to use linkedToItem column in the Basic Table mode?
    hope someone help me.
    thanks

    Hi,
    According to your description, my understanding is that you want to use linkToItem in the Basic Table view style.
    Per my test, in the Default style view, we need to use linkToItem=”TRUE”. However, in Basic Table style view, we need to use LinkToItem=”TRUE” instead.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to Use Column Selector View in Reports

    Hi all,
    Can someone please advise on how to use the column selector view in CROMD's reporting tool?
    Whenever I add a Column Selector view, and check the Enable checkbox of a certain column, a message appears "Click the columns in the selection pane to add more choices". However there is no selection pane, and the only thing I can do within the column is input a column label.
    Am I missing any crucial steps here?
    Thanks.

    Hi,
    Choose a column as column selector by enabling the check box and click the columns that has to get into column selector in the left navigation.
    On click the columns would get in one by one. After that field that you choose would be displayed in the position of the column in the report table
    Typically the purpose is something like this. If you want to dynamically change the first field say by Account Type, Account Region, Account Status and see the revenue then it can be used
    -- Venky CRMIT

  • How to use CSS option in Answers

    Hi,
    I have around 5 Dashboards, which includes close to 20 Reports.
    I would like to learn how I can format column name (like Font, Size) and data appearance in each report.
    Currently am doing it manually, one column by one column. I would like to know how to use CSS option.
    Regards,
    Jitendra

    The easiest way is to do this is to create a new "skin" for your dashboards or either modify the default. The location of the default folder is /res/s_oracle10/b_mozilla/views.css. The view.css file is where you can go and customize the classes. For example, if you want to customize the Pivot Table Row Header, search for .PTRH and then you can alter the existing formatting or add additional specifications.

  • How to use the User Dictionary---Pls help me......

    User dictionary how to use?
    1. I have typed all the words in the Oxford hyphenation dictionary and saved text file.
    2. I have created new dictionary in the preference file.
    3. i have imported all the typed words in the created dictionary file.
    4. I have faced the problem. User dictionary is not supporting properly. Can i disable the System dictionary.
    5. Most of the words are hyphenating by system dictionary only
    Can any one help me out. how to handle this.

    One thread is sufficient, please. If noone responds it means they don't have an answer for you.
    If you can help the OP, please see his original post at http://forums.adobe.com/message/2169036#2169036
    I am locking this thread.

  • Do you know how to use Flash? can you help?

    hi all,
    Do you know how to use Flash?
    I have been trying for months to find someone who can use
    flash, who can help me, with no luck.
    I need my links on my website updating, just a couple of them
    need the text changing as i need
    to change the name/title of some pages. I have tried to do it
    myself (using a trial version of flash,
    as i dont have flash). the site was made using dreamweaver.
    the files are .FLA
    and before anyone says 'get the person who made the site to
    do it'....He wont, ive tried.
    when i tried to change them myself i cocked them up and now
    they dont work at all, see my
    website and you will see; www.stevenallenphotography.co.uk
    so, if you can use flash please can you help me? all i need
    doing is the file updating with some
    of the link titles/names changing, i.e. one link is
    'exhibitions' which needs changing to 'published work',
    please get in touch if you can help.
    thanks,
    steven.

    I used divx in my site once its really very nice! but i use it in different host not .mac...try this divx web player with video selector code --------<object id="ie_plugin" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
    width="640" height="480"
    codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">
    <embed id="np_plugin" type="video/divx"
    width="640" height="480"
    pluginspage="http://go.divx.com/plugin/download/">
    </embed>
    </object>
    <script type="text/javascript">
    // This code detects which browser we are
    // running into (IE or others) and assigns
    // the correct element (object or embed) to
    // the "plugin" variable, that we will use.
    var plugin;
    if(navigator.userAgent.indexOf('MSIE') != -1)
    plugin = document.getElementById('ie_plugin');
    else
    plugin = document.getElementById('np_plugin');
    // This is a local JS function used by our form
    // element to call the plugin functions using
    // the "plugin" variable that we defined above
    function openNewMovie()
    var url = document.forms['videoSelector'].movie.value;
    if(url != '')
    plugin.Open(url);
    </script><form name="videoSelector">
    Choose a video to play:
    <select name="movie" onChange="javascript:openNewMovie();">
    <option value="" selected>Video Selector
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title1 divx
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title2 divx
    </select>
    </form> ---------------------
    Hope this help!

  • I have a SanDisk 2.0GB Sansa. I know it is old but it still works I just don't know how to use it. Anybody? Help?

    I haven't searched for a manual for the Sansa...guess that would be helpful!  I haven't had a pc for very long so I am learning as I go.  Haven't even figured out how to burn a CD...just haven't had time to do some searching.  If you have any suggestions for me it would be greatly appreciated.  Thanks!

    Hopefully, you are asking how to use it with a Mac, not a "pc."    And you do know that Apple does not make those, right...?
    Are you asking how to put music on it?  For most music players that are not iPods, I think you manually drag and drop music files onto the player, using your Mac.  So I'd try connecting the Sansa to USB.  Does it appear on the Mac's Desktop as a disk (or in a Finder window's sidebar)?  If so, open it.  There may be folders inside.  If so, try dragging the and dropping the song files to the appropriately named folder, to copy them to the player.
    Note:  Depending on the player, it may only play MP3 files and not AAC files, which is the type used by iTunes Store.

  • How to use example formulas in a customized spreadsheet

    I like the set up and formulas used in the example spreadsheet for Checking in Numbers 09. However, I would like to remove the data that is there and replace with my own data without losing the formulas used. How can I do that?
    Also, I would like to add a column for "Withdrawals" and change the name of "Amount" to "Deposit" and have the "Balance" column to continue reflecting the correct balance. I do know how to add the extra column and how to change the name of "Amount"; what I do not know is how to get "Balance" to reflect the correct amount. How can I do it?
    Thanks for your help and suggestions.
    Vernon

    You can delete all the data in columns A, B, and C. Just don't delete any cells that have formulas in them (column F) and don't delete the pop-ups in column D. You can also rename "Amount" to "Deposit" without affecting anything.
    If you add a column for withdrawals, you will have to modify the formula in the balance column. Here is one way to do it:
    Add a column to the left of Deposit (currently called Amount), this new "withdrawal" column will become column E and Deposit will become column F.
    Copy the formula below and paste it into cells G3 through G14 (all of the cells from G3 to the bottom of the table):
    =$G$1-SUM(OFFSET(Balance 101,3-ROW(),-2,ROW()-2))+SUM(OFFSET(Balance 101,3-ROW(),-1,ROW()-2))
    When you enter amounts in the Deposit or Withdrawal column enter positive amounts, not negative ones like those currently in the table.
    What I don't know is how this will work with a downloaded file from your bank. It may not work with the additional column and with all positive numbers.
    EDIT: If you already read this post, I have since removed the stuff about modifying the popup to include a "deposit" category.. It already has one.
    Message was edited by: Badunit

  • Cumulative Key Figure (Running Total) - how to use in formula?

    We have a scenario where I need to use the cumulative value of a Key Figure in a subsequent formula. The “Cumulated” property setting at the Key Figure level in the query is a “Displayed Data Only” setting, however, so the cumulated values are not available for use in a formula  The individual values are used by BW as opposed to the cumulative values that are displayed in the column.
    I’ve tried using the “Cumulated” property at the characteristic level. I am then able to use the displayed cumulative values in a formula. However, I also need to display the individual (not cumulated) Key Figure values in a column. These individual values are no longer available for display if the “Cumulated” property is set at the Characteristic level.
    I thought that the “Define Cells” functionality could possible be used, but there is only one Structure in the query, so the “Define Cells” functionality is unavailable. I could not think of a way to use a second structure in the rows, as the rows need to be dynamic (two characteristics, populated based on user input variables).
    It may be possible to accomplish this requirement by adding a column using VBA in the SAPBEXonRefresh sub, but use of VBA is not a preferred option, as the query may be run in either the Excel Analyzer or the Web Analyzer.
    The infoprovider does not contain a Key Figure field for Cumulative Volumes.
    The scenario details:
    Rows (Characteristics):
    A: Plant (values based on user input variable)
    B: Calendar day (values based on user input date variables for start & end dates)
    So there is one row for each day within each plant.
    Columns (Key Figures):
    A: Cumulative Volume at Start of Period (uses user input date variable for start date, and “Constant Value” property. Hidden column.)
    B: Daily Volume (for each day in the period defined by the user input variables for start and end dates)
    C: Cumulative Volume at End of Each Day (formula, meant to be equal to the sum of the Cumulative Volume at start of period plus the total so far of the Daily volumes. In other words, equal to the sum of Column A plus the running total of Column B).
    Does anyone out there have any more ideas on how to accomplish the required Cumulative Volume computation?

    Thanks for your reply Jurgen.
    I've created a Global Calculated Key Figure (CKF), and have looked at and tried a number of settings in the Properties of this new CKF.
    I have not yet been able to make this work for me.
    The "Cumulated" property for a Global CKF is also a display-only property. The displayed running total is not used in any formula containing this CKF, only the individual values are used in the formula.
    If I select the 'Enhance' option, where exception aggregation can be done as I think you suggested, I do not see a 'cumulated' option. If I select the 'Summation' option for 'Exception Aggregation', then the 'Reference Characteristic' pull-down is not available.
    Is there a different 'Exception Aggregation' option I should be using for running totals at the calendar day level?
    Or am I unclear on the concept of your suggestion?
    Perhaps you're on a later version of BW that has more Exception Aggregation options? (We're on BW3.5)

  • Does anyone know how to use Retropect back soft ware - I need help with it

    Is there anyone familiar with Retrospect Backup software here who might be able to help me with the following problem ?
    My 2007 iMac  with the tiger 10.4.11 OS suddenly crashed exactly two weeks ago when I told the trash to empty. The reason was that some malware or virus had appeared on my computer. There was an alias icon on the desktop that linked to a core item in the system folder; that is why it crashed. It was the malware that put it there somehow.
    So, I was left with a dead computer without an operating system to make it work.
    I telephoned Applecare for help as I was clueless as to what to do. Because I can’t write the thousands of words here to describe the ghastly experience Applecare have been I will miss that out for the time being. Suffice to say it has been utterly excruciating and horrible and I have so far lost all my data, including all the software I have ever bought, because of them. That’s 23 years of writing stuff onto to all the previous Macs I’ve owned.
    So, the question is this. I have a Retrospect backup software backup in my external hard disk. This should still have all my information on as it was a backup made just the day before the computer crashed.
    But I no longer have the Retrospect software on either my external hard disk or on the computer, so when I double click on the Retrospect icon in the external hard disk I get a message asking me to find the application software to open it with. I haven’t got it ( thanks to applecare’s utter incompetence).
    Applecare had insisted that I would be able to retrieve my data from this backup if they installed Snow Leopard to make the computer work. But when I tried to do this the computer crashed again and I was left without an OS again.  Yet another visit to the ‘genius’ bar (what a joke) at the Applestore and this time they installed Leopard which ended up leaving me without any data at all.
    The Retrospect support people told me that I could only retrieve information from this backup if the computer had the original Operating system, i.e. OS Tiger 10.4.11.
    The question is, can anybody here tell me exactly how to retrieve a Retrospect backup from my external hard disk, because so far, both Applecare & Retrospect support have not been of any help at all really and I have spent every waking minute of the past two weeks trying to sort out this problem without any success so far.
    Help !

    The Retrospect you used way back when is no longer around. The company was sold and that company produced a new version of Retrospect - Retrospect 8.x
    So, as you've been told, you would have to be running a Tiger system with an old version of Retrospect software (5.x or 6.x - you would need to know) assuming you can find the software.
    As best I can remember you cannot extract files from a Retrospect backup except using the software since Retrospect did not normally make a file by file backup rather it created an archive of the files in the backup. I'm assuming that the EMC/Retrospect people have told you that old Retrospect backups are not accessible by Retrospect 8.x?

  • I've lost my website and i don't know how to use Iweb... Help!!

    So i made a website a few years back using Iweb and Fasthosts as the host. Except someone else did the set up so i know very little about that. A few weeks ago my internal hard drive burnt out so i lost all my applications including iweb which had my website info.
    So my question is, how do i regain access to my site using my new iweb? Even if its just to take it down and start again! The site is still live but i cant seem to connect to it with my new iweb... Any help would be very much apprechiated!!!!!

    i lost all my applications including iweb which had my website info.
    The iWeb applicaiton does not keep any of the files used to create your website.  It uses a file titled domain.sites to keep all of the website files together for publishing. If you doin't have a copy of that domain file you will have to start over from scratch to recreate your website.
    Since MobileMe will be discontinued at the end of June 30th of this year you will have to obtain a new hosting service.  With that in mind I suggest you obtain iWeb 3 so you can publish directly to an ftp server.  Apple is no longer supporting iDVD nor offering it for sale.  You can get it by purcdhasing the boxed disk version of iLife 09 or iLife 11.  Here in the US it can be purchased thru Amazon.com: ilife 11
    OT

  • How to use column name as variable in select statement

    hi,
    i want to make a sql query where in select statement using variable as a column name. but its not working plz guide me how can i do this.
    select :m1 from table1;
    regards

    Hi,
    Is this what you want..
    SQL> select &m1 from dept;
    Enter value for m1: deptno
    old   1: select &m1 from dept
    new   1: select deptno from dept
        DEPTNO
            10
            20
            30
            40
    SQL> select &m1 from dept;
    Enter value for m1: dname
    old   1: select &m1 from dept
    new   1: select dname from dept
    DNAME
    ACCOUNTING
    RESEARCH
    SALES
    OPERATIONS
    SQL> select &&m1 from dept;
    Enter value for m1: loc
    old   1: select &&m1 from dept
    new   1: select loc from dept
    LOC
    NEW YORK
    DALLAS
    CHICAGO
    BOSTON
    SQL> select &&m1 from dept;
    old   1: select &&m1 from dept
    new   1: select loc from dept
    LOC
    NEW YORK
    DALLAS
    CHICAGO
    BOSTONIf you use single '&' then each time you fire the query, It will ask for the new value..
    But if you will use double '&&' the value of m1 will be persistent across the session..
    Twinkle

  • How to use Excell formula's within EVDRE

    Hi,
    we want to built a rather large P&L with time in columns and account and cost center in the rows.
    We would like to insert some subtotals within the P&L strucure using simple excel formula's.
    So we create the P&L structure and leave some empty rows in between, which are filled up with excell formula's. The row key range is adapted, so it does not reference the excell formula's. If we hit refresh workbook, our P&L is ready and displaying the correct data.
    Problem now is if we select 'expand all'. My entire P&L structure is changed and displayes the last section of the row key range several times (as many as we have different row key ranges) ... I've put "noexpand" on all of the dimensions on row and column ...
    So normally does one use the functionality of excell formula's within a EVDRE report?
    D
    solved it

    Hi D
    One way is to switch of the expansions and insert the rows and then have the subtotals. to swith of expansion just edit the cell where you have written the evdre function and then remove the formulas pointing to expand range.
    EVSUB in after range would not work here as the whole range is related to one dimension and it works if we have two dimensions and need subtotals
    Regards
    Harish B K

  • How to Use COLUMN NOPRINT - need to exclude one column from Select *

    Dear Friends,
    I need to exclude one column from a SELECT * query. Everytime the column data type is BLOB, I dont' want it to be part of my SELECT. After googling I found some info about NOPRINT but it doesn't seem to be working in my case. May be I am using it incorreclty.
    COLUMN FILE_DESC NOPRINT
    SELECT * FROM FILES;
    Where FILE_DESC is of BLOB datatype.Can I use it in my SELECT or it has to be used in Dynamic SQL? Is there any other option to achieve this?
    Thanks in advance.

    Hi,
    COLUMN FILE_DESC NOPRINT
    affects all queries in the same SQL*Plus session (unless you cancel it with a COLUMN FILE_DESC PRINT command.)  It doesn't matter if those queries are static or dynamic.  As mentioned before, COLUMN is a SQL*Plus command.  If you using a different front end, then it may have a different way to hide specific output columns.
    Did you have a poroblem when you tried it?  Post a complete test script that the people who want to help you can use to re-create the problem and test their ideas.
    See the forum FAQ: https://forums.oracle.com/message/9362002

Maybe you are looking for

  • Perform on commit

    Hi, can you show me an example of "perform on commit" with variables.

  • Exporting to JPG and keeping the bleed

    How do i export my indesign file with bleed into a jpg ?  I can do that if I export it to PDF.  But it don't have any option for me to do that if I export it to JPG

  • Implementing Single Sign-On support for the Oracle E-Business suite

    Implement Single Sign-On support for the Oracle E-Business suite I want implement Single Sign-On support for the Oracle E-Business suite. Operationg System : linux/Solaris Oracle E-Business suite : 11.5.10 Oracle Application Server : 10gAS(latest ava

  • Opening a project from another machine on a new one

    I edited a film on FCP 10.08 with a free trial. I have just bought a new iMac and have just paid for FCP 10.1.1. Ive copied all the files from my old computer and want to open the original project up in my new FCPX. Trouble is, it won't open the fcpe

  • I can't connect to Windows Server via FTP

    I've been using FTP for about 13 years and it works fine on Apache servers but can't connect to a windows Server via my Fetch FTP program. The site owner sent me a screenshot and copied/pasted the password so I know I have the info correct. It is sti