Two physical logical source formulas for on logical column

I have two fact tables :
1. W_SERVICE_REQ_F(opened_dt_wid, assigned_dt_wid, closed_dt_wid, QUEUE_WID, SERVICE_REQ_WID): grain is one row per service request
2. W_SERVICE_REQ_DAY_A(DATE_WID, QUEUE_WID, NUM_OPENED, NUM_CLOSED, num_assigned)
The goal is to answer NUM_OPENED, NUM_CLOSED per queue in a day and be able to drill-down to those service requests.
Physical model:
Common_Date.row_wid = W_SERVICE_REQ_F (Opened_Dt).opened_dt_wid
Common_Date.row_wid = W_SERVICE_REQ_F (Closed_Dt).closed_dt_wid
Common_Date.row_wid = W_SERVICE_REQ_DAY_A.DATE_WID
Queue_d.row_wid = W_SERVICE_REQ_F.QUEUE_WID
Queue._drow_wid = W_SERVICE_REQ_DAY_A.QUEUE_WID
Service_req_d.row_wid = W_SERVICE_REQ_F.SERVICE_REQ_WID. (there is no join between Queue_d and Service_req_d)
BMM Fact and LTSs:
I have W_SERVICE_REQ_DAY_A, W_SERVICE_REQ_F (Opened_Dt), W_SERVICE_REQ_F (Closed_Dt) as LTSs of "Fact - Service Request" in that order.
BMM Fact logical columns (measures):
# Closed
# Opened
Question:
I want to configure each of the above logical column with two physical columns of different aggregate forumlas. (to ensure queries that dont need service req number hit a table) (similar to http://www.gerardnico.com/wiki/dat/obiee/fragmentationlevel_based).
SUM(W_SERVICE_REQ_DAY_A.NUM_CLOSED)
COUNT("W_SERVICE_REQ_F (Closed_Dt)".SERVICE_REQ_WID)
Can someone help in configuring one logical column with two physical column sources with different aggregate formulas?
This is what I tried:
In # Opened Properites->Data Type, mapped it to both W_SERVICE_REQ_F (Closed_Dt).ROW_WID and W_SERVICE_REQ_DAY_A.NUM_CLOSED
In # Opened Properties->Aggregation tab, selected 'Default aggregation rule' as Count Distinct. In the bottom, Logical table sources override as follows:
W_SERVICE_REQ_DAY_A : SUM("Fact - Service Request"."# Closed")
W_SERVICE_REQ_F : COUNT("Fact - Service Request"."# Closed")
Should it be done in a different way?
PS: OBIEE 10.1.3.4.
added OBIEE version: Feb 3, 2012 4:40 PM

I have two fact tables :
1. W_SERVICE_REQ_F(opened_dt_wid, assigned_dt_wid, closed_dt_wid, QUEUE_WID, SERVICE_REQ_WID): grain is one row per service request
2. W_SERVICE_REQ_DAY_A(DATE_WID, QUEUE_WID, NUM_OPENED, NUM_CLOSED, num_assigned)
The goal is to answer NUM_OPENED, NUM_CLOSED per queue in a day and be able to drill-down to those service requests.
Physical model:
Common_Date.row_wid = W_SERVICE_REQ_F (Opened_Dt).opened_dt_wid
Common_Date.row_wid = W_SERVICE_REQ_F (Closed_Dt).closed_dt_wid
Common_Date.row_wid = W_SERVICE_REQ_DAY_A.DATE_WID
Queue_d.row_wid = W_SERVICE_REQ_F.QUEUE_WID
Queue._drow_wid = W_SERVICE_REQ_DAY_A.QUEUE_WID
Service_req_d.row_wid = W_SERVICE_REQ_F.SERVICE_REQ_WID. (there is no join between Queue_d and Service_req_d)
BMM Fact and LTSs:
I have W_SERVICE_REQ_DAY_A, W_SERVICE_REQ_F (Opened_Dt), W_SERVICE_REQ_F (Closed_Dt) as LTSs of "Fact - Service Request" in that order.
BMM Fact logical columns (measures):
# Closed
# Opened
Question:
I want to configure each of the above logical column with two physical columns of different aggregate forumlas. (to ensure queries that dont need service req number hit a table) (similar to http://www.gerardnico.com/wiki/dat/obiee/fragmentationlevel_based).
SUM(W_SERVICE_REQ_DAY_A.NUM_CLOSED)
COUNT("W_SERVICE_REQ_F (Closed_Dt)".SERVICE_REQ_WID)
Can someone help in configuring one logical column with two physical column sources with different aggregate formulas?
This is what I tried:
In # Opened Properites->Data Type, mapped it to both W_SERVICE_REQ_F (Closed_Dt).ROW_WID and W_SERVICE_REQ_DAY_A.NUM_CLOSED
In # Opened Properties->Aggregation tab, selected 'Default aggregation rule' as Count Distinct. In the bottom, Logical table sources override as follows:
W_SERVICE_REQ_DAY_A : SUM("Fact - Service Request"."# Closed")
W_SERVICE_REQ_F : COUNT("Fact - Service Request"."# Closed")
Should it be done in a different way?
PS: OBIEE 10.1.3.4.
added OBIEE version: Feb 3, 2012 4:40 PM

Similar Messages

  • Can somebody give me the formula for the balance column in a check register please? I am trying to setup like sample in iWork but am missing something.

    Can somebody give me the formula for the balance column in a check register please? I am setting the register up like the sample in iWork 09 but I seem to be missing something in the formula.

    OM,
    The way the checking account balance column works is to designate one cell for the starting balance, indicate income with positive figures and outgo with negative figures, summing the transactions and adding the sum to the starting figure.
    The formula used, =$F$1+SUM(OFFSET(F3,3-ROW(),-1,ROW()-2)), is not too difficult to understand if you study the syntax for Offset. The author of this template didn't do us any favors because the expression could have been written more clearly, in my opinion. I'll explain how it's done in the template, and then how I would have written it. With the two approaches you may be able to see what it's all about.
    $F$1 is the starting balance.
    SUM requires a Range specification.
    Offset provides the range specification. The syntax for Offset is as follows:
    Base Cell. In this case it is F3, the cell the expression is written in.
    Row Offset. In this case the author takes the current row number and subtracts the starting row from it. For the first balance the offset will be zero since the first balance is in row 3. For all the subsequent balances, the offset will be negative, meaning that the offset will point to a row above the current row.
    Column Offset. In this case the column offset is 0. That means that it is pointing 1 column to the left, Column E.
    Rows. This parameter sets the length of the range, in rows. Subtracting 2 from the current row number means that the range will be 1 for the first balance and will grow by 1 for each entry down the list.
    Taking all this into account, the range for the Sum function will always be Column E from Row 2 to the current Row.
    How I would have written the balance expression:
    =F$1+SUM(OFFSET(E$3,0,0,ROW()-2))
    I believe it's easier to follow.
    The starting balance is still in F1, but only the row needs to be absolute - a fine point, I know.
    In my expression the base cell for the Offset function is the first entry cell of the transactions, E3. The row needs to be absolute, there is no reason for the base cell to move about as it does in the author's version.
    In my approach, both the row and column offsets are zero. We always start at E3.
    In my approach, the number of rows in the range is the current row number minus 2, just as in the author's expression. That means we include all rows from Row 3 to the current row.
    I'd be happy to answer any other questions about the specifics, but you need to be specific about what you don't get.
    Jerry

  • Using two drives as source/target for copying a disk?

    Greetings,
    Please bear with what is probably a stupid question from a pc ship-jumper Mac newbie.
    I ordered my new Mac Pro with two Pioneer optical drives in order to, as Apple says, "streamline disk burning".
    I learned that Toast is the gold standard for disk burning on Macs, so I bought the Titanium version.
    I assumed it would be straightforward to use the top drive as the Source for a burn and the bottom drive as the Target.
    But I can't find any way to accomplish this, either with Toast or with Apple's own Disk Utility.
    It always creates a disk image and then wants a blank disk to be inserted into the same drive.
    Am I overlooking something really simple here? I'm not sure why there would be any need for two drives if having a source/target arrangement is not possible, or why Apple would say having two drives "streamlines" things.
    Thanks in advance for any help or insight you can provide.
    - Gregg

    I told you it was a stupid question.
    I figured out that in Toast, you have to go ahead and click the 'Record' button, then you get a chance to select the second drive as the target. It was a little confusing because both drives have the same name. The difference is the drive with the source disk in it will appear as not writeable.
    Hopefully this post will help some other idiot.

  • Formula for Cross-Tab Column

    Hi
    I am struggling with a particular issue related to cross-tab and I tried a lot, but couldn't managed to get the solution.
    Please help with this issue , it would be of great help to me.
    Thanks
    Aniket
    [CrossTab problem|http://www.forumtopics.com/busobj/viewtopic.php?t=120765]

    Thanks for your prompt reply.
    As I am new to this forum,so I don't know how to attach file, also I tried searching but couldn't get.
    At the end of the previous post, Link is given. There is a file attached "Plz_help.zip". Please look into that file and also if you know how to attach any file, please let me know.
    If still it's not clear, please let me know I will try my best to clear this issue.
    [http://www.forumtopics.com/busobj/viewtopic.php?t=120765]
    Thanks a lot.
    Regards
    Aniket

  • Can I have a product formula in an entire column that will multiply the previous two columns?

    Trying to enter a product formula for an entire column that will multiply the previous two columns without having to select each row of two cells and clicking on "product".  This is tedious.  Thanks.

    My own tip to apply fill down to a column :
    click the tab at top of the column to select the entire column
    press command then click the header cells to unselect them
    Trigger Table > Fill > Fill Down
    It's the kind of info which is available in Numbers User Guide.
    It's always good practice to Read The Free Manual.
    Yvan KOENIG (VALLAURIS, France) mercredi 21 septembre 2011 21:07:53
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Multiple source tables for Measures dimension.

    Hi,
    We have two different SQL source tables for the Measure dimension in our project. Both the tables have the same structure but the Measures they contain are different. Based on certain condition Essbase will have to pick up Measures from one of the two tables. So basically the source table changes based on the condition. Is it possible to design rule files to achieve this? Please help me with this.
    Thanks,
    Krishna

    as I am sure many will say essbase and load rules are not really an ETL tools.^^^ :)
    Glenn is going to counter with a "I know how to do this in three steps using create column as text, join, and a oft-overlooked but awesome command that everyone but Tom Tortolani (I think I have the spelling on that right -- he was the Arbor employee that wrote Load Rules) forgot.
    I 100% agree with John -- why not do it in SQL?
    Regards,
    Cameron Lackpour
    Edited by: CL on Jan 23, 2013 6:33 AM
    Misspelt Tom's name

  • Needing to input formula for percentage

    It need to look like this...(obviously I can do this part), but I need to input the formula for the third column to automatically take off the 30% discount from each list price (they will all be different. Then, I need the last column to keep the running total for all discounted prices column. I am having trouble finding this in the helps, as alot of the info is similar to what I need, but I have not found one that actually shows how to just take the 30% off the list price. Thanks a bunch for any help.
    Title
    Author
    List Price
    30% Vendor Discount
    Running Total
    BlahBlah
    Blah
    19.99
    need formula for reducing 30% of list price
    This column needs to keep a running total of discounted price

    Hi gayle,
    The formula in the 30% discount column (D2) is simply:
    =C2*.3
    Fill this down.
    A running total of every number in column D would look like this:
    SUM(D$2:D2)
    fill this down.
    quinn

  • How to apply Filter condition for a specific column but not to the report?

    Hi,
    I am having a issue in applying a filter condition to one of the column.
    I have a schema with one fact table and around 10 dimension tables. My requirement is to bring a count on the fact table with related to some other columns from the dimension tables.
    Lets consider a scenario with tables like Sales (Fact), Region (Dimension), Year(Dimension), Sale Type (Dimension).
    Now my requirement is to bring out the fields
    City(Region) --City                                   
    Year -- Year
    Sales Count(Sales table) ---Count of all sales from the fact table
    Sales Count(Sales table) -- Count of all sales from the fact table where sales type is 'CASH'
    Here my issue is how do I apply the filter condition of Sales Type='CASH' only on one of the Sales Count column which is from the fact table. I want the filter condition to be imposed only for the fourth column.
    Can anyone let me know how to achieve this?
    Thanks

    This is quite simpe. Edit the column formula for the 4th column and put something like this. I am doing this from memory so the syntax might need checking:
    Case When "Dimension Table"."Sales Type"='CASH' Then "Fact Table"."Measure" Else Null End
    You could also consider making this a permanent addition to your RPD if this measure will be used again and again. You would add a new logical column and use the expression builder to arrive at the same result.

  • Filter for a Particular column in obiee 11g

    Hi,
    I have created an report having 10 measure columns and filter by month i.e., less than (particular month ) which is working perfect.Actually my requirement is to one column to be filter by equal to particular month. if is it possible kindly tell me how to do. thanks in advance!

    Hi,
    Goto Edit formula for that particular column.
    and use FILTER(measure_column USING (condition)).
    eg:
    FILTER("XXXXX"."measure_column" USING ("OBIA"."D5.Times"."Month" =particular_month ))
    Try this... This will work fine.

  • Display values for logical columns with several physical sources

    Hi all,
    I'm enocuntering some strange behaviour with the values displayed for a column (when we want to add it a as a filter, and in the dialogue box select 'Show All' values).
    Basically the logical column is mapped against several physical columns as the base fact table is aggregated to different levels. Additionally, one column in the fact tables has an attribute value, and these vary between the aggregated and non-aggregated table. This is not a problem.
    In the production environment, when we display the all values in the filters prompt for this column we are seeing the values being taken from one fact table. Naturally this means that not all the values possible for this column are being shown (i.e. values from the aggregated fact tables are missing). Now in one of our test environment where those fact tabels have additional data loaded, the values are being taken from one of the other fact tables. Unfortunately it is not necessarily the fact table with less data.
    My questions are:
    a) What dictates which fact table the server will use when the query in Answers doesnt use any dimensions (i.e. we are selecting just this attribute and selecting all the possible values by which it can be filtered)?
    b) Is there a way of obtaining all the values from the differente physical columns? I.e. that the display values shows the values of that logical column across all the physical fact tables? Maybe we would need to model that attribute as a logical dimension just for that attribute? Im not really sure this would work, as at the physical level the join between the dimension and fact would still have to go to only one particular fact table.
    Any info or help is much appreciated.

    Hi,
    Aggregate tables exist at physical level and are created by ETL procedures. Although i am aware that the dimension come into play when the application needs to decide which source aggregate table to use, it is not an issue here as in our query we are not involving dimensions. We are selecting just this one columen, and then the filter option on this column, then in the dialogue box we select 'All Choices', only the values from one of the source tables is being shown.
    This is not a probelm within reports, i think it is a product limitation in that in that option to list all values a user can filter by, it is not possible to display all the values from the different fact tables to which that column is mapped.
    Has anyone else encountered this behaviour?

  • Why logical column in terms of other logical columns and not physical sourc

    Hello
    Can someone shed some light that in what scenario ..defining a logical column in terms of other logical column is beneficial compared to defining logical column in terms of physical sources?
    I found something on google that said defining in terms of logical columns is like one time thing. I dont understand, even if you define in terms of physical source that' too one time.
    In both the case we build an expression specifying which logical or physical columns.
    Thank you

    well logical columns from physical source, if in logical fact table you can set aggr rules. Logical columns based on other logical columns you can not. Logical columns based on other logical columns will inherit the aggr rules. So for instance, if you create col1 and col2. Both based off physical and both having sum aggr rule. If you create logical column col3 based off these two as such "col1"/"col2" it will produce the following sum(col1)/cum(col2). Now if you really wanted sum(col1/col2) then you should have made col3 based off physical as col1/col2 with aggr rule of sum.
    Also of some note, all logical columns based off physical will be performed in the inner most query. So for my example above to get col3 where it is logical col1/logical col2 or sum(col1)/sum(col2) the physical query will be:
    select D1.c1/D1.c2
    from (
    select sum(col1) as c1,
    sum(col2) as c2
    from tableA
    ) D1
    So my short summary of this, is what or how do you want your sql to be created. Based on this can you lead you to your answer of whether to use logical col based on physical or other logical columns. And unltimately, check the sql generated from your work to ensure the sql queries generated are what you want and expect.
    I hope this helps!

  • A question about the multiple source table for the logical table

    Hi All,
    I am to test, having two physical sources for an logical table, but it is failing as it is always getting data from only one table rather than two tables.
    !http://picasaweb.google.com/KSivaUS/OracleForumQuestions#5433761212378087346!
    Any suggestion or inputs would be appreciated.
    Thanks
    Siva

    your 2 measure columns are in the same unique - low level??
    your connections look good.
    which is the result if you bring only the sales column at your report??is it the sum of the 2 datasources??
    try to repass again all your bussiness model.or make an other one.
    fisrt pass your fact with 2 sources and then your dimensions....
    as i can see you have customer_dim,do both of your columns have the appropriate key to this dimension??try to make a physical connection from both fact sources to this dimension as well as for time...
    if you do it in this way ,there is no possibility not to work
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • Major release with two logical stbys and two physical stbys

    I have a 300G 11g database in production with two physical standby and 2 logical standby databases. We are planning for a major release which include heavy data load and ddls. What would be the best way to salvage my standbys while running the release scripts.
    I am afraid that we have 70/30 chance of successfully releasing the release, which means that I have 30% possibility to "restart" the release process from the point 0. Someone in my shop suggested using flashback, but I don't know if my server have that much of space to assign to the flashback recovery area. The upgrade/release takes approximately two days to run.
    I was thinking of stopping the log transfer to all the standby database locations while running the load and once I am done, then transfer all the logs and re-enable the standby to "catch up", but would it work for logical standby, too?
    I could not just disable all the standbys and re-create them once the release is completed because two of the standby databases are located at off-site with the limited network speed, and re-creating standby through network takes too long for us to do so.
    Any thoughts would be appreciated.
    Thanks,

    I have a 300G 11g database in production with two physical standby and 2 logical standby databases. We are planning for a major release which include heavy data load and ddls. What would be the best way to salvage my standbys while running the release scripts. What would be the approximate size of data size it is going to load?
    If its very huge then see the disadvantages:
    1) Log of redo
    2) in equal size of Archive logs
    3) FRA/arch space issues at OS Level
    4) Network traffic to 4 sites(2 physical + 2 logical)
    5) Lot of archives on Standby databases too
    6) How fast standby can fetch & apply?
    I am afraid that we have 70/30 chance of successfully releasing the release, which means that I have 30% possibility to "restart" the release process from the point 0. Someone in my shop suggested using flashback, but I don't know if my server have that much of space to assign to the flashback recovery area. The upgrade/release takes approximately two days to run.Its production, When you flashback database it will open database in resetlogs then your complete DR setup is in trouble.
    is it flashback or restorepoint with flashback?
    Restore Points in Oracle10g Release2 [ID 330535.1] --> applicable for 11g too.
    I was thinking of stopping the log transfer to all the standby database locations while running the load and once I am done, then transfer all the logs and re-enable the standby to "catch up", but would it work for logical standby, too?That is the good plan. Mseberg already given Documents which you can refer for logical standby.
    BTW what is your protection mode?
    You can refer below links for physical standby
    http://docs.oracle.com/cd/B28359_01/server.111/b28294/rman.htm#CIHIAADC
    http://www.idevelopment.info/data/Oracle/DBA_tips/Data_Guard/DG_53.shtml#Physical%20Standby%20Database%20Lags%20Far%20Behind%20the%20Primary%20Database
    I could not just disable all the standbys and re-create them once the release is completed because two of the standby databases are located at off-site with the limited network speed, and re-creating standby through network takes too long for us to do so.Re-creating standby is bad thinking, when you have other options.
    Think how much time you can spend on performing rollforward &
    how much time to re-create standbys?
    Hope you have answer for this.

  • Creating Source systems in two same logical BW systems from single R/3 sys

    Hi All,
    We are facing an issue while creating Source systems in two same logical BW systems, from single R/3 systems. Our Basis team is telling that if we want to connect the single R/3 system into 2 BW systems with same logical name, we will need to delete the source systems from one BW systems and create in another system. Also they told by doing so it will delete all the transfer rules and PSA table existing in the current BW system, which has the source system connectivity with the R3 system now.
    Is this anyway to create the same source systems in two same logical BW systems, from single R/3 systems without deleting the transfer rules?. Also please help us to get anu OSS note or document explaining this in details.
    Regards.
    Muruganand.K

    Hi Muruganand,
    I dont think it is possible as connecting one R/3 Source System to two BW Systems.
    If you could get the possible solution, please do reply to the post.
    Regards,
    Kiran

  • Create two logical columns with same LTS mapping but diff filter conditions

    Hi,
    Problem:
    How to create two logical columns within same logical table mapped to same physical column but different filter conditions?
    I have a scenario where in,
    Physical layer columns
         - table1.employee
         - table1.emp_city
    I need a columns in logical layer:
    Logical layer - lt1.count_emp_delhi (counts distinct employees whose city_name = 'Delhi')
              lt1.count_emp_mumbai(counts distinct employees whose city_name = 'Mumbai')
    My approach:
    For Delhi column
    1. Create a logical column lt1.count_emp_delhi mapped to the physical column table1.employee
    2. Aggregate using countdistinct in aggregate tab.
    3. Edit the mapping condition
         3.1. Use the where clause and set table1.emp_city='Delhi'.
    For Mumbai column.
    Followed the same approach as above but in 3.1 if I change the condition to 'Mumbai', even the delhi column is populated with mumbai count which is ERRONEOUS
    Could some one please help?

    Hi,
    1. Create two alias tables for table1 in Physical Layer. Lets say TB_Mumbai and TB_Delhi
    2. Create a logical table in BMM layer (D1 Employee Cities )
    3. Drag and drop the employee & emp_city columns from both alias tables (TB_Mumbai and TB_Delhi ) into your newly created logical table.
    4. Now you can see two Logical Table Sources (TB_Mumbai and TB_Delhi )
    5. Now using Where condition, write the condition on each table
    NOTE: Don't write any condition on the Physical table Table1.
    Hope it helps you.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

Maybe you are looking for

  • Multiple desktops in Windows

    Hi, We all know Linux has it, but Windows doesn't. Well there is a nice German bloke that wrote a very good tool to solve this in Windows. http://www.dexpot.de/index.php?lang=en The program is free for private users and works very well. Enjoy!

  • TS5168 some of my pictures say that the necessary data reference could not be resolved. help

    some of my pictures say that the necessary data reference could not be resolved. help

  • Kindly Could anybody Clarify

    Hi, Could anybody clarify me on below query. I have a production environment where the total number of weblogic.kernel.Default threads are 25. Please correct me if i am wrong. ---It ti like one thread can handle at max 65536 numbers of request at a t

  • Itunes won't run since downloaded 7.2

    itunes was working fine until I installed 7.2 now it says "can't run due to a problem with audio configuration. I uninstalled it and reinstalled and it did the same thing. Now I have lost everything I have on itunes.

  • Can't change Artist or Album name for multiple songs now.

    I can no longer select an entire group of songs and change the name of the artist or album.  It just ignores my changes.  I can change individual items with no problem, but that is incredibly time consuming if I want to change the name of one of thes