#datasync error - could that come from merging on fields from fact tables instead of dimensions tables?

I'm reporting out of two universes published by Epic
1. Warehouse - Patient
2. Warehouse - Transactions
I wanted to join two queries based on the primary key for a hospital encounter. Following the tutorial seemed pretty straightforward until I got to displaying data from a merged query.
The table displayed results from Query1, but adding fields from Query2 wiped out all the data in the table, leaving only #datasync in each field.
My workaround to get fields from both queries displayed (see screenshot)
1. Merge queries on *two* fields - primary key of hospital encounter and primary key of patient
2. Create new variable
3. Make variable type Detail
4. Associate variable with hospital encounter key from Query1
5. Set formula equal to a field from Query2
I'm not sure why this workaround works or if what I'm experiencing is a symptom of something larger. Could this workaround be needed because I am merging on fields from a fact table instead of fields from a dimension table?
Thanks in advance

You have defined merged dimension on 'company code-Key' which is common in both the Bex-queries.
You are able to bring the merged dimension and other objects from  Query_ One to report block without any issue but when adding objects from Query_Two you are getting the error #DATASYNC.
In this case objects from Query_One are got sync with the merged dimension object without any issue because they got added first to it.
Similarly when you add merged dimension and objects from Query_Two you find no issue, because objects from Query_Two go sync first.
Once objects from a query(Query_One/Query_Two) got added to a merged dimension, when we try adding objects from other query we get #DATASYNC error. This is because data in the other query is not able to sync with the initial result set, this is a know behavior.
There are two workarounds:
1) Merging all common dimension/characteristic objects: Only merged dimensions data will sync with the initial query,  un-merged dimensions/characteristic objects will still give #DATASYNC error.
2) Create detail objects/attribute objects at report level for all uncommon characteristic/dimension objects from query_two referring to merged dimension. Then add these newly created detail/attribute objects to the table block that is having initial query objects with merged dimension, with this you see result set of query_two in the table block  not #DATASYNC error.
~ Manoj

Similar Messages

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • Regarding jms implementation that comes with reference j2ee server from sun

    I have a message bean that is trying to read message off the queue, do something, and put a message on to other queue.
    The problem: I am loosing a message.
    I have tried both the container managed as well as bean managed transaction.
    Is there any bug with the reference JMS server? I am using the SimpleQueueSender that comes with the jms tutorial from sun to send message in a persisted mode. I am running the J2EE server that comes from SUN.
    I will post the code if someone is willing to take a sincere look.
    Thanks
    Aman

    I can tell you one thing about JMS, I have websphere MQ Series, Even the product like MQ from IBM have limitation when using 2 phase commit(), it supports 2 PC only when websphere and MQ Series are installed on the same box, So i would not be surprised if there is a bug in reference JMS implementation and you are losing messages even though in transaction. Are you using distributed transaction.

  • I have an error message that comes up when i try to get into itunes... 0x 80092013 can anyone help

    i have an error message that comes up when i try to get into itunes... 0x 80092013 can anyone help

    Hi Katy19831,
    Thanks for using Apple Support Communities.  These articles may help with the error you're seeing:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    - Ari

  • Error could not access a java object field called allowAppDataInServContext after Applying Security

    After applying the security patch 12-26 I am getting the error "Could not access a java object field called allowAppDataInServContext".  When I removed the update the error goes away.  When I read the update it returns.
    The error states it occurred in the following line: cfapplication name="somename" clientmanagement="No" sessionmanagement="Yes" setclientcookies="Yes"

    Is it a linux server?  Look at the following, second comment.
    http://blogs.coldfusion.com/post.cfm/coldfusion-security-update
    ^_^
    EDIT:  Also, http://www.shilpikhariwal.com/2012/12/security-hotfix-for-coldfusion-9-and.html

  • Error when referencing an RTF-encrypted Memo Field from ACT! in CRXI r2

    Post Author: Scottco1986
    CA Forum: Data Connectivity and SQL
    I'm creating a report from an ACT! Premium 2007 database, and I seem to have hit a snag.  A field in ACT! which is labeled "Regarding & Details" seems to be stored as two separate fields in the database.  The first, TBL_HISTORY.REGARDING is easily displayed on the report.  The second, however, TBL_HISTORY.DETAILS, is an RTF-encrypted Memo field.  "No problem," I thought.  I could just specify the text interpretation to interpret the Memo Field as RTF.  Unfortunately, as soon as I include the field on the report and preview it, I get an error:  "Database Connection Error: 'HY010:[Microsoft][ODBC Driver Manager] Function Sequence Error' ".  So, I cancel the preview operation, and remove the field.  Everything should work now, right?  Wrong.  I now get an error:  "Failed to retrieve data from database," followed by "Failed to retrieve data from database.  Details: HY000:[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt".  These errors do not stop occuring on preview until I restart Crystal (effectively undoing my unsaved changes).  I then thought that maybe this error had something to do with the fact that it is a memo field.  So, I wrote a SQL statement to convert the Memo field to a String.  This, however, caused the same errors.  So, now I'm stuck.  How can I include this field without errors?!?

    Post Author: ayla1209
    CA Forum: Data Connectivity and SQL
    I'm having the same error - did you ever get a solution?

  • I need to get some information about an error message that comes up every time I go to Mozilla. Who can I email.

    Every time I go to Mozilla I get an error message which says "www.netregistry.com.au:443 uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided." I have checked wit netregistry and there is not an issue on their end and we determined there is an issue with Mozilla. Could you please advise why this message is coming up. It has only been happening for the past 3 weeks.
    Thanks
    Rosa

    Disable the 1ClickWeather add-on.

  • What is error 403 that comes up after trying to sign in with Apple ID?

    This error message 403 keeps stopping me from signing in with my Apple ID. 

    see if this helps
    http://support.apple.com/kb/TS4268
    Peace, Clyde

  • How do I get rid of an error message that comes up on opening the Photoshop Elements 8 Organizer?

    When I double-click on the Adobe Photoshop Elements 8 desktop icon,
    an error messsage appears. The title line says:
    OWL ORPHANAGE: PhotoshopElementsEditor.exe - System Error
    Then the message ;
    The program can't start because CoreFoundation.dll is missing from your computer.  Try reinstalling the program to fix this problem.
    I did deactivate, uninstall, and reinstall the program. Still got this message.
    When I click OK the error message flickers, then reappears. I click again, same thing. 3rd click, the message disappears and the Organizer opens.
    I can get Elements 8 to open, but why this message first, and is there a way to either download the missing file or just get rid of the message?
    I did do a computer search and there is no CoreFoundation.dll on my computer.

    Hi, John
    I downloaded the most recent QuickTime as you suggested, Restarted my computer, but the message is still coming up when I go to the Editor.

  • When I try to load ABC news I get the error message that says Firefox stopped this page from loading. Do you want to allow it? Of course I do, or I would not have gone there. It does not do this onother pages. How do I make it stop?

    It consistently does this when I try to read ABC news and when I try to go to my bank's web site. I am getting real tired of this. This message will pop up over and over even after clicking allow. How do I shut this off it is really annoying.

    See:
    *Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Tools > Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel#General_tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • How to merge key field from external source system with SAP R/3 master

    Hi,
    In SAP BW 7.0 system, our scenario is Master Data for 0GL_ACCOUNT is coming from SAP R/3 alongwith the Transactional data records for standard FI cubes. Then, one more set of transaction data is coming from external source system, a flat file, into another custom DSO(ZDSO_FI), which also has this GL Account field.
    This flat file's GL account, GL_file, has to be basically mapped/merged with the standard 0GL_ACCOUNT field so that at the time of loading the transactional data for custom DSO, ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), system automatically refers to the 0GL_ACCOUNT master data to load these incoming transactional values, from the external flat file system. How can this be done?
    To illustrate the scenario, say I have 5 records in 0GL_ACCOUNT, loaded from SAP R/3 into SAP BW-
    0GL_ACCOUNT      Short Description     Source System
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    Now suppose if my flat file has following sample transactional data, to be uploaded in SAP BW  ZDSO_FI-
    GL_file      Key Figure1
    400          789
    200          567
    Then after uploading this transactional data in ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), the 0GL_ACCOUNT data becomes as below-
    0GL_ACCOUNT      Short Description     Source System
    400
    200
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    So note that the system did not refer the incoming GL's from flat file, although the field is mapped to 0GL_ACCOUNT in transformation, to the already available master data. Rather created 2 new data rows for the GL accounts coming from external system. Because of this I am not able to perform the calculations common from standard FI cube and ZDSO_FI, with GL account as key field. I need to synchronise these data values based on GL Account to proceed with further calculation and am badly stuck.
    Request if anyone can please throw some light on how to achieve this seemingly simple requirement?
    Thanks in advance.
    Nirmit

    Better post this thread is in the [Enterprise Data Warehousing|Data Warehousing; forum.

  • Unable to throw 'Error: A value is required' on a field from bean

    Scenario: I have an input text field and a button on a page. The input text is not required initially. I want this to be set to required after the button is clicked. So, I am doing this on the action listener of the button and returning to the page. This just returns to the page but does not throw the required error. The error is thrown the second time I click on the button(No listeners are called this time as the required property is already set). I want the error message to display immediately after clicking the button, the first time(after returning from the bean).
    Options Tried:
    I used the following in the action listener of the bean
    setValueMandatory(true); //Used this as a binding value for the required property on the input field
    textValue.setValid(false); //textValue is my input text's binding to the bean
    textValue.validate(facesContext);
    textValue.processUpdates(facesContext);
    textValue.processValidators(facesContext);
    AdfFacesContext.getCurrentInstance().addPartialTarget(textValue);
    FacesContext.getCurrentInstance().renderResponse();
    I am able to focus on the field using the cursor but unable to throw the message. Clearly, some form submit or an action need to occur on the page to render the response(or, repaint the page programmatically). But, how do I do this from the bean?
    Jdev Version: 11.1.1.4

    Divya,
    Have you tried passing the Component instead of null in my previous code?
    here is the sample i tried and it works fine.
    jspx code snippet
        <af:inputText label="Label 1" id="it1" binding="#{pageFlowScope.attributeValuesBean.rtx}"/>
        <af:commandButton text="commandButton 1" id="cb1"
                                      actionListener="#{pageFlowScope.attributeValuesBean.throwMessage}"/>backing bean snippet
        private RichInputText rtx; // add getter and setter
        public void throwMessage(ActionEvent actionEvent) {
            // Add event code here...
               FacesMessage fms = new FacesMessage("A value is required");
                fms.setSeverity(FacesMessage.SEVERITY_ERROR);
                FacesContext ctx = FacesContext.getCurrentInstance();
                ctx.addMessage(getRtx().getClientId(), fms);
        }-Arun

  • Loans disappear from report after fields from second table are added

    We are using Crystal XI.  We have two tables from a sequel database we use for the reports, and we always have.  Suddenly, we have been experiencing problems with loans being dropped from the reports and we have been trying to isolate the problem.  To troubleshoot, I created a very simple report to provide the loan number and the borrower name from Table 1.  I did not create any parameters so the report provided the information for all loans in the database.  However, when I add a field to the report from Table 2, either all of the loans disappear or the number of loans on the report are drastically reduced.
    As another test, I created a report to include just the loan number.  The loan number field appears in both tables.  I get different results if add the loan number to the report from Table 1 than I get if I add the loan number to the report from Table 2. When I create the report, the tables auto-link with no errors.  
    I have reviewed all the report options and general options in Crystal and can't find why this is occurring.  I have had our IT staff troubleshoot and help me test using older versions of the tables, but we get the same results.  Any suggestions will be greatly appreciated.

    From what you have described, could it be your table joins?  You mention that once you add the second table, records get dropped.
    Check your table join, even though it auto links, right click on the link and see if the join is INNER or LEFT OUTER.
    If INNER then every loan number in Table 1 should exist in Table 2, LEFT OUTER = every loan number in table 1 will be fetched irrespective of whether it has a corresponding match in table 2 or not.
    Check your joins and change them and see if that makes a difference.

  • Calling two  BAPIs from single input field from Webdynro for ABAP

    Hi experts ,
    here i hve a small problem .
    i hve two BAPIs , both  having olly one import parameter and hving messages as the export parameters .
    so how i hve to call them , give the correct method .
    thanks in advance
    setu

    Refer to this thread
    How to call two Bapi with same inputfield in webdynpro application

  • Problem with #datasync error

    Hi Experts,
    I have 2 queries 1 is sales billing, query 2 is sales order. both queries from bex.
    Query 1 :       sales document key
                        item key
                        bill-to party key
                        Material
                        customer group
                        some measures etc...
    Query 2:        sales document key
                         item key
                         bill-to party key
                         reference
                         conf. status
    now i have merged the sales document key ans item key from both the queries. i have taken the sales document(merge), item key(merge) into the report
    but i can able to add any object from query 1 or query 2. into te report. i cant able to add both query 1and query 2 objects into the report.
    for that i have created detail variable for conf.status(query 2) with sales document(merge).
    now i have draged sales document(merge), item key (merge) , customer group (query1)  conf. status(detail var ). i am getting total #datasync error on all feilds.
    please suggest me any solution.
    Thanks.

    Hi Durga,
    Datasync error is coming up because the CustomerGroup1 field is not present in query 2. When you have Merged dimensions on the report layout, you cannot use unmerged dimensions on the layout.
    Merge dimensions are used to act on measures from two different queries.
    What you can try is:
    1. Enable 'Extended merge of dimensions' and 'Auto-merge dimensions' in properties
    2. Insert CustomerGrup1 in another table and place it right next to the first table having sales document and item number. However this will affect the results. So based on your requirement, you might have to opt out of this
    3. Take out Sales Key and Item key from the layout but let them still be Merged dimensions
    Regards,
    Srilakshmi B

Maybe you are looking for

  • No Support for Windows 7! Extremely Frustrated! Help!

    Ok, so here's the deal. I have TX1220us tablet pc. It came with Vista 32-bit Home Premium on it. Everybody knows that Vista is a resource hog, and running the 32-bit version on a 2.2 gig 64-bit processor is a complete waste of performance capabilitie

  • How to find bounds of textcolumn

    Hello , can anybody tell me ,how to find bounds of textcolumn.

  • Need Adobe on my Kindle Fire

    How can I download Adobe Flash on a Kindle Fire?

  • Setting the buffer size centrally

              Is there a way to set the buffer size to a specific value for           multiple JSPs without having to use the @page buffer...           directive on every page?           I have a JSP/EJB application with many JSPs and want to allow      

  • Elements 4 Slide Show PDF File Size

    My a 36-slide show with music ends up as a 6.76 MB PDF file. Are there techniques for reducing the file size? My attempts have had mystifying results. I fould that 2 of the original images were multi-megabyte BMP files, so I replaced them one-by-one