OBIEE: Link Two Separate Queries Together

Hi,
I am trying to link two separate queries together in BIEE.
I have a query that will give me the sales value in January 2012 (monthly query)
But I would need to use the sales value of January 2012 to help derive the weekly sales value in another query (weekly query).
How would you link up two queries together?
I tried using union but it doesnt seem to be working.
Thanks.
Bill

Hi Billy,
Sure, My pleasure. Here are the basic steps what you could go through.
1. Create an analysis with your Month (January) and Sales.
2. Save this analysis as Report1.
3. Create another analysis with Week and Sales.
4. Create a filter on column:Sales using the option 'Based on Another Analysis'. The analysis editor will provide you an option to browse your other analysis which you want this analysis to be based on and just click on this browse button, and navigate to and select Report1.
5. Once you have selected Report 1 through browse option, you get down in the same pop-up the relationship and use values in column.
So sample entries in this pop-up might look like
Column : Sales
Operator : is based on results of another analysis
Saved Analysis : /My Folder/Report1
Relationship : is equal than
Use values in Column : Sales
6. If you run this analysis, you could get all weekly sales figures which are equal to the january sales figures.
Hope this helps.
Thank you,
Dhar

Similar Messages

  • Two separate queries in one report

    Hi Gurus,
    Is it possible to make two separate queries in the same worksheet (I need to have a column in my report from a different query from this report). As we can have more than one query in Oracle Reports, similarly, is it possible to have more than one query in Oracle Discoverer Report.
    Thanks,
    Pooja

    The functionality your looking for is not available in Discoverer today. You can have two separate worksheets within Discoverer, one to run each query. Another option is only available in Discoverer Desktop, it is called a subquery which allows you to run one query and then pass the results as a parameter into your workbook. However, I don't believe either of those options resolve the problem your looking to solve.
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]

  • Linking two video clips together

    I cannot find the way, how to link two video clips together so, that when moving one, the linked clip follows.
    Is there a way of doing that?
    The manual gives nothing with words: "linking video clips".
    Message was edited by: TRST

    You can't link video clips to each other. You can nest them. Put the two clips in a sequence the way you want them. Put the sequence with the two clips inside your master sequence. They will act as a single clip. That's the only way.

  • Adding every other field of two separate rows together.

    Hi,
    We're using Oracle 11.1.
    I's like to add two rows from two different queries together,
    I'd like it to look something like:
    with
    a as
    ( select 'a' q,'b' r,'c' s,'d' t,'e' u from dual),
    b as
    ( select '1' q, '2' r,'3' s,'4' t,'5' u from dual)
    select a.q, b.r, a.s, b.t, a.u from a, b;The trouble is I'm already using WITH and both the 'real queries' get their data from the progressive WITH statements already up top.
    I'd like to add every other field from each query to a result row.
    I have to use only SQL.
    Is there a way I can use UNION and combine the rows using dummy fields for the fields I don't want to use?
    Some something like
    I know this isn't right but...it sort of what I want to do.
    select * from
    ( select 'a' q,' ' r,'c' s,' ' t,'e' u from dual
    union
    select '1' q, '2' r,' ' s,'4' t,' ' u from dual);Anybody?

    Can u try using join.
    select a.q, b.r, a.s, b.t, a.u from
    (select 'a' q,'b' r,'c' s,'d' t,'e' u from dual) as a,
    ( select '1' q, '2' r,'3' s,'4' t,'5' u from dual) as b;
    This will result in a Cartesian join, but if you have a common column between a & b, then you can use it in the where clause.

  • How to link two .java files together?

    hello everybody,
    is it possible to link two or more .java files together? I mean is if I have 3 .java files. (a.java, b.java, c.java) then I have 3 .class files too. How do I use the method in other .java files. For example :
    public a extends Applet {
    // call b.class
    b();
    public b extends Applet implements ActionListener {
    void title1() {
    How to call the b.class? How to call the title1() method?
    Is it related to JAR or package??
    Thanks for helping me. v(^_^)v

    O.K, you do not link ".java" files together.
    You compile them into class files and they can create new instances of each other and and access their variables and work together.
    I recommend "Sam's Teach Yourself Java in 21 Days".
    It will start you out with the basics.
    --Ian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • I'm using pages 5.2 and feeling completely stupid by not knowing how to link two text pages together. Can anyone help? please...

    Hi there, I'm trying to use pages 5.2 for the first time and I cannot find how to connect two consecutive pages together as I use to do with earlier versions of Pages... Any help?

    Word Processing templates have what is called a Document Body.
    That is the area defined by the margins and holds a default text area which flows from page to page.
    Examples of WP templates are the Letters, Reports, CVs etc.
    Layout templates have that switched off and require you to add Textboxes or Shapes into which you can type text. Each page is an individual Section and no text flows from page to page.
    Examples of Layout templates are the Brochures, Business Cards, Posters, Newsletters etc
    In Pages '09 you can manually link Textboxes to flow in your own set order and across pages. Pages 5 has dropped this along with 100 other features.
    Peter

  • How can I link two separate Messenger systems?

    From what I have read, the only way to message users from other Messenger systems is to use the Pidgin client which would require a second logon to the other Messenger system.
    Can Messenger systems from two separate Groupwise systems be linked at the server level?
    - Gordon

    Hi,
    Here's the link to all the documentation: https://www.novell.com/documentation...l_messenger22/
    The installation guide (page 16, I think) explains the authentication requirements.
    Cheers,

  • Linking two text fields together.

    I need to link to text fields together as if it were in word or notepad, you simply hit enter to go to the next line at the end of the text field.
    Is it possible?
    Sorry I'm a totaly newbie here!
    Thanks,

    Set the first field to Limit Length to Visible Area and on the full event place this script:
    xfa.host.setFocus(Field2Name);
    where Field2Name is the name of the field you want the cursor to appear in after the first field is filled up. The user won't need to hit enter, the cursor will just move to the second field when the first one is full.

  • Create a subquery instead of executing two separate queries

    Hi,
    I need some help with creating a subquery from two different queries:
    query 1 :
    here pkey is jira key and I need to fetch component of a jira project
    SELECT jiraissue.pkey, component.cname
    FROM nodeassociation, component, jiraissue
    WHERE component.ID = nodeassociation.SINK_NODE_ID
    AND jiraissue.id = nodeassociation.SOURCE_NODE_ID
    AND nodeassociation.ASSOCIATION_TYPE = 'IssueComponent'
    AND pkey = 'abc-272';
    result: project_key: abc-272
    cname : def
    query 2:
    in the query I need to get a list of jira items by component, I have component name as 'def'and need to feed pkey as 'abc' means strip (-272) from abc-272.
    Query : select jiraissue.*, co.*
    from jiraissue,project,issuetype,nodeassociation,component,
    customfieldvalue cv
    ,customfieldoption co
    where
    component.cname = 'def' and
    project.pkey = 'abc' and
    issuetype.pname = 'Bug' and
    jiraissue.project = project.id and
    jiraissue.issuetype = issuetype.id and
    nodeassociation.association_type = 'IssueComponent' and
    nodeassociation.source_node_entity = 'Issue' and
    nodeassociation.source_node_id = jiraissue.id and
    nodeassociation.sink_node_entity = 'Component' and
    nodeassociation.sink_node_id = component.id
    and jiraissue.id = cv.issue
    and cv.stringvalue = co.id
    and cv.customfield = 10020;
    how can i make above as a subquery or execute everything in one query?

    Use Oracle function to strip the string e.g. 'XXX-YYY' will be pulled as 'XXX'
    SQL> SELECT SUBSTR('abc-272',1,INSTR('abc-272','-',1,1) -1 )
      2  FROM dual
      3  /
    SUBSTR('ABC-272',1,INSTR('ABC-
    abc
    -- Query
    SELECT jiraissue., co.
    FROM   jiraissue,
           project,
           issuetype,
           nodeassociation,
           component,
           customfieldvalue  cv,
           customfieldoption co
    WHERE  component.cname = 'def'
    AND    project.pkey = SUBSTR(jiraissue.pkey,1,INSTR(jiraissue.pkey,'-',1,1) - 1)
    AND    issuetype.pname = 'Bug'
    AND    jiraissue.project = project.id
    AND    jiraissue.issuetype = issuetype.id
    AND    nodeassociation.association_type = 'IssueComponent'
    AND    nodeassociation.source_node_entity = 'Issue'
    AND    nodeassociation.source_node_id = jiraissue.id
    AND    nodeassociation.sink_node_entity = 'Component'
    AND    nodeassociation.sink_node_id = component.id
    AND    jiraissue.id = cv.issue
    AND    cv.stringvalue = co.id
    AND    cv.customfield = 10020;
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to link two user interfaces together through networking using java??

    Im doing an java assignmet...the entry system...
    I have to create two interfaces ..
    one is a interface which is a keypad and let user key in their password
    for accessing...
    another interface is receive the password and determine whether it is valid or not...
    Two interfaces is on different computer.....
    I have to link these interfaces together using java....
    PLS HELP!!!!!!

    It sounds like you should probabally use RMI.That is, remote method invocation...these guys are doing a more complicated version of what you want to do:
    http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20680356.html#8935218
    Be sure to check out Sun's RMI tutorial:
    http://java.sun.com/docs/books/tutorial/rmi/
    Happy coding! Sounds like a fun little project...I want to do some RMI sometime when I get a chance...

  • Is there any way to combine or link two iTunes accounts together?

    I have to two accounts and one has $50 gift card on it. I was wondering if I could link or join the this account to my main account so that the $50 is on my main account.

    You could combine the sideshows in Aperture by combining the three Albums the slideshows are in and create the credit loop as a separate sideshow  and combine that in but its going to be big and I don't think that is going to get you want you want.
    You going to have to export the sideshows and do this external to Aperture.  Note sure off the top of my head the best way to go about this. Just combining the 3 shows is';t a problem but the 15 mins interval between each is a bit trickier. You could create a sideshow or movie that has the information you want to display and loop it to get the 15 min length and splice that in. It's possible you could have the three sideshows and credit loop separate and control the whole thing with an AppleScript or Automator script.

  • Noob: Is there a way to "group" two clips on two separate layers together?

    Hi, total FCE-newbie here, having barely got to grips with iMovie - so please bear with me...
    I'm trying to do something which I would have thought is pretty simple in FCE, but I'm flummoxed...
    I have two video clips, one above the other on two different layers, in sync with each other. I want to "group" these two clips together, so that any effects or edits I apply will affect both clips simultaneously.
    I found this video tutorial which does exactly what I want, but (a) it's for FC Pro, and (b) it's obviously for a much older version:
    http://www.rippletraining.com/movies/Free%20Downloads/040301185027.mov
    That's exactly what I want to do, but I don't seem to have those options available to me - at least not that I can find.
    I've looked up "nesting" in the FCE manual, but it talks about something totally un-related, going on about "sequences", and I only have ONE (long) sequence. I don't want to nest or group sequences, but rather I want to group two short clips / layers.
    The option-C shortcut mentioned in the video tutorial does nothing for me, and unfortunately the guy doesn't say which menu this keyboard shortcut would normally be found under...
    Or am I trying to do something that isn't actually possible in FC Express, and is only available in FC Pro?
    FCE HD 3.5

    Tom Wolsky wrote:
    http://www.rippletraining.com/freetutorials_oldies_butgoodies.html
    That is not a link to clip but to the page that has all the tutorial. Jeez.
    Oh come on... You're STILL not reading posts properly before you reply???
    I said that I linked directly to the clip in question TWICE. In my first/original post, AND in my second post. Go back and check my very first post. What do you see there? A link directly to the clip in question, perhaps? Yes, that's right.
    As for you quoting your own responses to try and prove your point... Well, you're only serving to point out that your posts were misleading and accurate. Let me show you:
    Tom Wolsky wrote:
    putting the two clips in a sequence and putting the sequence inside another one is nesting, and that's exactly what the *_FCP (Final Cut PRO)_* function does.
    (My emboldening)
    Now that's not accurate is it? Can you see why I found your original answer misleading? Because that is NOT what happens in the PRO version of Final Cut. The walkthrough shown in the clip (which I linked to directly) shows nothing about sequences within sequences - only nesting two clips together in one sequence.
    If you had not told me this inaccurate piece of information, then maybe the rest of what you said would have made more sense in context.

  • Need to link two separate Skype accounts

    I signed up for a Skype account with my Microsoft account but forgot I already had an old account with my exact name.  So now I have two different Skype accounts and would like to merge them and keep the old account that has my full name, "JaneDoe". 
    My old account:  JaneDoe
    My new account:  live:janed_1
    Yes, when I signed up with my Microsoft account I did not select the option to merge the accounts.  HOW CAN I GET BACK THE OPTION TO MERGE ACCOUNTS?  I've spent hours looking through community posts and it seems as though there is no solution.

    First try to unlink your generated Skype account (live:xxxx) from your Microsoft account.
    Try login into Skype profile website with your Microsoft account details, then go to the Microsoft account section and click Unlink.
    You can now re-merge your old Skype account with your Microsoft account.
    Try login into Skype with your microsoft credentials.
    select "Alternatively, sign in with Microsoft account" option.
    You"ll see the merge wizard. Select I have a Skype account. 
    You may Refer:
    What version of Skype am I using on my computer?
    Learn how to unlink your Skype and Microsoft or Facebook accounts
    What should I do if I can’t unlink my Skype and Microsoft or Facebook accounts?
    How do I sign in to Skype for Windows desktop with my Microsoft account?
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Is there a way to link two sharepoint lists together?

    Hi Guys,
    I currently have two lists (list A and list B), if a user enters a record into list A, i want it to populate the same record into list B...
    Is that possible?
    Alot of the columns are the same in both Lists, but the columns that arent in both list just wouldnt populate in the second list (List B).
    Any suggestions or information would be grateful. Thank you.

    Hi Soupi,
    According to your description, my understanding is that you want to populate a same item in list B when you create an item in list A.
    You can use a workflow to do it.
    Firstly, you need to install SharePoint Designer 2013. After installing, open your site with SharePoint Designer 2013. Then do as the followings:
    Click "Workflows" in the left panel, and click "List Workflow"->List A.
    Type a name, and select SharePoint 2010 platform.
    Then add the action "Copy ListItem" into the workflow, like the screenshot A below.
    Go back to the workflow settings, and set "Start workflow automatically when an item is created", like the screenshot B below.
    Screenshot A:
    Screenshot B:
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Linking two separate captivate projects

    Hello. I am working on my very first Captivate project (3). I
    had no issues creating the course, but once I got to the
    assessment, I started having issues. Since no one that I spoke to
    seemed to know why the assessment was doing what it was doing, I
    was advised to create the assessment under a brand new project. I
    did that and the assessment is reacting like it should. My issue
    now is, how do I link the assessment to the actual course?
    I hope I have given you sufficient information to be able to
    help me.
    Thank you.
    Captivating 1

    Welcome to our community, Captivating 1
    One way to accomplish what you are looking for is by clicking
    Edit > Preferences... > Project node > Start and End node.
    There you should see an option titled Project end options. The drop
    down is named "Action". Click this and choose "Open other project".
    After you do this, click the ellipsis icon ( ... ) and browse to
    the other project. Note that you are browsing to the .CP file of
    the project. Don't let this fool you. You may be thinking that
    "well, that's all well and good Mr. Captiv8r man, but my end user
    won't have Captivate installed!". The thing is, Captivate sorts the
    link externally and it should work just fine if linking from .SWF
    to .SWF or .EXE to .EXE.
    Give that a go and see how you fare.
    Sincerely... Rick

Maybe you are looking for

  • Why can't i have the same playlists on my MacBook Pro, iPhone and iPod Touch?? Won't sync as I have them on my computer.

    I have a lot of Smart Playlists on iTunes and when I sync my devices the playlists names match, but the content doesn't. Each device has different songs inside the playlists. Not even the number of songs match in most of the playlists. What's the pro

  • How to remove all CIM in SLD

    Hi all i would like to remove all software component from current SLD. i am not telling reimport new released CIM and Contents Version. how to remove all related component to make empty SLD BOX? Regards and Thanks in advance Tony

  • Oracle + Unix question , Error validation for SQL statements in co process

    Hi, If I use co process in a shell script , what is the best way to do the error validation of the execution of any sql statements . I was trying to change the following code to make use of co process concept. When I tried echo $? after the execution

  • Communiaction Channel Monitoring i.e in the Message disply tool.

    Hi Experts,                   when iam monitoring the sendor communication channel i.e in the message displly tool the message is Delivering to channel: CC_rfc_rcv_income_new,(this is  Receiver communication channel.),The message contacct is showing

  • Flash CS3 Freezes

    I have repeated problems with Flash freezing. The mouse ceases to work. My only recourse is to shut down Flash and re-open. I'm running on Windows 2003 Server. There is no indication through the task manager that memory is a problem, nor do I find an