Multivalued dimensions

Hi!
Has anyone dealt with multivalued dimensions (many-to-many relationship between facts table and a dimension) in OWB?
There is an article about this from Kimball in http://www.dbmsmag.com/9808d05.html , but how could I apply it in OWB?
Thank you,
Yorgos

Hi,
I looked at creating a bridge table for a multivalued problem I was having at Government site. However, because there was no unique identifier for the data in my 'dimension' I just degenerated the data into my fact.
However, Ralph Kimball does have quite a good example of this type of problem in Chapter 13 of his book 'The Data Warehouse Toolkit', I would probably implement the solution using dimensions to control the FK-toPK relationships. This looks a little different to the article you mentioned before. Basically he adds an extra table between the fact and the bridge table.
Hopefully this helps.
Thanks
Jonathan

Similar Messages

  • Kimball "helper table"

    I've seen several queries in the forum that deal with multivalued dimensions. Sooner or later the "kimball" articles on "helper tables" or bridge tables are referenced, then the inevitable question .... "so how do I do a helper table in OWB" is asked.... but no one answers ... does that mean the answer is you can't have a help/bridge table in OWB?
    I have an "organization" dimension, on some of my products the organizations share costs ... in the OLTP system that we're replacing this is handled similar to the "helper" table in that multiple cost records are assigned to the assets and the "weighted" value for each record has a validation to ensure they all sums to 1.
    I think my options are:
    1) force the dimension to have only one value (In my case this means change the business process which is not a valid solution)
    2) Use a helper table (can't figure out if this is doable in OWB)
    3) create a fact with multiple FKs back to the Organizations table (assumes a "fixed" number of multiple values for the dimension, don't really know what this upper limit is).
    Any thoughts here would be appreciated.

    While I haven't tried to directly create a bridge table in OWB, you CAN very easily create and maintain a bridge table in PL/SQL with OWB.
    For example, I might have a location_dim with a pretty difficult ragged hierarchy that needs a bridge table for the proper joining into the fact table.
    You can make a package to load the bridge for the first time, and them maintain this bridge table very easily. In a mapping, say the mapping that is population your location DIM, you can also call a PL/SQL package to kick off the loading of the bridge table when the location DIM map is completed. Then, every time the location DIM mapping is executed, it will call every time the bridge table's PL?SQL loading routine as well.
    It's similar to the pre and post mapping operators and calls you can make in a mapping.
    Just make sure your bridge table is already created and ready to go.
    On another note, I would imagine doing this in a mapping can be done too. You really have to think logically though about what you truly need in the table.

  • #Multivalue error with merged dimension

    Hello Experts,
    I have a report which has two queries 1 and 2. Query 1 has Year,Month,DB,UserID and NOQ(measure) obejcts. Query 2 has User ID and Username Objects.
    The requirement is to display Username along with UserID and other objects in Query 1.
    I have merged UserID from both queries and the merged object is named as "LANID" and non merged dimensions are created as Detail Objects for year month and DB with associated dimension as LANID.
    If I drag year-detail,month-detail,DB-detail,UserID (from LANID) and Username,I get #MULTIVALUE error in  month column for User IDs which have multiple records for the same year,different months and same DB.
    I came across a similar thread,http://www.forumtopics.com/busobj/viewtopic.php?p=856502 where Dave Rathbun mentions that merged dimensions work only where there is unique record or same level of granularity between two dataproviders which is not the case here.
    Request you to share any workarounds (asap) to achieve this.
    Thanks,
    Sowrabha

    Is there some sort of aggregation occurring that's causing multiple values for one row?
    Check the table settings and select "avoid duplicate row aggregation" and see if that helps.
    Also, with merged dimensions when you're missing individual query objects with merged objects, dimensional context becomes unknown or the wrong context is assumed, so you may be able to clear up the error by adding in a dimensional context (such as [Month-Detail] In ([User ID]).
    I hope that helps,
    Carly

  • SSRS with DAX - parameters multivalue vs total element

    Hi all,
    I'm using SSRS on top of a SSAS tabular model to create intuitive dashboards for management department.
    One thing I'm struggling with is the lack of a "total" on parameters. What I'm doing is, based on the fact table, I create the datasets that will feed each parameter, so it only has the dimension members available on the fact table. That is fine
    performance wise, you only have 1 element and it renders very quickly.
    For a management perspective at a higher level it is important to view the totals to have the big picture of the information. In my project we are in a University, so I have the parameters Year, school (there are several schools in the university campus)
    and the course (computer sciences, math, statistics, etc).
    At first glance, if I'm a course coordinador I want to pick my course and have a global view, and I'm achiveing that, but imagine now, that I am the school coordinator, or the university coordenator.
    I want to see the aggregate values by all courses or by all schools.
    In my view I have 2 ways to do this and I come from a tradition cubes background:
    1 - I would use the all element the cubes hierarchy have on each attribute
    2 - I would use multivalue parameters with StrToSet (worse performance)
    Using DAX what is your approach?
    Best regards

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

  • #Multivalue error in BO webi.

    Hi
    We are having a webi report based on two Bex queries. One query on top of a multiprovider and another on a DSO. The DSO contains rate category information and mutiprovide contains customer deatils. "Rate Category" is the common field between the two sources. So we have a merged dimension on top of Rate Category.
    In the report we need to display the winter and summer rates used for a particular customer based on his recent rate category in seperate cells outside the table. Based on the recent meter reading date, we are picking the value of rate category using the below formulas.
    [recent MR date] = max(meter reading date)  // measure variable
    [recent rate category] = if (meter reading date = recent MR date) then [customer].[rate category] //dimension variable.
    Once the recent rate category is got, using the below formula we are doing a look up on the another bex query(which is built on DSO)
    [recent winter rate] = if (recent rate category = [DSO].[rate category]) then [winter rate] //measure variable.
    Upon using these formulas we are getting #multivalue error.
    Please suggest some solution for the above issue.

    Hi Vinayak Gole,
    Check the following Property.
    Right click on the table and check the  “Avoid duplicate rows aggregation” option.
    Then save it and reopen the report .
    Regards,
    Anish

  • Bex Percentage Indicator in the WebI report (# Multivalue)

    Hi All!
    I'm having a difficulty to produce a Bex percentage indicator to a WEB I report.
    This is the result of my query:
    Cycles     
    Qty1     
    Qty2     
    (Qty1%AQty2)
    1     
    100     
    200     
    50%
    2     
    200     
    200     
    100%
    3     
    300     
    300     
    100%
    4     
    400     
    400     
    100%
    So far the report remains perfect.
    When I remove  Cycles dimension report, but let the cycles 1,2,3 and 4 in the Query  filter, the result is  # Multivalue for Qty1%AQty2) measure.
    We tried all kinds of aggregation in BO or in Bex query, and  The Sum aggregation  results the sum of the percentages, when need is that the formula is made again with the totals.
    What we need is it looks like this:
    Qty1     
    Qty2     
    (Qty1%AQty2)
    800     
    1100     
    72%
    Is there any way to make this in Bex and then translate to BO? The formula should be Sum (qte1) / Sum (qty2) *100?
    Or some syntax, that the bo understands what he need to regroup and give the right percentage?
    The final user needs the indicator create in the Universe, not in the report. (In the report works, but not in the Universe measure ).
    I donu2019t know if you get the idea, but I am available for any doubts.
    Specification:
    SAP BO XI r3
    SAP BW 7.0
    Tks a lot!
    Livia

    Have you tried:
    = ( sum([Qty1]) / sum ([Qty2]) ) * 100
    or...
    = ( sum([Qty1]) ForAll [Cycles] / sum ([Qty2])ForAll [Cycles] ) * 100
    You could create some global CKF (creating CKF as local structure formula will not work) in BEx. Go to properties, calculation, Calculate Results As... Sum. You may need to use exception aggregation. Find a characteristic that is the same value for all cycles and use that as the exception aggregation reference characteristic. Using BEx may be the best idea if you have a high volume of records since Webi performance on high volumes is not great.

  • # Multivalue error in cross tab

    Hi All,
    I am using BO-launch pad 4.1,sp2 Data is from Bex-query using CMC.
    Table: Cross tab
    1)Dimenssion obj: CO-object
    2)Attributs: Co-obj-wbs elemt,costcentr,order
    3)Measure:Budjet aproval overall, Budjet for annul,Actual cost, Actual quantity,planned cost, planned quantity
    when drag i dimension co-obj,attributes and all measures it showing values but when i drag attributes and measures (No need to drag dimension) it is showing in crosstab
    # Multivalues error in all measure fields.
    Can you plz give me suggestions on this.
    Thanks
    Ganesh

    Hello,
    Please check if you have used exception aggregation on measures in the BEx queries. These aggregation might be using some dimensions as reference characteristics. And if that dimensions are not included, you might get these multivalue error.
    Good Day !!

  • #MULTIVALUE error in SAP BI 4.1 SP3 WebI report after upgrade

    Facing issues after upgrading from BO 3.1 SP3 to SAP BI 4.1 SP3.Below are the details:
    1.The WebI report is created with 2 data providers. The report tab has a vertical  table with 2 dimensions and 3 measures.
    2.In the report layout the objects displayed is coming from base dimension and not merged dimension.
    3.The data in some of the rows displays as #MULTIVALUE and some of them display the value.
    4.The report also have Sub totals and no breaks.
    Based on point no 3, not able to verify whether the subtotals are been calculated correctly. Please share your inputs,suggestions or solutions to resolve this issue.
    Thanks in advance.

    Hi,
    Do you have the Associated object on layout?. Drag and drop in a column and if you dont want to display hide it.
    Also , did you check the Extended Merged dimension option in properties?.
    Thanks,
    Jothi

  • #MultiValue

    Hi,
    I want to create a graph in web intelligence by using two dimensions month and state name and one measures, we have multiple state name, when state name have different measure values on same month then i got the #MultiValue error on x-axis against month name, this is scenrio like
    Month          Statname     measure
    1                     abc            1
    2                     abc            2
    2                     def             3
    3                     xyz            4
    4                     rtf               6 
    5                     tye              7
    5                     zyx             9 
    6                     ere             10
    Have someone idea, how can i resovle this issue.
    My platform is Windows Server 2008, BOX 3.1 SP3.
    Regards
    Tayyab

    Thank you very much pumpactionshotgun,
    There is my forumula
    =If Length([ReportFilter]) >4 Then FormatDate(ToDate( Substr([CALENDAR YYYYMM];1;4)+"-"+Substr([CALENDAR YYYYMM];5;6)+"-"+"01";"yyyy-MM-dd");"MM-yyyy") Where ([CALENDAR YYYYMM] >="200801" And [CALENDAR YYYYMM]<="200812" ) Else FormatDate(ToDate( Substr([CALENDAR YYYYMM];1;4)+"-"+Substr([CALENDAR YYYYMM];5;6)+"-"+"01";"yyyy-MM-dd");"MM-yyyy") Where ([CALENDAR YYYYMM] >=[ReportFilter] + "01" And [CALENDAR YYYYMM]<=[ReportFilter]+ "12" )
    so when i use this formula i have the #Multivalue error.
    Regards,
    Tayyab

  • Duplicated master data texts causes multivalue error

    Hi All,
    In customer master data i got records like,
    key --> 123 /  text --> Kibele
    key --> 124 /  text --> Kibele
    even i put the customer key into the drill down with texts,  Webi gives multivalue error for all keyfigures and key as below.
    customer key  customer text   keyfigures..
    #MULTIVALUE     Kibele                    #Multivalue
    How to handle this issue?
    thanks in advance.
    Sancho

    let me summarize where i come to:
    1) Sap Note 1353142  is not applicaple for me
    2) Property, avoid duplicated row aggregation is not working for me
    3) Users may drill this dimension any time. I've made an alerter and replaced key and text values, it worked fine, but when users remove or put this dimension into drill it will not work.
    4) At the begining it was having #multivalue for the key also, i have changed customer key in to dimension, therefore when i use key and text together everything working fine.
    Therefore a solution can be to use text and key together. Please can anyone tell me if it is posibble to automatically drill down key, when users dirll down text.
    regards,
    SP

  • Calculated variable throwing #MULTIVALUE error

    I have data of employees entering time by day and time can be billable and non-billable.
    I want to show a column chart where I show the number of employees categorized as per following buckets based on their NB%
    "75% and Above", "50-75%" and "0-50%"
    To achieve this I created a variable (measure) first that calculates the NB% and then created another variable  called NB Group which basically is a set of If, ElseIf conditions that check NB% and assign value as "75% and Above", "50-75%" and "0-50%".
    When I create a report with columns employee, NB% and NB Group, the NB Group value shows up fine. However when I just pull NB Group into a blank report I am getting #MULTIVALUE error.
    I was expecting to see a distinct list of all the NB Groups just like it would for any other dimension and then wanted to add a new column with count of employees and convert that into a chart.
    What am i doing wrong? Is there another approach I should follow?

    Both [Hours] and [Non-Billable Hrs] are report level variables.
    [Hours] = [Hours Entered] + [Hours Missing] (Both of these are coming from the DB/Universe)
    [Non-Billable Hrs] =Sum([Hours]) In ([Employee]) Where ([Hrs Type] = "Non-Billable")
    [NB Group] =If [Non-Billable Hrs]/ Sum([Hours]) > 0.5 Then "50% and Above" Else "0-50%"
    Note: [NB Group] is getting converted to a measure automatically and i am not able to change it. Wondering if this is causing the problem?
    Anyway, as you suggested I tried to take a small data set and get the results per Employee and that came out correctly (top table).
    However, when I remove the employee and try to aggregate I am not getting the expected count.
    Here, Employee =Count([Employee])

  • Teradata deski #Multivalue Error

    When refreshing the XIR2+Sp2 deski report with freehand sql data provider with Teradata V2r6 getting #Multivalue error and when editing dataprovider report displays data with out any errors.
    Please Assists

    Hi Sasi,
    Could you please test the following solutions:
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • #Multivalue Error on Webi when Using BEx Query

    Hi All,
    I have created a Webi Report on top of SAP BW BEx Query. I have created a variable in Webi on top of a dimension. When I add that variable in the report block some of the Measures are showing as #Multivalue. I know we can get rid of this by creating a universe and then changing the properties of the measure to sum. However we do not plan to have a universe and would want to make the changes in the BEx query or in the Webi Report whereever applicable.
    Kindly suggest the solution at the earliest.
    Regards,
    James

    HI James,
    Creat Variable =
    =sum(Tonumber([Dimension]))
    use this variable in report , it will help you
    Regards,
    Mahi

  • #MULTIVALUE error when I add Text in a cell

    Hi,
    There is a funny error occurring in the report.
    I have build this report on Excel sheet. The sheet has ONLY 4 rows,(and it always will have 4 rows).
    Following is the format of the Excel sheet:
    Plant    Division           Comment1           Comment2   Week
    1            10                   A                        E                 4
    2            10                   B                        F                 4
    3            10                   C                        G                4
    1            20                   D                        H                 4
    In the report I have made a connection on the Excel sheet. I have made made the fields Plant,Division,Comment1 and Comment2 as Dimensions and Week as Measure.
    In 4 different cells, with 4 combinations on Plant and Division, I want the following output:
    - Comment1: A
    - Comment2: E
    When I put the formula: =([Comment1] where ([Plant]="1" and [Division]="10")) + ([Comment2] where ([Plant]="1" and [Division]="10"))
    it returns Correct Results.
    But when I add Text values in the formula it returns #MULTIVALUE error:
    Example:        ="- Comment1: "+ ([Comment1] where ([Plant]="1" and [Division]="10"))
    Where am I going wrong?
    Thanks,
    Amrita

    Hi Amrita,
    This is because when you are going only with the formula, it will provide you the value for one cell and blank for other.
    But when you are going with the comments as well, you will get 4 values for this. (one for each row)
    1. -Comment1:
    2. -Comment1:
    3. -Comment1:
    4. -Comment1: A
    So when you are selecting this in a single cell it will throw you #Multivalue error.
    Hope it is understood.
    Regards,
    Subrat

  • #MULTIVALUE error in some cells only

    I am getting #MULTIVALUE error in few cells in a cross-tab report whereas the rest of the cells show correct results. What can be the reason for this.
    My cross tab report consists of : Physician(Dimension) as a Section, Metrics(dimension) in the rows and Month(dimension) as columns.
    The body contains measures- Rate and Scale. Each Metric has got a defined scale of 0-4 based upon a range of the Rate.
    Scale ia a variable created by me as =[Rating Scale] In ([Provider] Where([Rate] Between([Lower Target Pct];[Upper Target Pct]))
    The report looks like:
                        Jan                   Feb                          Mar
                  Rate  Scale
    Metric1  
    Metric2
    When i try to include the Rate of YTD, the data in the Rate shows correct results wheares the Scale certain cells are appropriate but rest of them throughs #MULTIVALUE error.
    I am not able to comprehend whats going wrong in here.
    Can anyone pls resolve this issue.

    Actually , there is no formula for Scale. Its in-built dimension but to get the correct result in the cross-tab( No irregularities are found for teh results in the horizontal and the vertical report format), I created the variable for scale as follows:
    =Scale ForEach(Provider) Where(Rate Between Lower Target AND Upper Target). After using this variable, I got correct results for the monthly/quarterly data wheareas for the YTD it gives #MULTIVLAUE for few cells, where the scale is different for the every months./quarters. It gives correct result where the rate falls in teh same scale zone for all the months/quarters for a certain Metric.
    For .Ex.
    Metric                   Q1                           Q2                  Q3                      YTD
                         Rate     Scale  
    Tetanus        94         3                     92     3                91  3                 93       3
    BRC              71        2                      91      3               98    4               83       #MULTIVALUE
    I am not able to fathom that why its not taking the YTD into consideration even though I created a different variable for the scale of YTD in which I used the YTD(rate) instead of the actual(Rate).

Maybe you are looking for

  • Firefox stops responding every 10 mins or so

    Firefox keeps continually not responding every 10 min or so. It happens when doing pretty much anything--videos, Flash games, or just viewing a web page. This has been going on for about a month now and is very annoying. I'm considering switching to

  • How can I delete an Icloud account that is already on my phone?

    I have started a new job and my predesessor left his icloud account on the phone.  How can i delete it without his password?

  • JMS automatic Service migration - need to re-deploy ?

    Hi We re-configured the settings to use weblogic 10.3's automatic JMS service migration. (Exactly once type)(DB lease) Even though the migration happened successfully from a managed server to another, application had to be manually redeployed (throug

  • WG103 in Client mode

    Hello, I have a problem with my WG103 in client mode. I set the Client mode, successfully connectig to my WiFi, the WG103 gets address via...

  • Error 4880 when trying to burn a CD in Version 6

    Like many I've seen posting on here, there doesn't seem to be an answer. I've tried diagnostics, e-mailing Apple, sending them the diagnostics and they don't respond. I purchased music from iTunes, and it won't burn. I get an 'unknown error 4880' aft