"How do you build a filter based on the conditions of two columns?"

Hi all,
line desc     Period     Amount1     Amount2
jan feb 0 10
jan mar 0 20
jan jan 0 30
jan apr 0 40
I have a report like this with four columns
Line Descr is from one table and period from other table and amounts 1 and amounts 2 are respective amounts.
now i need to see the only one column in the Result i,e. jan jan 0 30
I need to write a sql in the column formula so that i need to get this Result
Any suggestions like what sql do i need to write
thanks
Xavier.
Edited by: Xavier on Jul 1, 2011 12:03 PM
Edited by: Xavier on Jul 1, 2011 12:04 PM
Edited by: Xavier on Jul 1, 2011 12:05 PM
Edited by: Xavier on Jul 1, 2011 12:05 PM
Edited by: Xavier on Jul 1, 2011 12:06 PM
Edited by: Xavier on Jul 1, 2011 12:07 PM
Edited by: Xavier on Jul 2, 2011 11:37 AM

David,
Thank you very much for your Reply.I was looking,who could understand my situation and guess "YOU DID'
I'll tell my situation David.
We used to have a sql filter for this Report .In 11.1.1.3 version it used to work ,but in 11.1.1.5 we have a bug .if you have a sql filter in the Report it is not allowing us to use navigation links on that report it is saying some "Assertion Error".
We are using this Report on Dashboard .If we use the report on Dashboard and if that Report contains the Sql Filter than it's throwing the "ASSERTION ERROR".
but if i open the same Report from the catalog then the navigation links works fine
Can you help me out with this one .
Thanks
Xavier

Similar Messages

  • How to split data into tables based on the entries in a column?

    My problem is very similar to this thread: how to link data from one numbers sheet to another sheet, however I could get it to work the way described there. I have one big table for entering data (the first one). I would like to have a few other tables populated automatically based on the entries in one of the columns of the first table. In my example below I put everything in one sheet for clarity. The selection to the other tables is to be done on the column "fruit" in the first table. (second one is "oranges", then "apples" and then "pears" -- had to cut the width of my screenshot due to the limitations of Apple's forums).
    Here is what it would look like, just cannot figure out how to make it happen automatically.
    Tried also importing similar Excel example to Numbers, but the import did not work correctly.
    Any help will be appreciated.
    LD

    Larry,
    Here's an approach that I've used...
    In the Purchases table, Aux column, the expression is:
    =COUNTIF($A$1:A2, A) & "-"&A
    Fill Down
    This expression builds a string that identifies the item and the ocurrance of that item.
    The Date column of the Summary tables, cell a3, contains:
    =IF(ROW()-3<COUNTIF(Purchases :: $A,$A$1), LOOKUP(ROW()-2&"-"&$A$1, Purchases :: $F, Purchases :: B), "")
    Fill Across, then fill down.
    Regards,
    Jerry

  • How to calc sum of one column, based on the condition of another column?

    I would like to create a formula that adds up the total cost from column F for each specified service in column D. For example, the result for PM (project management) would be $495. Any ideas?

    I think you could use this formula, using your cell references:
    =SUMIF(D4:D21,"=CM",F4:F21)
    Then, change the "=CM' to "=PM", etc. for each service.
    Like JaxJason, I can't test this in Numbers right now, but it works in Excel, and the functions are identical.
    SUMIF(test-range, "condition", [sum-range]):
    * test-range: A reference to the range of cells containing values to test. Must be the same dimensions as sum-range.
    * "condition": Any comparison statement that results in a logical TRUE or FALSE value.
    * sum-range: Optional; a reference to the range of cells containing the numbers to be added. Must have the same dimensions as test-range. If omitted, test-range is used.
    I hope this helps.
    - Michael
    Message was edited by: Apple fan Michael

  • How can I make my bookmarks menu (NOT the toolbar) into two columns?

    I have to scroll up and down because I have a lot of bookmarks which can be annoying. It would be nice if I could make them into multiple vertical columns. Thanks guys.

    Multicolumn Bookmarks extension <br />
    https://addons.mozilla.org/en-US/firefox/addon/74381/

  • How can you build time series measures in OBIEE without using TODATE AGO fu

    How can you build time series measures in OBIEE without using TODATE and AGO function?
    Please provide steps to build time series
    measures in OBIEE without using TODATE and
    AGO function. Dashboard results not storing
    in cache when using TODATE and AGO functions.
    eventhough its cached users queries not
    hitting cache because queries doesn't match
    exact date time when using TODATE and AGO
    functions. so I want to build queries using
    sysdate and some simple calculations. Please
    send your inputs/ideas for my questions..
    Thanks in Advance

    This can be using Msum function in answers. Use the following formula, here dollars is my metric. Change the formula based on your metric.
    Msum("Sales Measures".Dollars ,2) - "Sales Measures".Dollars
    the report will be cached and better performed compared with time series. check ti
    - Madan Thota

  • How can I filter based on the IPTC core information?

    How can I filter based on the IPTC core information? (CS6)

    "Substitution Variables" can do what you are asking for.

  • How do you build a web page to display queued messages ?

    How do you build a web page to display queued messages in all states?
    Thanks,
    Reeta
    Reeta Joseph Benoy
    EDS@XEROX
    Database Administration
    1350 Jefferson Rd
    Rochester, NY 14623

    You can build a form to a procedure in oracle portal that explores the queue with the option browse and prints de type message with htp package. I made it in this way and my applicattion works right. The procedure must loop the select count(msgid) from aq$[queuetable_name] times.

  • How do you build a form with hidden email address in source?

    I am new to forms. How do you build a form that does not have
    the destination email address visible in the source? Don't want
    spammers to get ahold of that email address. Simple tutorial
    somewhere?
    I just want just do a 5 field form to submit to an email
    address.
    Thanks,
    Angie

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2 is the preferred method, since it eliminates the
    problems of method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2, then start by asking your host what
    they provide for
    form
    processing.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "computerkitten" <[email protected]> wrote
    in message
    news:e670ib$r6d$[email protected]..
    >I am new to forms. How do you build a form that does not
    have the
    >destination
    > email address visible in the source? Don't want spammers
    to get ahold of
    > that
    > email address. Simple tutorial somewhere?
    >
    > I just want just do a 5 field form to submit to an email
    address.
    >
    > Thanks,
    > Angie
    >

  • How do you build a home-made external hard drive?

    I've been browsing the market, looking for a good drive when I came to the idea that I could build my own. Unfortunately, there aren't any clear internet articles that I could find on how to build a drive and what parts would be needed.
    So, How do you build an external hard drive? Please reply with the parts needed, places to find them, and assembly directions.

    Kappy wrote:
    However, for an external drive there's no real benefit to using SATA drives
    There are very real benefits to avoiding obsolete IDE/PATA technology.
    For example, check newegg.com's selection of HDs in the 500GB & up
    category. Score: SATA 37, PATA 7. ....and at 1TB: SATA 9, PATA 0.
    While you're at it, compare prices (as best you can). SATA drives are
    the same price or less expensive than the few surviving PATAs -- and
    there are no PATA equivalents to the latest generation high-performance
    SATA drives. The "Great PATA Extinction" started several years ago.
    ... because the Firewire interface isn't nearly as fast as the drive.
    Nonsense. There are only a handful of drives fast enough to saturate
    a firewire 800 link -- and then, only when the drive is nearly empty.
    AFAIK, there are NO existing high-capacity HDDs (500GB & up) fast
    enough to saturate a FW800 link when the drive is half full. Sustained
    transfer rates drop by about 50% as the drive fills from the outermost
    to the innermost tracks.
    BTW, here are two SATA enclosures that feature quick-swap slide-in
    drive trays. Assembly is a snap -- no disassembly required, just four
    screws to attach the drive to the tray, then slide it in. Extra trays are
    $19 each, so you can keep several drives conveniently "on tap."
    [Icy Dock MB559UEB-1S USB/FW800 @ $80|http://www.newegg.com/Product/Product.aspx?Item=N82E16817198006]
    [Icy Dock MB559UEA-1S USB/FW400 @ $45|http://www.newegg.com/Product/Product.aspx?Item=N82E16817198004]
    [Icy Dock MB559TRAY spare tray @ $19|http://www.newegg.com/Product/Product.aspx?Item=N82E16817994038]
    BTW #2, a FW800 enclosure works fine on a FW400 link -- all you need
    is a cheap 6-pin to 9-pin adapter cable (about $5 from newegg.com).
    Looby

  • How do I create a filter that bypasses the in page and goes directly to spam rather to delete?

    How do I create a filter that bypasses the in page and goes directly to spam rather than to delete?

    From your question I'm going to guess you are talking about Mac Mail.
    If you are talking about a RULE then the "Perform the following actions:" would be to select "Move Message" to mailbox "Junk" instead of "Delete Message."
    If you are talking about something else then please give more information.

  • How do you download adobe flash player on the Mac?

    How do you download adobe flash player on the mac without it failing? I use to have it and try to upgrade it and now it won't work. I can't even watch any videos on the Internet.

    Adobe no longer supports 10.5 Leopard. You will have to upgrade to 10.6 to use the latest flash.10.5 Leopard was based on Power PC code and was written to be able to run on both Power PC and Intel processors. 10.6 Snow Leopard has completely rewritten code and only runs on Intel Macs. So anything written to run on 10.5  has twice the code needed for one written for 10.6 or newer.
    The 10.6 Snow Leopard DVD is back in the Apple online store. You can get it for $19.99. You will need to be running 10.6.8 to access the App Store to order Lion or Mountain Lion. http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard

  • Automated solution to convert or directly filter based on the discontinued local flags?

    Hi,
    I really liked a lot of the LR 4 features and thus upgraded LR and my main catalogue as soon as v 4 was released. While a lot of stuff is very welcome (soft proofing!), I just realized that Adobe has horribly screwed up my workflow by dropping local pick/rejected flags from V4. I really hate this change as it was very useful for me to reject images for a certain collection (but still being able to know that at some point I had considered it to be included). For the future I guess I will have to find another workflow, probably by creating additional "archive" collections...
    But the real problem is the literally tens of thousands of images I have flagged as rejected in collections in my big lightroom catalogue. If I go into any of my old collections I see the entire selection including all the rejects. I know I can get a context menu to select all the items that were locally flagged rejected via the "Select Old Contextual Rejected" action. But to do this for several hundred collections is out of the question. (I am not kidding btw, I am a wedding photographer and have about 400000 photos in my catalogue and about 1000 collections).
    So my question is: does anyone know of an automated solution to get the old local flag infomration back? I guess it would be possible to write a plugin that creates 3 collections for every collection that used the old local picked/rejected flags (one with -picked, one with -rejected and one -unflagged). Has anyone done this yet? Or create a plugin that can filter based on the old information (as it is still in the database, just not accessible in the UI).
    I am a software developer as well as a photographer so if no one has done this yet I might consider giving it a try myself but I would hate to do something that has been done already...
    And btw I am pretty angry at adobe for making this a breaking change.
    Best,
    Daniel
    http://www.iconoclash-photography.com

    To build on John's response: While we're still awaiting the LR 4 SDK documentation and can't say for sure, I'm skeptical that the LR 4 SDK exposes the old collection-based flags, given that the LR 3 SDK didn't expose them. 
    One solution would be for a plugin to read the catalog database outside of LR, e.g. in the manner of the SQLiteroom plugin.  Accessing the database directly isn't supported by Adobe, but in this case, doing so to do a one-time recovery of legacy data is likely more than robust enough.

  • How to configuration of pricing procedure based on the Region

    Hi,
    please help me how to configuration of pricing procedure based on the Region in the roll out project.
    Thanks
    mustafa

    What I proposed to do was,
    a. Create routes like 0 day route, 1 Day route, 2 day route etc.
    b. Route determination is based on the Shipping condition of the customer. Put in the shipping condition for the customer as 00 - immediate delivery. 01 - By Truck, 02 - By Rail, 03 - Ship etc
    c. Now, put in your route determination in such a way that routes change in the sales order with shipping condition (SC). Like, if the shipping condition is set to 00, then 0 day route comes up. Meaning immediate delivery, if SC is 01, then your normal route by truck picks up. etc.
    When the sales order is manually created, you know the time of creation. As route is one of the criteria, the material confirmation happens based on number of days you put in the route to reach the destination. Now that you have the material available for today's delivery, the delivery program can be run to create it, or it can be manually created.
    Now, when you configure the route you have to specify 'Transit duration in calendar days'.
    When you have the sales order created electronically (say thru EDI), then, you may have to ask them to send in shipping condition. Else, you have to modify the function module Idoc_input_orders in such a way that if the sales order creation time is < 12 PM, then put shipping condition as 00, else copy what ever is there in the customer.
    If you do not want to check the time manually when the user creates the sales order, then you may have to use the user exit MV45AFZZ (and I think you can use Save_order_prepare) to check the time and change the shipping condition. By this you will avoid extra coding in Idoc_input_orders and also need not bother if the user changed the route or not.
    Hope my explanation helps.
    Regards,
    Mukund S

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How do you save a web PDF to the iPad2?

    How do you save a web PDF to the iPad2? I want to have a camera manual on my iPad.

    In Safari, click on the PDF link and from the context menu choose Open in New Tab. Then click on the tab: The PDF opens in Safari. At the upper right click on Open In, and from the menu choose Adobe Reader.

Maybe you are looking for