Join report external style - OBIEE 10 g

Hi all

I have a requirement to generate a report for products and sales. I have two dimensions and different elements of fact data.
Some products may not be sold in a month, but still I want to display in the report with a value of 0. I tried this by creating an outer join left in SPR, since we use another dimension in the de facto calculation (computed column) so also comes to the Group of left outer join and this mess with the results.

If you are looking for the best approach to give the results through answers. Here's the data and expected outcomes

Data
Product | Month | Sale | The margin of
--------------------------------------------
Refrigerator | Can | 100. 20%
Coolers | Can | 50. 4%
Laptop computer | Jun | 300. 15%

Now am filtering of the report for the month of may, my results should be similar to

Product | Sale | The margin of
--------------------------------------------
Refrigerator | 100. 20%
Coolers | 50. 4%
Laptop computer | 0 | 0%

Can anyone provide a solution for this?

Thank you
Ugser

A possible solution is based on the fact that OBIEE combines (= reach external) different measures of two fact tables by their common dimensions. What you have to do is:
Physical layer:
-create a new dummy facts table in the physical layer (for example by using a view such as Select 1 of the double ;)
-join all the tables required to the fact dummiy table with a foreign key dimension complex. Make sure that the value is always true, for example 1 = 1.
MDB:
-create a new table makes sense given the dummy and join all tables of logical dimension using complex joins. Set levels on the tab content of LTS tie up your other fact.
Presentation layer:
-expose the dummy column
Answers:
-Slide the dummy in your report. You might want to hide because for a user normal is confusing and meaningless as it will always show 1.
-Filtering should work correctly now.

The dummy column will result in OBIEE create a Cartesian join, i.e. all the attributes of the dimension combinations used in the report will be created. The result of the second (in your case sales) will be added. In your example, it will create a record for each month for each product. Sales and margin will only added to combinations of these months and product when there is data in sale.
I hope this helps.

See you soon,.
Peter

Tags: Business Intelligence

Similar Questions

  • Dreamweaver CS6 when connecting it to the external style sheet, it doesn't affect all the html page.

    Dreamweaver CS6 when connecting it to the external style sheet, it doesn't affect all the html page. It started to happen after upgrading to mac osx elcapitan.

    have no idea how to solve this? now I write all my css stylesheet in the head section of my html page.

    Thanks for help

    Best regards

    the problem has been resolved.

    I forgot to write rel = "stylesheet", that was the problem.

  • Linking external style sheets to the models

    Hello

    I can't understand how to attach an external style sheet to a web site that was built with the help of a model?

    The page 'dwt' surrounds an editable by the following (see below), but there is no such text around the text that links to the external style sheet. Should there be? If so, is this something that should be done manually?

    <!-TemplateBeginEditable name = "head"->

    <! - TemplateEndEditable - >

    You can provide any help would be highly appreciated.

    Thank you.

    Mark

    Hi Ben,

    Well, got after all it works!

    It turns out that the coding for the style sheet should not be placed in an editable area, which, after thinking about it, makes sense. The idea is to have any adjustments made to the stylesheet of the page of the model appear on all pages of the site, and if it is an editable area would not happen.

    Thanks again for all your time and effort.

    Kind regards

    Mark

  • How can I move an external style sheet to a CSS folder in my site?

    I use Dreamweaver CS5. I created an external style sheet and not record in my CSS file. I am unable to complete the seemingly simple task of putting this external stylesheet in this folder without turning off on my page. Can someone tell me how to proceed?

    Thank you

    Joshua

    Open your external CSS file in DW.

    Go to file > save as.  Save it in your CSS file.

    DW will ask you if you want to update the links.  Press Yes.

    Nancy O.

  • What became of my links to external style sheet?

    I submitted a request for support on this topic - but because I didn't say that my site is completely out of line I fear that it may cost me a few days.

    So why I post here.

    I've got 3 screenshots that will help things:

    http://www.whittleymarinegroup.com.au/support/screenshot1.PNG

    http://www.whittleymarinegroup.com.au/support/screenshot2.PNG

    http://www.whittleymarinegroup.com.au/support/screenshot3.PNG

    The first screenshot is the rear part of the template of the page in the screenshots, 2 and 3 BC.

    "You will see the external style sheet link: < link rel ="stylesheet"href="/stylesheets/whittley-desktop.css "/ >

    Screenshot 2, you will see that things look right in the < head > section, however it is only when I do a hard refresh on Chrome and Firefox.

    3 screenshot shows me a < head > altered section when I go on the site normally (or do a soft drink), and this seems to happen when I check a number of other sites in BC, I worked.

    Anyone got any ideas on why this is happening?

    I use a WiFi dongle, no matter what it will affect?

    My problem is that the program editing of CSS that I use the style sheet needs external link so it can modify it through substitutions. Worked until today.

    Ben

    I just checked a few other sites not hosted in British Colombia, and it seems that it could be linked to the wi - fi dongle. weird but true - it's the only thing that has changed since the normal search of abnormal.

  • "Recursive" error when you try to join my CSS Style sheet

    I'm totally new to CS5 - in your tutorial (create your first website - part 2: creating the page layout) which I followed to the letter, it guides you through to attach a style sheet in the ccs html file.

    I get the error message "an import style recursive was found. in the dialog box to attach an external Style sheet, there are two options one is 'Import' and the other is 'link '. Link is grayed out? So I can't select it. It would seem that there may be a problem with your tutorial?

    Here is my code that I checked and rechecked.

    I noticed that on that three other discussions has not solved the problem?

    I hope someone can help

    CCS Style sheet

    @charset "utf-8";

    / * CSS document * /.

    #container {}

    Width: 968px;

    Background: #FFF;

    margin: 0 auto;

    padding-left: 10px;

    padding-right: 10px;

    overflow: hidden;

    }

    HTML


    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > check < /title > Magazine

    < / head >

    < body >

    < div id = "container" >

    < div id = "banner" > content ID "Banner" goes here < / div >

    < div id = 'main_image' > content for id 'Background Image' goes here < / div >

    < div id = "left_column" > content ID "left_column" goes here < / div >

    < div id = "center_column" > content ID "center_column" goes here < / div >

    < div id = "right_column" > content ID "right_column" goes here < / div >

    < / div >

    < / body >

    < / html >


    The recursive error is caused by trying to set the stylesheet to himself. Make sure that the HTML document is open in the Document window, then click on inside the document to give it focus before trying to set the style sheet.

  • EXTERNAL STYLE SHEET IS NOT VISIBLE?

    Hello

    FILE used command-> export to move styles in my HTML Page to the external Style sheet.

    1. I have NOT see the new external Style sheet in CSS panel of my HTML Documents.

    2. the styles were copied, BUT they were also in the HTML file.    It looks like in the. CSS IS NOT link to a file.

    When I exported the HTML file has been opened only one.

    See you soon

    Dreamweavdr101.1

    (1) file > new CSS page.

    (2) cut and paste your HTML document into the new page CSS CSS rules.

    3) save it as some_filename.css in your local site folder.

    (4) link your HTML pages to the new page CSS, as shown in the link below.

    http://ALT-Web.com/demos/DW-link-stylesheet.shtml

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Should I use for a model of embedded style sheet or external style sheet?

    IM building my first website. It consists of five pages. I'm looking for just tips on how I should approach it. Should I build the first page, and then create a template to use on the rest of the site.

    And also im a bit confused about when to use a style sheet. If I create a model using an embedded or external style sheet.

    Any help would be greatly appreciated.

    I would go with external to the model style sheet - if you need to make a change later to the CSS, there is only one file to download, not all pages associated with the model.

  • What is the difference between a model and an external style sheet?

    I try to understand what is the difference between a model and an external style? I finished doing my model and I know that want to base each page on that. Isn't it the same as the external style sheet?

    Since I've already gone ahead and created a model with a ton of styles, I should remove the styles from the model and recreate them so that they exist in an external style sheet?

    I recommend that, Yes.  This way if you want to add/remove/edit one of your CSS, you only download this single file, not all the files in the site.

  • How to change a color to a layer of external style sheet?

    Hello

    I want to know how to change the color of a layer of external style sheet?

    Because my homepage "Sidebar" and the colors would be the same for all pages, only the content of pages would be different.  If I want to change a color of my side web pages, I need to learn how do in one place thanks to the external Style sheet.

    I'm ambling to connect my external stylesheet and change the H1 tag and give it different colors. But I was not successful with the change of the color of a layer on which my content is sitting around.

    I took the color of my HTML page and gave the same name to the layer in my external stylesheet with the same color.

    Thank you.

    see you soon,

    Dreamer101.1

    You must use a unique ID on each page, then you can define dependent styles / conditionals:

    #bigwrapper_page_a h3 {color: #565656;}
    
    #bigwrapper_page_b h3 {color: #454545;}
    

    Mylenium

  • external style sheet

    I've set up an external style sheet in dreamweaver. I've attached to a model. When I go to the index page that is created from the template after downloading it, the styles are not displayed in firefox on a pc or a mac. They appear in IE and Safari. They also appear in firefox when I preview it on my local machine in firefox. Any suggestions? I am really puzzled.

    Dianne

    Sunday, August 20, 2006, 13:57:01 + 0000 (UTC), "dpaulet".
    wrote:

    > Here is the URL of the Web page:
    > http://userweb.suscom.net/~dpaulet/maternal

    The server has no defined MIME type correctly for the .css files.
    Firefox is showing this error:

    Error: The stylesheet
    http://Userweb.suscom.NET/~dpaulet/maternal/styles.CSS has not been loaded.
    because "application/octet-stream" MIME type, is not "text/css".
    Source file: http://userweb.suscom.net/~dpaulet/maternal/
    Line: 0

    You need to talk to your host.

    Gary

  • Report table styles

    So it does not appear that put a style in the report: column: Style CSS does nothing. It is not override an existing style. Therefore, how I customized style a column in a report? I would like the following style to create vertical "cuts" in the report. I can't seem to find a way to use styles, and I can't find anything in a reference to find out how to use it in an inline style.
    td.l {border-left:1px solid black}

    So it does not appear that put a style in the report: column: Style CSS does nothing. It is not override an existing style.

    N ° this property causes the cell value to be generated inside a SPAN element, and the style is applied to this element inline rather than the entire table cell. This has been a problem since the dawn of time, as is not what everyone actually wants it to do, and Oracle have so far not been unresponsive to requests for improvements in order to produce the expected behavior.

    Therefore, how I customized style a column in a report? I would like the following style to create vertical "cuts" in the report. I can't seem to find a way to use styles, and I can't find anything in a reference to find out how to use it in an inline style.

    Vertical, breaking a table in this way is achieved using the COL/COLGROUP elements:

    http://reference.SitePoint.com/HTML/COLGROUP

    As this type of column grouping will be specific to a single report or the family of reports, it must be implemented by their SUMMIT with a report personalized for the named column model, where the COLGROUPs/passes can be specified in the model of the Rows property of front.

    http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/themes.htm#BABFFGG

    Adding CLASS attributes suitable for COLGROUPs/passes will allow styles to be applied as you wish, as thicker borders the COLGROUP limits (even if support of what may be coming in some browsers: YMMV.)

  • component textArea &amp; amp; external style sheet

    Hello, I searched but not found an answer...
    I can style text with a style sheet internally (in the flash file), but I wonder if this can be done on a text box of an external STYLE sheet?
    Thank you.

    I should have seen that it was for the textArea component, but I have now.
    Yes it can take over a tutorial: http://www.scottmanning.com/archives/000680.php

  • Interactive report of style

    In an apex 4.2 application, I have the following to style a column in an interactive report.
    I placed this code in the CSS Inline to the page
    .apexir_WORKSHEET_DATA td[headers="MSG"] a:link,
    .apexir_WORKSHEET_DATA td[headers="MSG"] a:visited {
      color: #3808F9;
      font-weight: bold;
    }
    I want to do the same thing in a 3.2 application, so I put this code
    <STYLE TYPE="text/css">
    .apexir_WORKSHEET_DATA td[headers="MSG"] a:link,
    .apexir_WORKSHEET_DATA td[headers="MSG"] a:visited {
       color: #3808F9;
      font-weight: bold;
    }
    </style>
    in the page header, but it has no effect.

    Can someone tell me where I'm wrong

    Thank you

    Gus

    Gus C wrote:
    Without the link is located in the SQL

    case when msg like 'For details look into logid=>%'
    then 'For details look into logid=>')+2,length(msg)-instr(msg,'=>')-2)||'">'||substr(msg,instr(msg,'=>')+2,length(msg)-instr(msg,'=>')-2)||''
    when msg like 'Called by logid=>%'
    then 'Called by logid=>')+2,length(msg)-instr(msg,'=>')-2)||'">'||substr(msg,instr(msg,'=>')+2,length(msg)-instr(msg,'=>')-2)||''
    when msg like 'Continued in logid=>%'
    then 'Continued in logid=>')+2,length(msg)-instr(msg,'=>')-2)||'">'||substr(msg,instr(msg,'=>')+2,length(msg)-instr(msg,'=>')-2)||''
    else msg end msg
    

    Just add the class attribute it then:

    case when msg like 'For details look into logid=>%'
                then 'For details look into logid=>')+2,length(msg)-instr(msg,'=>')-2)||'">'||substr(msg,instr(msg,'=>')+2,length(msg)-instr(msg,'=>')-2)||''
                when msg like 'Called by logid=>%'
                then 'Called by logid=>')+2,length(msg)-instr(msg,'=>')-2)||'">'||substr(msg,instr(msg,'=>')+2,length(msg)-instr(msg,'=>')-2)||''
                when msg like 'Continued in logid=>%'
                then 'Continued in logid=>')+2,length(msg)-instr(msg,'=>')-2)||'">'||substr(msg,instr(msg,'=>')+2,length(msg)-instr(msg,'=>')-2)||''
                else msg
    end msg
    
  • How to get a list of all reports created in OBIEE?

    Hello

    Is there a utility in OBIEE which allows to export a list of reports that are created in OBIEE and put in a excel sheet?

    I have created many reports and I don't want to go through each folder in order to add to the list...

    My environment is 10G, but I also know that she works in 11G

    Thank you

    Catalog Open Catalog Manager-> select the folder-> tools-> create report-> select required columns from left to right
    Give the name of file with .csv ext
    Click OK

    Appreciate if you mark as correct

Maybe you are looking for