Merging dimensions Trouble

Hi Forum, I have a Merged Dimension that has Invoices with Inventories linked in the Material Description.
I managed to show the Inventory because is not "date linked" it was taken from the MBEW table. But, if i try to show the Invoicing data between two dates, even if I program a Sum formula, it brings #multipleValues error.
In the Invoices Row, It has to be filter also by the Center.
Do I have to also merge this dimensions with the Inventories in order to show the correct sum by Material Description?
Thanks in advance,
Reynaldo

Hi, yes, my formula is a calculation, let me write to you what I want to do:
=If(Invoicing.Matnr = Inventories.Matnr) and InvoicingDate between(Date1;date2) and CostCenter = "1000" then Sum(InvoiceQuantity) else 0.
I managed to do a Derived Table in the Universe Designer in order to simplify the calculations, however a material could be in 1 or N costcenters, so, the material is duplicated, but filtered by date.
I have to do 3 filters in Webi in order to get the Invoices Quantities between 2 dates.
I understand your point, but I'm using a Sum formula, does not have to work that way?
Thanks!
Reynaldo

Similar Messages

  • #SYNTAX error while using Merge Dimension in webi report

    Hi All,
    # Syntax error when using merge dimension in webi report
    screen shot has been attached.
    iam using BO 4.0 SP6
    checked the datatypes in BW
    they are same in BW in both the queries
    i followed the given links but no result.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
    http://scn.sap.com/thread/3592588#15241008
    Need Help!!!!!
    Regards
    Sushma

    Hi Mark,
    Thanks for the reply,
    I did not use any formula,
    I used merge dimension
    Anyways i tried in other system,it s working fine.
    Regards
    sushma

  • #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

  • #Error & #Syntax when we are using merged dimension in BO4.1 SP3

    Dear All,
    We are using BO4.1 SP3 and Bex query as datasource.
    When we are trying to take merged dimensions in Report block its giving #Syntax Error.
    When we are defining variable with merged dimension, its giving #Error message and the merged dimension is deleted from the definition.
    Please guide how can I use merged dimension.
    Kindly let us know if there are some update required in the current BO version.
    Warm Regards,
    Sonal

    First things abt merge dimension is that merge is applicable only on dimension not on measures.
    And other is dimension that are going to be merge should have same data type.
    I think you should check these conditions then it will works.
    Merge is nothing but full outer join between two data providers. It helps joining two result sets on webi level.
    Kindly attach your screen shots so that it would be helpful.

  • Report level filter impact on non-merged dimension

    Hi Experts,
    I have a problem in Webi 3.1 sp4.
    We have three dataproviders from same universe.  two dataproviders are linked with merged dimensions and third one is from independent table which has only one value (not related to other two data providers).
    Created report with one block(block1) contained objects from first two dataproviders. Object from third dataprovider is placed on report body above block1.
    Everything working fine.
    If we create a report level filter with detail objects from first two dataproviders, value from third dataprovider disappears.
    I don't have problem if create filter at block level.
    Please help to resolve this issue.
    Thanks
    Akshara...

    That is a previous XI version.  I meant within XI 3.1 - between Support Packages, is it a change from SP03 for example?
    If it is (b/ween SP03 - Sp04 ) then you should log a support message

  • BOXIR2 FP4.6 -WebI report with merged dimensions: Incorrect data

    Issue: BOXIR2 FP 4.6 -WebI report with merged dimensions: Max value of an object from second query is displayed in the report even when the formula is based on the object from the first Query.
    Data displays properly on BOXIR2 SP2.
    Steps to reproduce.
    1.Use u2018Island Resort Marketingu2019 Universe to create a WebI report.
    2. Create a Query with objects u2018Reservation Dateu2019 and u2018Future guestsu2019 and apply a query filter where the u2018Reservation Dateu2019 is between 1/1/2001 and 31/1/2001 an Run the query.
    3. Add a second Query with the same objects i.e. u2018Reservation Dateu2019 and u2018Future guestsu2019 and apply a query filter where the u2018Reservation Dateu2019 is between 1/1/2001 and 31/12/2001.
    4. Create a report variable MaxDate using the syntax "=Max([Query 1].[Reservation Date]) In Report"
    5. Use the objects u2018Reservation Date Query 2u2019, u2018Future guests Query 2u2019 and u2018MaxDateu2019 variable to create a table in the report.
    You will find the Maxdate column displays Max date values of u2018Reservation Date Query 2u2019 instead of u2018Reservation Date Query 1u2019.
    Could you please advice me on this issue.

    Hi Hiteshwar,
    MaxDate variable returns a maximum of Reservation date  from Query 1 i.e. 1/15/01 which is correct. If you put that variable separately it will display that date correctly but you are grouping it along with objects from the query2 thatu2019s why it is displaying correct value for Query 2 where it finds 1/15/01, but for other values WEBI canu2019t group this value as it refers its formula which contains Query 1 reservation date.
    Hence we canu2019t say it is displaying values from Query 2 it is taking values from Query1 itself  for 1/15/2001 and for remaining values it is taking non matching values from Query 2 with which it is grouping.
    If you put that variable with objects from Query1 it wonu2019t display 1/15/01 but all values reservation date from query 1 contains because it is grouping based on reservation date though it is single max value.
    Even when you write "=Max(Query 2.Reservation Date) formula and use it with objects from query 1 though it contains so many values it matches (Groups) only the values from reservation date from Query 1.and displays only those values i.e. 1/1/2001 and 1/15/01.
    MaxDate returns 1/15/01 as Maximum Date value from Query 1 but Query 2 contains value far more greater than 1/15/01 hense that will be more incorrect data if WEBI displays maxdate as 1/15/01 along with Query 2 objects.
    Here we can avoid this behavior by Custom SQL but MaxDate is a report level variable hence we canu2019t edit SQL.
    If your data contains some duplicate values WEBI will repeat MaxDate value like
    Reservation date     Restaurant           Future_Guests    Total Guests 
    1/1/01                          ABC                         3                   3     
    1/15/01                       XYZ                          4                   8    
    1/16/01                       XYZ                          4                   8  
    By default, WEBI Groups Total Guests based on the Restaurant and Reservation Date, but if we want we can group those values based only on Restaurant which will duplicate Total Guest values for Restaurant XYZ. But you report contains only one dimension with all unique Values we canu2019t group those.
    I hope this is clear.
    Thanksu2026
    Pratik

  • Merged dimension returns summarized values from 2nd query

    I have used merged dimension to take fields from 2 quereis.... Both the queries return 30 days of data means 30 records each record corresponds to 1 day.
    So far its good..
    now when I run the queries individually I get 30 days of data as 30 rows in the webi document but when I merge the queries and take one column from 1 query and 2nd column from 2nd query then the problem starts.
    The field from query 1 I get 30 records with each record showing each day data.. column from second query shows 30 records but with each record showing the summarized values for 30 days and all 30 records shows same data.
    For example I am taking 2 days of data:
         column1     column2
             10              20
             10              20
    But I need to get as below
         column1     column2
             10              10
             10              10
    Total   20              20
    Can anyone explain me how can I overcome this and get correct data when I take values from both the queries.
    Thanks for your time.
    Regards
    Siva

    check this:
    Dave’s Adventures in Business Intelligence » Using ForceMerge() To Fix Unbalanced Data Providers

  • Not able to merge dimensions objects on webi report based on SAP query

    Hello
    We are using SAP BI 7.0 , BO XI 3.1 sp1
    I have two queries in webi report. These two queries are based on the same universe. I am not able to merge dimensions from both queries as merge dimensions functionality is greyed. Two dimensions are of the same type (char) and are dimensions (not the details).
    Does anyone know the reason?
    Thanks

    Hi,
    First check your user ID has rights for merge dimension.may be you can try on other universe and see if it is still grayed out then possible rights issue.
    or may be you can check below thread.
    http://www.forumtopics.com/busobj/viewtopic.php?p=784845&sid=73804295827b0854dc3a654cf74fda92
    Thanks,
    Amit

  • Alternative for result from other query  and merge dimension option option

    Hi Everyone ,
    Am Developing one webi report over bex Query.
    Actual scenario is output of one webi report should be the input of other webi report.
    Eg:
    Table 1
    2010        Cus 1
    2010        Cus 2
    2011        Cus 3
    table 2
    cus1    m1   100
    cus2    m2   200
    Cus3    m1  400
    Report 1 designing 
    First report created using table 1 and prompt for year
    Report  2 designing
    Second report created using table2 and prompt for customer
    So when am Running first report it will ask for parameter year and if am selecting 2010 then the report will return C1 and C2
    this out put should e the input for report 2.
    So out put will be 100+200=300
    NOTE:1. Result from other query is not working in webi filter pane since am building on olap universe.
               2. Merge Dimension performance is very slow .
    Any Solution ?
    Regards,
    Kannan.B

    Hi,
    Thanks for ur reply
    As you said , If am giving hyperlink to other report .
    Eg: User selected Tamilnadu then report 1 opened  then  he has to click the some cell or hyperlink cell to view the actual report(2nd report).
    Suppose user Clicked that hyperlink cell and 2nd report opened and he is viewing the data for Tamil nadu and he decided to see the report for
    Andrapradesh so according to this logic he has to select first report and refresh the data for Andra and from there he has to come to 2nd report.
    totally 4 screen will be opened for seeing the two states report.
    So Some other alternative.......

  • How to create a 'System'variable to identify the system from merged dimension

    Hi,
         I have a webi report with merged dimensions on users and
    roles. Users and Roles are coming from 3 different systems (ECC,BW,BOBJ). Now,
    I don’t have the system field available in the queries to filter by the system.
    So, I would like to create a variable for system where I want to be able to
    identify the system (like ECC,BW,BOBJ) based on the merged “Role” dimension.
    Could someone tell me , if it is possible to do that? And if so, how do I do
    that? (I tried, but it's not working for me) I really appreciate your help.
    Thanks,
    Charvi.

    HI,
    You can not use inlist operator here.For inlist static values are required for comparison.I know this is not a solution for you.
    For to use match operator you have to use multiple else-if conditions.I know this is time consuming but if you can not do anything from BW side then use like below formula.
    =If(Match([Role];"FRP.*")) Then "ECC" ElseIf (Match([Role];"HRP.*")) Then "ECC" else"BW"
    Add more conditions in the formula and if you are sure in your report there are only three type of roles.Then define condition only for  ECC and BW systems in the variable and rest mark as else BO.
    Thanks,
    Amit

  • How does Merged Dimensions Work in WebI created on SAP BI Queries

    Hi,
    I need to know how does Merge dimensions work in WebI when using SAP BI Query as source?
    Below is my understanding when connection is defined for the universe on oracle database:
    1) To get the data in merged dimensions, there must be physical join (Either Direct or vai some other tables) between different tables at backend level (This means  there  must be join between tables in Oracle database.)
    2) we get the UNION of data when dimensions are merged at webI level.
    I dont know how this works in SAP BI.
    Since there is different data model defined for different BI Queries in SAP , and for each BI Query and there is seperate Universe, So how can you get correct data in WebI when there is no connections in DSO's used in different BI queries?
    Can any one suggest me the way data apperas in merged dimensions for WebI created on SAP BI?

    I assume we are only talking about merging dimensions in Web Intelligence here and not on the BW backend. this is a client side mere where you have 2 resultsets.
    if you want to do this on the BI server side it would be a multi-provider combining different InfoProviders - or a InfoSet - depending on the join type you need. MultiProvider is a union, Infoset allows you to choose
    Ingo

  • Custom Sort with a merged dimension in webi report

    Hello,
    I have a merged dimension (Year/Month - APR 2010, FEB 2010, MAR 2010, JAN 2010, ...), I need to apply a custom sort, but with a merged dimension this feature is disabled. Why? How can I solve this problem?
    Thanks & Regards
    SU

    Hello,
    This can be solved by creating a variable for the merged dimension object.
    After you have done this you can apply a custom sort
    Regards
    Rim

  • Merge Dimension in Webi 4.0

    Hello All
    I have a unique issue creating a webi on two universes DB2 and Excel as datasources.
    1. Excel datasource has three columns - Col1, Col2 and Col3. A hiererachy is craeted as Col3>Col2>Col1. When I create a webi - "Webi1" on this universe (Query1), I have no issue.
    2. DB2 datasource has multiple table tables. Table 1 is a fact table and col1 in it has the relevent data to the excel datasource Col1. In "Webi1" I created a Query 2 and selected to add objects without creating a new block in "Webi1".
    3. As Col1 in Excel and Col1 in Table1 in db2 has the similar data and data type, I created a merge dimension on the two. There is no other column common in the two datasources.
    4. I included Excel.Col3, Local_Variable.Measure1, DB2.Measure2, DB2.Measure3 in my "Webi1"
    Issue:
    When running the report, I see the correct values in Excel.Col3, Local_Variable.Measure1 columns but the values in DB2.Measure2, DB2.Measure3 are aggregated from the DB2 and shows same value for all records in Excel.Col3 and Local_Variable.Measure1.
    Requirement:
    Is there a way to show only agrregated values in DB2.Measure2, DB2.Measure3 corresponding to the data in Excel.Col3 and Local_Variable.Measure1? I want to pull measures form DB2 corresponding to Excel Col1,Col2 and Col3.
    Merge Dimension:
    There is only one merge dimension which is at the third level of hiererachy and following steps have been taken to ensure there is no issue with the merge dimension:
    1. Data type for both the dimensions is "Charater"
    2. I have used trip on both dimensions to elliminate the spaces in the data.
    3. I verified the data in both dimension in the same format (upper case).
    Any help to resolve this is greatly appreciated.
    Kind regards,

    Hi,
    It's not clear if you mean Patch1.6 or Patch2.6.  For info, we have up to Patch2.11  available now.
    I would simplify your test, focusing on the DB2 universe (in 2 data providers?) first.
    I saw Note 1661803 - WebIntelligence query filter using "Result from another query" is lost and throws message "The current query contains unresolvable objects" when editing query
    Apparently fixed in Patch2.10  - may be of interest to you?
    Regards,
    H

  • Find Webi documents that use merged dimensions

    I would like to be able to locate Webi documents that use merged dimensions.  I have looked through the Java ReportEngine SDK and did not see anything that would help.
    I am running BOXI R2 SP5 FP5.5

    Where do you originally merge the dimensions, is this done on the Webi level, or the Universe level?  If it is done at the Universe level, Webi will just see it as a dimension, you would need to be able to know which dimensions were merged and just look for that object by name not be any specific property.

  • Merged Dimensions / Extended Merged

    Hi Friends,
    Can you please help me out in this topics Merged Dimensions / Extended Merged Dimensions any articles or any documents with scenarious.As I am using BOXI 3.1 Version
    Thanks in advance.

    Hi
    Merge Dimension Is used to take data for 1 block from two data providers with the common dimension.
    The steps to create a  merge dimension are as follows.
    1. Select a universe 1and Create a query in the WEbi by taking Dimensions ( Year for example) and Measures ( Sales Revenue for example). Save the query and run the query.
    2. Then go to ADD QUERY, select the second universe 2 and build a query ( At least one dimension should be common in the both the queries), so take for example Year as a dimension and Quantity as measure. Now run the Second Query only.
    3. Select the radio button INSERT TABLE IN CURRENT REPORT.
    4. Go to Templates, Drag and Drop Vertical Table, then go to the icon on top which says merge dimension, select the common object from Query 1 and query 2.
    5. Go to data tab, Drag and Drop common dimension into block 3,  Drag and Drop required measures from query 1 and query   2.
    Hope it helps.
    Regards,
    Sravan.

Maybe you are looking for

  • Duplicate Vendor Invoice

    Hi All, while doing a direct posting in F-43, i want to avoid the duplicate vendor invoice. For this i know we can go to OMRDC and there we can activate it and also for that particular vendor in XK03 we need to tick the double invoice check and also

  • Saving a PowerPoint Presentation as a pdf from With Outlook Code

    I'm trying to write a macro in Outlook that will open a Powerpoint Presentation (that part works) then save it as a pdf.  The code I've seen does not seem to work when running the code from Outlook.  Here's what I've got so far, all the commented lin

  • Performance optimization on select query for all entries

    Hi All,       I want to optimize the select query in my Program.      The select query is taking lot of time to search the records for the given condition in the where clause      and more interestingly there are no records fetched from the database

  • The use of connection pool

    Dear all, I had created a connection pool in Sun Java System Web Server. But I don't know how to use it. Would you please tell me how to use it via JSP ? Thank you very much. Jack.

  • Incorrect *.pdf printing

    Hi. a coworker have some printing problems. When he wants to print a doc,  sometimes alls characters are the next one. (sorry for my english, i am french) i mean, when the text is "hello my name is john" or "hello my name is jake" the result is "ifmm