PowerPivot removed table replicated into the data model on refresh

Hey
I am facing the following problem which is absolutely persistent and annoying in nature. I am using a data model created with PowerPivot with connections to three different SQL servers and 25 tables. The bug is that every time I refresh my data, a table
that was initially added to the data model (and later removed) is replicated in equivalent number of tables that use this connection, which is currently around 12 tables, so I get 12 duplicates of the same unnecessary table on every refresh, named with the
name of the schema on the SQL server that is followed by a running number. Removing these from the data model on every refresh simply takes too much time on a daily basis. The additional undesired table which is created is what is defined in the SQL query
of the connection string of this connection.
I tried to solve this problem by zipping the Excel file and modifying this SQL statement present in the connection string in the connections.xml file in a way that it would not return anything, but this always leads into a corrupted workbook.
After encountering this I have managed to avoid this problem by making sure that the initial table I'm adding to the data model will remain in the model, but I really don't want to rebuild this current model. Is there any fix for this issue without
rebuilding the data model?
Thanks for all the help in advance!

I am using 64-bit Office 2013 with the recent SP1 upgrade and the included PowerPivot plug-in on a Windows 8.1 machine.
I always create the connection by using "From SQL server" then fill in the server and log in details and use a ready SQL statement that I have written by using SQL Server Management Studio to import the initial table. For all the preceding tables
using the same server and schema, I always select it from existing connections and just paste the SQL queries required for any additional tables to the "Write a query that will specify the data to import", rather than using the table import tool.
I am not sure if it could have any effect that I've been using the type connection "From SQL server" although the database is really running on Azure (there is a possibility to select From Other sources > Microsoft SQL Azure, but the functionality
seems the same).
I don't really understand what I should edit from the existing connections section. Just to clarify, apparently the Connection String parameters can be edited from PowerPivot, but not the Command Text which can be viewed from Excel Data > Connections
> Properties, but is shown in gray with a message "Some properties cannot be changed because this connection was modified using the PowerPivot add-in."
In the data model I am using two sets of identical tables, but connected to two different servers that are running a database 1:1 in structure. Initially the problem considered only the other of these, but I accidentally reproduced it by, again, editing
the SQL query in the table that was initially imported when that connection was created (PowerPivot > Design > Table Properties). Now when refreshing I get tables that are structured as in what the "Connection Text" part of the connection would
produce, which replicated for the equivalent amount of additional tables using the same connection, so now I'm getting 12 tables (the number of tables using the same connection) each named "*schemaname1* Query", "*schemaname1* Query2",
"*schemaname1* Query3" "*schemaname2* Query" and so on.
Personally I can definitely see a pattern here. If there isn't a table matching what has been specified in the "Command Text" that was described when the connection was created, then it for some reason runs this query anyway on every table that
is using the connection.

Similar Messages

  • Excel 2013 PowerPivot Error - "PowerPivot is unable to load the Data Model"

    I'm attempting to use the PowerPivot add-on in Excel.  When clicking 'Manage Data Model' or attempting to 'Load to data model,' I receive the error 'We couldn't load the Data Model.  This may be because the Data Model in this workbook is damaged.',
    followed by 'PowerPivot is unable to load the Data Model.'  This happens irrespective of data source type.  I have Excel 2013 32-bit, PowerPivot 32-bit, running on Windows 7 OS 64-bit.  I am not running an SSAS instance on my machine. 
    Any suggestions?

    Hi
    Have you ever tried to repair your office?
    Also we may refer to the following blog :
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/11/12/powerpivot-for-excel-2013-errors-after-october-update-kb-2825655.aspx
    This issue seems to be caused by the October 2013 update (KB 2825655) for Excel 2013. Try to remove it or restore the system to an earlier point and check the result.
    Regards
    Tylor Wang
    TechNet Community Support

  • Can "trigger" management be addressed in the data modeler?

    Please add an easier way to add/modify triggers.
    I reverse-engineered my model into the data modeler and my triggers all migrated correctly to the model but, for the life of me, had no idea how to view, modify or create triggers.  After extensive research, I found that they can be accessed in the left-hand Browser by drilling some 8 levels to view the triggers for each table - why?  Why can't this functionality be added to properties context menu for the table.  I'm not a big advocate for triggers but if I need to work on one, the current methodology is tedious at best.
    Of course, if there's some other way to do this, please inform...
    Accessing Triggers via the Browser
    Design -> Relational Model -> APEX_DEMO -> Physical Model -> Oracle Database 11g -> Tables -> ACTIVITY_LOG -> Triggers

    Thanks Joop and Phillip...
    While I occasionally use SQL Developer, I currently use PL/SQL Developer (Allround Automations) as my development tool of choice and bringing a 3rd tool as SQL Developer into the mix, makes no sense to me.
    I completely agree that managing a trigger via a development tool is much easier but one occasionally wants to quickly add a trigger either manually or via a template and this is not easy currently.
    While functions, procedures, package, etc. are all important to a data model, the existence of most triggers are completely dependent on a table and are a critical component in any model that uses them.  The ability to access and modify them easily in Data Modeler is important and shouldn't be an afterthought as is perceived here.  If trigger access cannot be added to the Table Properties (as noted in the image below), at the very least, please provide a shortcut methodology to do so.

  • Powerpivot Error on Refresh -- "We couldn't get data from the data model..."

    I'm using Excel 2013 and Windows 8.1.  I have a spreadsheet I've been using for over a year, and I've just started getting this error message when I try to refresh the data.
    "We couldn't get data from the Data Model.  Here's the error message we got:
    The 'attributeRelationship' with 'AttributeID' - 'PuttDistCat9' doesn't exist in the collection"
    Any idea how I can fix this problem?  I haven't changed anything related to that particular attribute.  All the data is contained in separate sheets in the workbook, so there are no external sources of data.
    Thanks.
    Jean

    Thanks for all the suggestions.
    I found a slightly older version of the spreadsheet that still refreshes properly, so I don't think I have any issues with the version of Excel or Power Query.  (I've had this same error before, and I believe I applied the hotfix at that time.)
    I think this problem started after I updated a number of the date filters in the pivot tables.  I haven't made any changes to the data model, and the only updates I've made were to add data (which I do all the time), and to change the date filters on
    the pivot tables.
    As suggested, I added a new pivot table querying one table (the table with the attribute that shows up in the error message), and it worked fine.  I can also refresh this pivot table.
    Then I tried adding a pivot table which went against several tables in the data model (including the table in question).  The pivot table seemed to return that data properly.  However, when I tried to refresh it, I got the same error message ("we
    couldn't get data from the data model..."). 
    Dany also suggested running the queries one at a time to see which one is in error.  Without checking all the pivot tables, it appears that any which use the table "HolePlayedStrokes" generate the error (this is the table with the attribute
    mentioned in the error message).  Pivot Tables without that particular table seem to refresh OK.  Unfortunately, that is the main table in my data model, so most of the pivot tables use it.
    Any other suggestions?  I'd be happy to send a copy of the spreadsheet.
    Thanks for all the help.
    Jean

  • Including table and column comment in the Data Modeler

    Hi all,
    I used Oracle's SQL Developer Data Modeler (Version 3.0.0.665) and created a data model for my project. I e-mailed a PDF format of the data model to our Systems Analyst. She asked if I could re-create the data model and include table and column comments. Is this a possibility and if so how is this done?
    Thank you for your input,
    Seyed

    Hi Kent,
    Using the information you provided and Oracle’s Working with SQL Developer Modeler Reporting I did the following:
    1) Created a Reporting Schema User
    1.1) Using my Oracle 10g Personal Edition, I created a new user and gave him DBA administrative privileges
    2) Exported Relational Design to Reporting Schema
    2.1) Opened the Relational Design
    2.2) Exported it to the Reporting Schema. Note, I never got a message ‘Design has been exported successfully’.
    3) Reviewed the Report Results
    I think exporting the relational design was not successful, and didn’t get any error messages. Had step 2 completed successfully, I would have reviewed the Report Results in SQL Developer. By the way, I know I have marked this topic as closed, but would like to learn your method too.
    Thank you for your help,
    Seyed

  • SQL Developer - problems with the Data Modeller part

    Hi SQL Developer users,
    I can open the Data Modeler pane, but I can't insert any object into the logical model or into the relational model. Any ideas about what I'm doing wrong? Do I need specific privileges to the database, or do I need to install SQL Developer in a different way?
    Thanks,
    Csisz

    Hi Csisz,
    as Ivaylo wrote - it's Data Modeler Viewer into SQL Developer.
    I can't insert any object into the logical model or into the relational modelYou can drag tables from SQL Developer browser and drop them on relational model diagram. If you keep Ctrl key pressed then all child tables also will be imported and shown on diagram.
    Philip

  • Migrating SAP BW into Oracle data model

    We have a requirement where the exisiting data from SAP BW needs to be migrated into Oracle. Since I do not have any prior SAP BW experience, I wanted to ask the forum on what their thoughts are in converting the data model from SAP BW into Oracle. Would that be straight forward conversion for the fact and dimension tables into Oracle or are there certain things we need keep in mind while designing the data model in Oracle. For ex: indexes, keys, attributes etc if they are handled any differently between the two systems.

    Hi
    ERwin will not give you the functionality to derive the logical data model from SAP BW automatically, however Saphir from Silwood Technology (www.silwoodtechnology.com) does allow you to extract the detailed metadata from the SAP BW system ( as well as from other major standard or customised ERP applications - SAP itself, Oracle, Siebel, Peoplesoft and JD Edwards). Once this information is brought into its own repository, Saphir provides a range of powerful search and view capabilities to allow you to isolate the data you are interested in and then export that information to ERwin (or any other leading Modeling tool).
    Saphir will provide you with details of the relationships and detailed definitions within SAP BW.
    Hope this helps
    Roland

  • Importing editable data that can be compared to the data model?

    I will describe my objective and how I've solved it currently without Powerpivot.  Then I will ask if there's a way to improve upon my solution by using Powerpivot.
    The topic is project allocation forecasting.  Currently I import two copies of the same dataset from a work management system in to Excel.  One copy is then modified iteratively and produces graphs used in predict resources on various projects
    in the future.  We work through many "what if" modifications to this data.  Once we believe we have the data correct, I then compare the modified data to the second copy of the data, to see what we changed.
    With Powerpivot, much of what I coded in VBA for Excel previously is extremely simple (and better.)  Additional advantage is I don't have to actually import the data in to Excel (after first exporting it from the work management system.)  But I
    lost the ability to modify the data over and over, and then compare it back to its original source.
    Finally to my question... is there a better way to import the data in a way that it will be editable, and then compare that data back to the data existing in the data model?

    well, you cannot modify any data once it is loaded to power pivot - unfortunately
    the only thing i could think of is to use Excel linked tables which are then updated in power pivot once you modified them
    depending on how you want to change your data this may be an option for you
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Use a multiple selection parameter in the data model

    Hi
    i have created a parameter with the property multiple selection.
    This parameter i use in the Data Model where area,
    if i just mark one value the report works well if i mark more the one
    the report run into a error.
    WHERE PSNR IN :ma
    the xdo looks like
    <?xml version = '1.0' encoding = 'utf-8'?>
    <report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="tisoware">
    <title>BDE Nettozeit</title>
    <properties>
    <property name="showControls" value="true"/>
    <property name="online" value="true"/>
    <property name="parameterColumns" value="2"/>
    <property name="openLinkInNewWindow" value="true"/>
    </properties>
    <dataModel defaultDataSet="BDERUECK">
    <dataSet id="BDERUECK">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT (SUBSTR(DATUM,1,6)) AS DATUM, SUM(NTTOZEIT) AS ZEIT,
    TRUNC(SUM(NTTOZEIT)/60) AS STUNDE
    FROM BDERUECK
    WHERE (DATUM  >= :datev) AND (DATUM <= :dateb) AND (KZDELETE = 'N') AND FIRMA = '1' AND ((PSNR IN :ma))
    GROUP BY (SUBSTR(DATUM,1,6))]]>
    </sql>
    <input id="datev" value="${datev}" dataType="xsd:string"/>
    <input id="dateb" value="${dateb}" dataType="xsd:string"/>
    <input id="ma" value="${ma}" dataType="xsd:string"/>
    </dataSet>
    </dataModel>
    <valueSets>
    <valueSet id="date">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT DISTINCT DATUM
    FROM BDERUECK]]>
    </sql>
    </valueSet>
    <valueSet id="employee">
    <sql dataSourceRef="tisoware">
    <![CDATA[select      PERSTAMM.PSPERSNR as PSPERSNR,
          PERSTAMM.PSNR as PSNR
    from      TISOWARE.PERSTAMM PERSTAMM
    where    PERSTAMM.FIRMA = '1'
    order by PERSTAMM.PSPERSNR]]>
    </sql>
    </valueSet>
    </valueSets>
    <parameters>
    <parameter id="datev" defaultValue="20050103">
    <select label="Datum von : " valueSet="date" multiple="false" all="false" refreshParameters="false"/>
    </parameter>
    <parameter id="dateb" defaultValue="20060930">
    <select label="Datum bis : " valueSet="date" multiple="false" all="false"/>
    </parameter>
    <parameter id="ma" defaultValue="152">
    <select label="Mitarbeiter : " valueSet="employee" multiple="true" all="false"/>
    </parameter>
    </parameters>
    <templates default="BDE Nettozeit">
    <template label="BDE Nettozeit" type="rtf" url="BDE Nettozeit.rtf"/>
    </templates>
    </report>

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

  • How to integrate the Data modeler in Sql developer

    Hi
    How can we integrate the data modeler into sql developer and use the data modeler?
    Thanks

    Integrating different oracle products (SQL Developer [Data Modeller], JDeveloper, ...) on platforms like Eclipse, Netbeans, JDeveloper Framework is a really missing feature.
    JDeveloper has a good approach for integrated Java and database development, but has not immediate benefits from from other development streams like SQL Developer.
    On daily work we must use more than three different tools for most common task
    - editing stored functions, procedures and packages with SQL-Developer (code formatter in Jdeveloper produces sometimes UNREADABLE code ( So we are using TOAD instead ). Why can't Jdeveloper use SQL-Developer formatting tools in bug fixed verrions from 1.5.5?
    - database modelling with SQL Developer Data Modeler without PLSQL package support ???
    - database development with JDeveloper, ADF and offline database model without capabilities for logical databse models
    Please put them all together!

  • BI Publisher 10g - Limit to the size of the data model?

    Hello,
    We are using OBIEE 10g 10.1.3.4.1 in our organization and have a problem when working on a large report in BI Publisher. It seems that once our data model gets large enough, we are no longer able to edit the report. When we click on the Edit link to load the report editor, the side menu that lists the data model, parameters, bursting, etc does not load, preventing us from making any changes to the report.
    At first we thought it was a timeout issue and changed the following:
    $J2EE_HOME/applications/xmlpserver/xmlpserver/js/XDOReportModel.js
    Property name : XDOReportModel.TIMEOUTMSEC
    set value in Milli seconds as " XDOReportModel.TIMEOUTMSEC = 15000
    After making the change and restarting the services, it did not help. Is there a different place for the timeout of loading the report editor? What about some kind of cap to the size of the data model? We have one large data template that is used to generate a report. I tried breaking the large data set into multiple, smaller data sets (still using data tempalte) and that didn't seem to help any. Is there a limit the size of the data model BI Publisher can return?
    Any help would be greatly appreciated! Thanks!

    Hello,
    I think you should create a recordStore with RMS and use it like a string array. You can store huge amount of data and the time access when request data from recordStore is very similar as if it is store on the RAM memory with recent devices.
    And if it is not persistent data you can delete the recordStore when closing the midlet.

  • The Data Model connection could not be created

    Hello, 
    Using powerquery, I am trying to access daily logs conveniently, the are over 24m records in a month. 
    I have selected the columns i need, and checked the box ' load data to Model', Once the query has ran it returns the error, "The Data Model connection could not be created".
    Thank you for any help on this :)

    This is a tough one because as an add-in, we can't get much information from the API for failures like this. Our general recommendation for people working with big data sets is to use 64-bit Excel. I realize that's a big hammer, but it might be your only
    option if you need to work with a 24 million row data set.
    Another option (which you may have already done) is to filter and aggregate that dataset as much as possible before adding it back into Excel. The analysis done inside the Power Query editor is less likely to negatively affect the working set on your machine.
    (It does depend how the query is built and where the data is come from. If we have to pull all the data into memory to do some of the operations then it won't help at all.)

  • Powerview "Add this to the Data Model" checkbox is greyed out.

    How can this checkbox "Add this to the Data Model" in the Import Data dialog box be made available and not greyed out?

    Hi Rufino,
    Data Model is a new approach for integrating data from multiple tables, effectively building a relational data source inside the Excel workbook. Within Excel, Data Models are used transparently, providing data used in PivotTables, PivotCharts, and Power
    View reports. between the data sources.
    In your scenario, it seems that you import data from Analysis Services database. However, this option is not available for Analysis Services database. So in you want to made this option, you can import data from relational database.
    Reference:Introduction to the Data Model and Relationships in Excel 2013
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here
    Charlie Liao
    TechNet Community Support

  • The request has not yet been updated into the data targets.

    Request successfully loaded into PSA - start further update
    Diagnosis
    The request has as data target "only PSA". It arrived there successfully.
    System Response
    The request has not yet been updated into the data targets.
    Procedure
    You can now trigger the update manually. The final target is determined in the request tables. You do not have to make any further settings.
    I am getting this error daily. In RSMO screen status tab option called u201CProcess manuallyu201D, so am doing this manually daily. Is there any solution to fix this problem permanently?
    Thanks & Regards,
    Praveen Yagnamurthy.

    Hi Praveen,
    Dont you have Process chains in Production system for loading thid data. If so its better to schedule the PC rather go for manual loading. In Prod system you will not be able to change. You will have the make the changes in the Development Environment & collect these changes in a TR & then move them into Test environment first to make sure it is working fine. And then once it is tested, you can move the TR to Prod sys.
    Hope it helps!
    Regards,
    Pavan

  • Maintain dimension members directly into the data base

    Hi,
    We need to update the dimension members directly into the data base.
    Instead of going into the administration and entering manually.
    I tried just updating the table mbr and dim. but that didn't work.
    Any insight on that?

    To update the dimension members from the backend tables, update the mbr<dimension>> table and process the dimension either from BPC Admin Console or a SSIS BPC Admin Task. The dimension processing will automatically update the dim<<dimension>> table in the backend.
    However, the updated dimension members can not be seen from the frontend in the BPC Admin. To see the updated dimension member sheet in the current client machine, use Export Dimension option in BPC Admin Console.
    To see the updated dimension an all client machines and get reflected in the current view, please follow this URL:
    Re: BPC 7 MS Update dimension (Make_dim task)
    Hope this helps.

Maybe you are looking for

  • Error while deleting a request

    Hi All, When trying to delete a request from a master data object an error appears which says: Cannot delete request DTPR_* of table RSN* for deletion. Please let me know what needs to be done here so that request is deleted. This is urgently require

  • ID3 Tags and MP3 player

    Hello, I can't afford a new iPod at the moment so brought an Archos MP3 player. It is a drag and drop device so all I need to do is drop the MP3 file in the music folder on the MP3 player. The only issue I am having is that the songs are not labeled

  • Updating data from PSA to CUBE

    Hi Experts, i got a mismatch between R/3 and BW reports, one document number value has not updated in PSA and INFOCUBE, that's why it is showing wrong value in BW report, i know which value and in which field it has missed. I want to enter that field

  • Warning for Continuous Looping External flv or f4v as2

    Malfunction issued in Continuous Looping External flv or f4v in as2 from containers created in Flash Professional CS6 with code on (complete){ this.autoRewind=true; this.play(); solution: always make a new document! Mystic problems with x times resiz

  • Adding a JS File brings JS Error...

    I'm using JavaScript Code that is in a file lib.js like this: <SCRIPT type="text/javascript" language="JavaScript" src="scriptlib.js"> </SCRIPT> <SCRIPT type="text/javascript" language="JavaScript">   ShowMessages(); </SCRIPT> The JS File looks like