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

Hi all

line desc period Amount1 Amount2

Jan Feb 10 0
Tue Jan 20 0
Jan jan 30 0
Jan - Apr 0 40


I have such a report with four columns

Line Descr is a table and other period table and amounts 1 and are 2 respective amounts.

now I need to see the only column in the result i, e. jan jan 30 0


I need to write a sql in the formula in the column so that I need to get this result


Any suggestions as what sql what I write

Thank you

Xavier.

Published by: Xavier on July 1st, 2011 12:03

Published by: Xavier on July 1st, 2011 12:04

Published by: Xavier on July 1st, 2011 12:05

Published by: Xavier on July 1st, 2011 12:05

Published by: Xavier on July 1st, 2011 12:06

Published by: Xavier on July 1st, 2011 12:07

Published by: Xavier on July 2, 2011 11:37

OK, so try it this way.

(1) take another column. Click on the fx, delete the content and enter this:

CASE WHEN tablename. Line_Desc = tablename. Period THEN put END to 'Y' ELSE ' n

(2) put a filter on this column = 'Y '.

It should work.

Tags: Business Intelligence

Similar Questions

  • How can I build an array based on the check boxes "checked"?

    OOP! Just realize that this is in the wrong forum. Sorry

    Hey all the... I just have a question on forms in FLEX 2:

    I have a Repeater that is populated by a list of musicians from a XML file. Each artist is represented by a box and when the user clicks a "submit" button, I want to than this table to be sent to a php script.

    It's the vbox containing the details of the artist and the checkbox:


    < mx:VBox >
    < mx:Text text = "{artistRepeat.currentItem.name}" / > "
    < source = mx:Image
    scaleContent "{artistRepeat.currentItem.image}" = "true" / >



    "< mx:CheckBox data =" {artistRepeat.currentItem.name} "id ="cBox"click =" modifyArray (Object) "/ >
    < mx:Text text = "{cBox.data}" / > "

    < / mx:VBox >


    And the management is:



    public void modifyArray(item:Object):String {}
    If (cBox.data! = null) {}
    Return artistlist.text;

    }
    return artistlist.text = "(artiste =" + cBox.data+ "cBox.data+") "; » ;


    }


    He registered the artist as "undefined". I'll the sense here?

    Thank you
    Tom

    EDIT: Never mind. I got it with this program. We finished.

    This is a user friendly like a speed bump hoof. Honestly, I will never use once I have the degree, unless Adobe stop using the Russians to write their error messages and a decent site somewhere be configured.

    I'm sorry, I feel pretty bad so that a program has almost caused several heart attacks. It is not good for my health this building :-)

    Anyway thanks,
    Tom

  • 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.

  • How do you build a loading page

    How do you build a loading page...

    Hello

    You can downlod preloader from the link below. This will help you make what you are looking for. http://Muse.Adobe.com/exchange-library/preloader

    Concerning

    Vivek

  • How do you add an earlier version of the iso to your device list?

    How do you add an earlier version of the iso to your device list?

    You can see that iOS iOS-based devices 8 or higher. There is no option to display the devices that run iOS previous levels on this list.

    See you soon,.

    GB

  • How can you reduce all open windows on the desktop the buttons in the taskbar?

    How can you minimize all open windows on the desktop to the taskbar buttons

    Right click on the taskbar | Show desktop. Or you can add an icon to the taskbar.

    How to re-create the show the desktop icon in the Quick Launch toolbar
    http://support.Microsoft.com/kb/190355

  • How can you recover disk space occupied by the updates of Windows XP, leading up to the installation of Windows XP SP3? __

    How can you recover disk space occupied by the updates of Windows XP, leading up to the installation of Windows XP SP3?

    SP3 after Installation Cleanup - http://www.aumha.net/viewtopic.php?f=62&t=33827 MS - MVP - Elephant Boy computers - Don ' t Panic!

  • Mixture of Photoshop mobile app. How can you save an edited photo in the same file as the original?

    Mixture of Photoshop mobile app. How can you save an edited photo in the same file as the original?

    Hey there Mopi2!

    Currently, there is no way to save your new image instead of the original image. For now, you need to manually delete the original. It is however a great request! Please share with the team by typing "give us feedback" in the app menu (tap on the app icon in the upper left corner of the screen while inside the app).

    Let me know if that helps!

    -Kathleen

  • How can you affect multiple windows open at the same time

    How can you affect multiple windows open at the same time

    You can not.  Only a calendar can have several windows.

  • Help! When you apply a filter "Fluidity" in the picture - objects of art.

    When you apply a filter " fluidity" in the picture - objects of art

    Front

    befor.jpg

    After

    after.jpg

    Hi AlexSecstasy,

    The problem with the Liquify Filter has been fixed in the latest update: Photoshop CC 2015.1.1. Learn more about the update here: keeping up to date of Photoshop

    Thanks for posting and your patience!

    Melissa

  • How do you add a google calendar for the web site of muse, the updates are synchronized

    How do you add a google calendar for the web site of muse, the updates are synchronized?

    You can add Google Calendar using iframe which Google provides if you go to calendar settings.

    Once you insert this code into the page of Muse by object > insert HTML, the calendar will be displayed on the page.

    https://support.Google.com/calendar/answer/41207?hl=en

    Thank you

    Sanjit

  • How can you download pro Prime Minister when the icon does not exist in the clouds? [was: pr]

    How can you download pro Prime Minister when the iucon doesent exist cloud?

    In order to download the software, your computer must meet the system requirements to run the software.

    http://helpx.Adobe.com/x-productkb/policy-pricing/system-requirements-Premiere-Pro.html http://www.Adobe.com/products/premiere/tech-specs.html

    The usual for not being able to download reason is that Premiere Pro (and other video applications such as After Effects) are 64-bit only what they need for a 64-bit computer and a 64-bit operating system.

    If you use a 32-bit computer and operating system, and then you see the icon of Premiere Pro as the software will not work on your computer.

  • Rows based on the timestamp column

    Hi Experts

    I'm trying to get the last 3 records based on the timestamp column. But I am not able to understand where I should start... ?

    To make it more clear

    I have the following data
    id date
    1  07/03/09 3:57:55.000000 PM
    2  08/03/09 9:23:55.000000 PM
    3  05/03/09 7:53:55.000000 PM
    4  08/03/09 5:41:55.000000 PM
    5  06/03/09 8:50:55.000000 PM
    I want to
    2  08/03/09 9:23:55.000000 PM
    4  08/03/09 5:41:55.000000 PM
    1  07/03/09 3:57:55.000000 PM
    Thanks and greetings
    Saurabh Sharma
    select *
      from (
    select *
      from x
     order by dt desc
     )
      where rownum <= 3
    

    Published by: Alex Nuijten on March 10, 2009 11:31

  • How do you build a model of edible in the sensitive Web page?

    Hello and thank you for posting my question.

    I have finally stepped up and joined the new world of Web design.

    Using Dreamweaver 8, I built several websites that have been the basic model, each link to each page of the website within the model.

    When I added a page or deleted from a page to a site, I would just have to change the model, and then reload the entire site and I was.

    I'm trying now to build a sensitive site and after completing a tutorial on how not to create a sensitive site, it there is no mention on how to build a model and after looking and looking I can't find an article relating to this.

    So... is it possible?

    If so, someone can point me in the right direction?

    Thanks in advance

    Here's the workflow, you must follow.

    Phase 1:  Page layout

    Build a layout with all the elements required Bootstrap page, that you will need for all of your site.

    When you are satisfied of how this prototype page looks and performs in all devices, then save as template.

    End of Phase 1

    Phase 2:  Creating your model & child Pages

    Switch to the Design mode.

    Insert editable and optional editable regions for content that changes from one page to another.

    Record.  Model & Validate to test code.

    Save & Close model.

    File > new > template Page.  Press the button create.

    SaveAs index.html (homepage)

    Repeat for other pages of the site.

    End of Phase 2.

    Phase 3: Add links to the template

    Open the Template.dwt file and add menu links.

    Save & populate the changes made to the pages of the child.

    Download all pages of the child to a remote server.

    End of Phase 3.

    Repeat step 3 when you make changes to your Template.dwt file.

    Nancy O.

  • How do fill you a text field based on the entries in other text fields?

    I would like to be able to have a text field that fills as 'Full' or 'Incomplete' based on the question if all required fields have been filled or not.

    For example, if the "First Name", "Last Name" and "City" text fields are not filled, the text of "the State of completion" field displays 'Incomplete' and once they are filled, the text of "the State of completion" field will turn into "Complete".

    How can I do this using javascript? I searched the web for a tutorial, but most of the results seems to be focused on the menu drop-down.

    Please point me in the right direction!

    Try the script below. I put this on the calculate for Field1 event

    If (FirstName.rawValue == null |) LastName.rawValue == null | City.rawValue == null) {}

    Field1.RawValue = "incomplete."

    }

    on the other

    Field1.RawValue = "complete."

Maybe you are looking for