One dimension and two fact report in OBIEE

Dear All,
I have one dimension "region" and two facts (Sales value & Gross margin%). Gross margin% is logical column which has been derived from two other facts column and it's value is in range from Zero to 100.
Now, I want to generate below report. For each gross margin% range of 5%, I want to sum the sales value for each region. Please assist (Just a small snapshot of report)
GM%     Region_1     Region_2
<0     254      619
0-0.05     524      799
Thanks & Regards,
[email protected]

Hi,
Create Bins for Gross% fact column and go to pivot view place Gross% fact column into rows area,region column into columns section and sales value into measures section
hope it works

Similar Messages

  • Summary Report with 4 Dimensions and 5 Facts

    Hello OBIEE Czars:
    I have a problem.
    I am trying to make a summary report with 4 Dimensions and 5 Facts.
    Out of that only 2 Dimensions are Confirmed.
    Now when I try to bring in all the facts, I get view display error.
    I searched forum for similar issues.
    So I have tried following so far.
    1) Add other dimensions as source and set level to Total for those dims.
    - After doing this, I dont get view display error, but I get blank rows for couple of facts.
    2) I am already aggregating all the measures.
    Please help me out.
    This forum has been very helpful so far.
    Thanks.
    ~Vinay

    Hi
    This method seems fine until you run a request that includes a filter on an unconformed dimension.
    The SQL itself should be quite straightforward (see below) but the BI Server instance does not seem to be joining this data correctly after posting the 2 separate queries to the database.
    SELECT
    x.dim1, x.dim2
    x.fact1_agg_measure
    y.fact2_agg_measure
    FROM
    SELECT
    dim1, dim2
    SUM(fact1.measure) fact1_agg_measure
    FROM
    dim1,
    dim2, --UNCONFORMED+
    fact1
    WHERE
    .... .... join fact1 to dimensions as normal
    AND dim2 = 'BUSINESS_IDENTFIER'
    GROUP BY
    dim1, dim2
    ) x,
    SELECT
    dim1
    SUM(fact2.measure) fact2_agg_measure
    FROM
    dim1,
    fact2
    WHERE
    .... .... join fact2 to dimensions as normal
    GROUP BY
    dim1
    ) y
    WHERE
    x.dim1 = y.dim1
    The result set returned in Answers is firstly a correctly aggregated record plus ALL rows from the second query above ??
    Just wondering if anyone else has come across this issue?
    cheers
    Tony

  • One sender and two receiver

    Hi All,
    I have a scenario in which there is only one outbound Message interface and 2 inbound message interfaces ( one sender and two receiver). In XI, how can i configure the interface determination for this? Shall i need to put * for receiver and add 2 inbound message interfaces and interface mappings.
    Thanks
    Michael

    Use xpath in your interface determination in case you have some conditions, else u can *** multiple interfaces in your int. det.. also ref:
    /people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

  • I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?, I have one Iphone and two computers. How do i get my ringtones off of one computer and onto the other?

    I have one Iphone, and two computers. They both have different purchases on them. One is older than the other. and one was my moms. How do i get the ringtones off of my computer and onto my moms computer to use all of them on my Iphone?

    Copy them to a cd/dvd/flash drive/external drive/etc,  then to the other computer.
    E-mail them.

  • In my family we have 3IPhones 4S, one IPhone5, one IPad3, one IPadMini and two IPad 4. Is it possible to use the same energieadapter for all of those ?

    In my family we have 3IPhones 4S, one IPhone5, one IPad3, one IPadMini and two IPad 4. Is it possible to use the same energieadapter for all of those ?

    Yes but the iPhone chargers will struggle to charge the iPads ,they need more power than the iPhone chargers produce and with an iPad will charge VERY slowly
    The iPad chargers whether 10w or 12 will happily charge all your devices and Apple confirms the compatibility on the relevant web page.

  • 3 confirmed Dimensions and 2 fact tables

    Hi experts,
    how can we connect 3 confirmed Dimensions and 2 fact tables without loops and traps please give me a solution

    Hi,
    Dimensions Tables : Dimension tables are typically small, ranging from a few to several thousand rows. Occasionally dimensions can grow fairly large, however. For example, a large credit card company could have a customer dimension with millions of rows. Dimension table structure is typically very lean, for example customer dimension could look like following:
        Customer_key
        Customer_full_name
        Customer_city
        Customer_state
        Customer_country
    Fact Tables :a fact table consists of the measurements, metrics or facts of a business process. It is often located at the centre of a star schema or a snowflake schema, surrounded by dimension tables.
    Fact tables contain keys to dimension tables as well as measurable facts that data analysts would want to examine. For example, a store selling automotive parts might have a fact table recording a sale of each item. The fact table of an educational entity could track credit hours awarded to students. A bakery could have a fact table that records manufacturing of various baked goods.
    Context Versus Alias Overview :
    http://www.dagira.com/2009/07/22/context-versus-alias-overview/
    How to create context :
    http://www.bidw.org/business-objects/universe-design/understanding-context-and-its-use-in-business-objects-universe/
    You can also look on the eFashion universe for more information.
    Thanks,
    Amit

  • POSDM Diff Between : One Step and Two Step Processing Tasks

    Hi All,
    Can you pl give some points on difference between "One Step and Two Step Processing Tasks in POSDM ??
    Thanks!!

    Please consult the SAP Note 980272 on the service marketplace. It gives a detailed description of the difference.

  • We have one iPod and two iPhones; we have not been able to transfer our music from Ipod to IPhones, via iTunes, please assist?

    We have one iPod and two iPhones; we have been unable to transfer our music from the Ipod via iTunes to the iPhones, please assist.

    did you right click the ipod/iphone and click transfer purchases

  • Trade-off between the one-arm and two-arm WAE designs

    We are configuring a WAE (model 512) for a branch office and I was wondering if someone could please tell me the trade-off between the one-arm and two-arm WAE designs..
    thanks..
    greg..

    if you are using WCCP then the WAE becomes the client withing the servcie groups 61, 62. In order to accelerate both vlans then apply the ip redirect 61 in on the client vlan ineterfaces to the one interface.
    If inline, you can use both 2 port groups for each client interface or trunk all to a single inetrface and configure which vlans you would like to accelerate.
    Now in terms of of using both GE inetrfaces, I would have to check. A topology diagram would help

  • Hash with one key and two values

    Hello,
    In java can i have a hash or similar data type than can have one value and two keys?
    thanks,
    jd

    Eh, I'd avoid arrays, personally.
    The reason why is that in my experience, once you start doing things like this, you end up adding an arbitrary number of additional elements for each key. Fixed-size arrays would be a pain.
    If you don't want/need to create an object that encapsulates the two values, why not just use a java.util.Collection as the value in the hash? The Collection -- say, a LinkedList (you decide) -- would hold the two values you want associated with the key.

  • Conformed / nonconfirmed dimensions and multiple facts

    Hi all,
    There have been plenty of posts on this issue, I've read a lot about it, but still can't get this working. We're looking at a basic marketing process where we can track the links that have been clicked in marketing emails that have been sent out. What I have is two fact tables, with one conformed dimension between them, and one of the facts having a non-conformed dimension:
    Fact 1 linked to Dim - Links
    Fact 2 linked to Dim - Links; Dim - Email Name;
    In Fact 1 i have defined a measure that counts the number of links clicked
    In Fact 2 i have defined a measure that counts the number of links
    So, I can take fields from Dim - Email Name, and Fact 2 and this will correctly show me the number of links in that email. I can add in the Link Name from Dim - Links to give me the detail of the links in the email. However, when I then add the # of links clicked from Fact 2, this is shown as zero. Removing the Email Name will cause the # of clicks to be displayed correctly for each link.
    I've read this post here:
    report based on 2 different Fact tables
    which seems to contain my exact problem, but the solution listed hasn't worked for me. I've created hierarchies, set the LTS of Fact 1 to be Detail for Dim - Links, and the LTS of Fact 2 to be Detail for Dim - Links and Dim - Email Name. This doesn't work. I've then set the LTS of Fact 1 to be Total for Dim - Email Name. this doesn't work. I've then set the LTS for the dimension tables to be detail in each case, and this doesn't work either. My business question is pretty simple - for each email, list the links and how many times that link was clicked.
    I've started from scratch, I'm only looking at these 4 logical tables, I've got to the stage where I'm restarting BI after every change but I still can't see the problem. Can anyone give me any guidance please?
    thanks
    Matt

    Hi Wildmight,
    apologies for not posting for a few days, I've been out of the country. I've just tried all these, with no joy. At the moment then, I have one single Fact table, with two logical sources, LINKS_FACT and CLICKS_FACT. I've set the LTS for LINKS_FACT to be Email Detail and Link Detail, and the LTS for CLICKS_FACT to be Link Detail and Email Total. The single Fact table now has two measure columns, one a count distinct on linkid and one a count on the clicksid.
    When I go into answers, I select an email title of May Newsletter, choose the link name, and then select the # of links and number of clicks. The log for this query is:
    -------------------- SQL Request:
    SET VARIABLE QUERY_SRC_CD='Report';SELECT "Dim - Emails".TITLE saw_0, "Dim Links"."Link Name" saw_1, "Fact - Links"."# of Links" saw_2, "Fact - Links"."# of Clicks" saw_3 FROM "CRM 2.0" WHERE "Dim - Emails".TITLE = 'May Newsletter' ORDER BY saw_0, saw_1
    +++Administrator:2a0000:2a0007:----2009/05/19 10:05:08
    -------------------- General Query Info:
    Repository: Star, Subject Area: CRM 2.0, Presentation: CRM 2.0
    +++Administrator:2a0000:2a0007:----2009/05/19 10:05:08
    -------------------- Logical Request (before navigation):
    RqList
    Dim - Emails.TITLE as c1 GB,
    Dim Links.Link Name as c2 GB,
    # of Links:[DAggr(Fact - Links.# of Links by [ Dim Links.Id, Dim - Emails.Id] SB Dim - Emails Detail,Dim Links Detail)] as c3 GB,
    # of Clicks:[DAggr(Fact - Links.# of Clicks by [ Dim Links.Link Name, Dim Links.Id, Dim - Emails.Id, Dim - Emails.TITLE] )] as c4 GB,
    Dim - Emails.Id as c5 GB,
    Dim Links.Id as c6 GB
    DetailFilter: Dim - Emails.TITLE = 'May Newsletter'
    OrderBy: c1 asc, c2 asc
    +++Administrator:2a0000:2a0007:----2009/05/19 10:05:08
    -------------------- Execution plan:
    RqList <<3688>> [for database 3023:15084:CRM,31]
    D1.c1 as c1 [for database 3023:15084,31],
    D1.c2 as c2 [for database 3023:15084,31],
    D1.c3 as c3 [for database 3023:15084,31],
    D1.c4 as c4 [for database 3023:15084,31]
    Child Nodes (RqJoinSpec): <<3705>> [for database 3023:15084:CRM,31]
    RqList <<3573>> [for database 3023:15084:CRM,31]
    D1.c2 as c1 GB [for database 3023:15084,31],
    D1.c3 as c2 GB [for database 3023:15084,31],
    D1.c1 as c3 GB [for database 3023:15084,31],
    cast(NULL as INTEGER ) as c4 GB [for database 3023:15084,31],
    D1.c4 as c5 GB [for database 3023:15084,31],
    D1.c5 as c6 GB [for database 3023:15084,31]
    Child Nodes (RqJoinSpec): <<3679>> [for database 3023:15084:CRM,31]
    RqList <<3738>> [for database 3023:15084:CRM,31]
    count(distinct CRM_LINKS_FACT.ID by [ CRM_LINKS.ID, CRM_EMAILS.ID] ) as c1 [for database 3023:15084,31],
    CRM_EMAILS.TITLE as c2 [for database 3023:15084,31],
    CRM_LINKS.NAME as c3 [for database 3023:15084,31],
    CRM_EMAILS.ID as c4 [for database 3023:15084,31],
    CRM_LINKS.ID as c5 [for database 3023:15084,31]
    Child Nodes (RqJoinSpec): <<3658>> [for database 3023:15084:CRM,31]
    CRM_LINKS T26115
    CRM_EMAILS T26105
    CRM_LINKS T26129
    DetailFilter: CRM_EMAILS.ID = CRM_LINKS_FACT.EMAILID and CRM_EMAILS.TITLE = 'May Newsletter' and CRM_LINKS.ID = CRM_LINKS_FACT.ID [for database 0:0]
    GroupBy: [ CRM_EMAILS.ID, CRM_EMAILS.TITLE, CRM_LINKS.ID, CRM_LINKS.NAME] [for database 3023:15084,31]
    ) as D1
    ) as D1
    OrderBy: c1 asc, c2 asc [for database 3023:15084,31]
    +++Administrator:2a0000:2a0007:----2009/05/19 10:05:08
    -------------------- Sending query to database named CRM (id: <<3688>>):
    select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    (select distinct D1.c2 as c1,
    D1.c3 as c2,
    D1.c1 as c3,
    cast(NULL as INTEGER ) as c4,
    D1.c4 as c5,
    D1.c5 as c6
    from
    (select count(distinct T26129.ID) as c1,
    T26105.TITLE as c2,
    T26115.NAME as c3,
    T26105.ID as c4,
    T26115.ID as c5
    from
    CRM_LINKS T26115,
    CRM_EMAILS T26105,
    CRM_LINKS T26129 /* CRM_LINKS_FACT */
    where ( T26105.ID = T26129.EMAILID and T26105.TITLE = 'May Newsletter' and T26115.ID = T26129.ID )
    group by T26105.ID, T26105.TITLE, T26115.ID, T26115.NAME
    ) D1
    ) D1
    order by c1, c2

  • 2 Dimensions and a Fact - Join Paths

    I have a scenario and I have been racking my brains out as to if what I am looking for could be set up. I have two dimenisions - Region and System - each System belongs to a Region. So the System Dimenison contains a Region_Key.
    I have a Fact table that contains both the Region_Key and the System_Key allowing each dimension above to be joined directly to the Fact table.
    Is there any way of creating a model where I could set it up where if someone pulls a column from just the System and Region it only pulls from these two tables (The join doesn't go through the Fact Table). And when a metric is pulled that it uses the direct joins to the Fact table for each table.
    I'd appreciate any feedback, thanks alot!

    If I am understanding what you are saying, you are saying to duplicate the Region Dim in the Business Layer then join this newly created Logical Table off of the System Dim? So snowflaking it out. But how would that allow me to present the Region column as one column in the Presentation layer? If the user just selected the Region column and a Fact I was hoping the path would just go between that direct join. If they selected only Region and System just have it utilize the dimensional join. Thanks for your response by the way!

  • Denormalized dimension and different fact levels

    Thanks for reading...
    Scenario is to compare actual and plan sales. Actuals are on the level of cashdesk, plan is on higher level workstation.
    Dimension levels are Cashdesk -> Workstation -> Location, and is denormalized.
    Question is what is the best practice to get this to work.
    1. Create new dimension starting at level Workstation and join the plan to this dimension. At logical layer make two sources for the attributes Workstation and Location.
    2. Split (normalize) dimension to three dimensions Cashdesk, Workstation and Location. Join plan to workstation dimension at logical layer. And create common dimension table by joining the three to one dimensions.
    3. ???
    Thanks for all suggestions.

    If Cashdesk -> workstation -> location truly represents a single dimension, then you should not split this into multiple dimensions.
    You'll create a single dimension with two logical table sources. First table source will go to a dimension table that includes all three levels, set it's content level to "Cashdesk". Second LTS will go to a table that includes only the workstation and location level info. If no such table exists, you can create it in the physical layer using a view (select distinct workstation attributes and location attributes, but no cashdesk attributes)
    Then I would create TWO fact tables - one for the actuals, one for plan. In theory you could smash it all into a single fact table...but I prefer to have different facts when the underlying data is at different grains. Make sure you set the content level properly for the facts - the "Actuals" fact will be at the cashdesk level, the "Plan" fact will be at the workstation level.
    This is really easy to show, but hard to describe. Send me an email at [email protected] if you need additional info.
    Thx,
    Scott

  • CR 4 Ent, Xcelsius and WebI - one query and two different results

    Dear Sirs,
    I'm using BO 4.0 platform and 3 tools: Crystal Reports for Enterprise, WebI and Dashboard Design (Xcelsius).
    I have one question, because in my opinion in this solution is one inconsistency.
    I have one table in SQL Server (like below):
    IDRec (autoinc)  | Col1 (varchar)   | Col2 (int)
    1      A    1
    2      A    1
    3      B    2
    4      B    2
    I have one universe with ONLY 3 dimensions (IDRec, Col1, Col2). I haven't any measures.
    And:
    1. Using CR 4 Ent and I create report using 3 dimensions (IDRec, Col1, Col2).
    I make sure, that I selected option: "Retrieve duplicate rows"
    If I have 3 columns in details I have 4 records (4 rows) in my report, when I have 2 columns (Col1 Col2) I have only 2 records (2 rows) in report (Page view).
    So universe (or something like this) use option DISTICT (I think).
    2. When I use WebI (14.0.2) I have the same situation.
    3. When I use Dashboard Desigm (Xcelsius 2011) I have 4 rows !!!  ALWAYS - it doesn't matter I selected "Retrieve duplicate rows" or not  !!!
    When I look to "View script" window, I not see DISTINCT clause.
    Am I doing something wrong?
    I can change the settings so as to be able to see duplicate records?
    It's very important for some calculation, especially in Crystal Reports (for Enterprise).

    Hi,
      Thanks for the response...But the result is deviating from the expected..
           expected is
         if we have first query returns              second query returns
                  1                                                     4
                  2                                                     5
                  3                                                     6
         these two queries result should be in one table , with first query result in first column and second query result in second column.
       The two queries fetching data from same table(category table as in my post) with different search criteria( in where clause).......Regards,
    Rakesh.

  • What are impact of Braking one dimension into two

    Hi Champs,
    I have one Dimension say Product that has two child AC and AP. and these two children has two childs each.
    and further these devided into many levels.
    this is like
    Product
    -AC
    -CC_A
    -CC_B
    -AP
    -CP_A
    -CP_B
    A,B are showing some member, but both are repeting AC and AP.
    Now I need to create a seperate dimension for A and B and remove from Product.
    How this will be done and on what objects of Essbase will be affected. How to do.
    Thanks in Advance
    Shiv

    Breaking a dimension into multiple dimensions has a number of implications. You have to modify dimension build and load rules, caclulation scripts, report scripts and front end tools/templates and source files to use the new structure. IT can be a lot of work.
    I could not tell by your example, when you split the dimension in two, will you be able to get the data as an intersection of the two dimensions? If not, it would be hard to split. Can you explain further why the dimension needs to be split into to and perhaps I can make a more informed recomendation.
    The paractical answer of exporting the data from Will is correct. You will need to export the existing data (or get it from source again) in a column format and create load rules to be able to reload it. Depending on how the intersections work, it might be an easy or extremely hard task

Maybe you are looking for

  • How to pass thr document from Webdynpro into SAP R/3?

    HI Gurus, I have a requirement to offer a Document uploading option through Java webdynpro screen. I have referred the below link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71 which has the s

  • Weblogic 10.3.6 - Custom Tag Issue

    We have created custom tag in our application. It is working fine with Tomcat and Jetty Server but on Weblogic 10.3.6 we are getting below issue: securities.jsp:301:5: The tag handler class was not found "jsp_servlet._tags.__money_tag".   <neutrino:m

  • Need help in chooseing

    Hi all I am debating weather or not to purchases a MacBook or a MacBook Pro. I need your advice on what I should get. I am coming from Ubuntu/Windows. My needs and general programing, word possessing,web design possible gaming, photo editing and stor

  • My photo library is full of imported unwanted images

    I was clicking around on my new mac having just imported final cut pro, and suddenly i saw the importing immages bar and a counter running. It said importing 20000 immages, or something like that. I hit cancel and found I had somehow imported hundred

  • SOAP Sender Authentication deactivation

    Hi All, I have scenerio from SOAP to Proxy. While sending data to PI through URL thrid party wants us to deactivate authentication. We require this only in development enr for testing. Can you please advice how we can do this. Regards, Vikrant