KPIs in Powerpivot

Hi,
I have a pivot built from Powerpivot which gives me an average sales value across a range of products. Each product belongs in a product 'family'. I wish to add a KPI measurement to track performance but each family has a different absolute target - can
this be done - work book link below and as always thanks for any advice.
https://onedrive.live.com/redir?resid=3AE8882B3E11F58%21118

Hi Grinch,
It seems that your issue had been solved by yourself. Could you share the solution so that it will help other forum members who have the similar issue.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • PowerPivot in Excel 2013 KPI Status Icons

    The KPI status icons for KPIs in PowerPivot only display the default read, yellow, and green circles when displayed in a PivotTable regardless of which icon set is selected when the KPI is created. If the KPI status is displayed in a Power View report then
    the icons display as expected. Is this a limitation in PivotTables or is something wrong?

    Hi,
    I haven't seen the behavior within PowerPivot 2012.
    Please Note: Since the following web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    http://sharepointmike.wordpress.com/2012/07/28/powerpivot-kpis-part-3-of-the-powerpivot-2012-series/
    The screenshot shows except the circle shape, the shapes of status icons could be triangle and diamond.
    The behavior may be changed in Excel 2013.
    Best regards,
    Rex Zhang
    TechNet Community Support
    A new Office has arrived, try it now.
    A beautiful Start. It begins here. Windows 8 and Windows RT.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How I have multiple KPIs for the same measure?

    Hi there,
    I am finishing up a PowerPivot data model which gathers information from a service desk system, and different customers have different SLA targets.
    I know I can specify a KPI for each measure that I create. However is there a way to specify multiple KPIs the same measure, or any other way/workaround that can meet the requirement outlined above?
    Thanks in advance for the help.
    Regards,
    P.

    Hi pmdci,
    According to your description, you want to specify different target for different customer when creating KPI based on same measure. Right?
    In PowerPivot, when we create a KPI, we can only specify calculated field or absolute value as target. We can't put any expression or function to specify a dynamic value as target value. Based on my knowledge, this requirement can be achieved in Reporting
    Services. We just  need to create a Variable and use Switch() function in expression to set specific values for different users. In this scenario, it seems can't be achieved in PowerPivot currently. I suggest you post this thread on PowerPivot forum:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlkjpowerpivotforexcel
    You may get some more effective advice there.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Error while running a KPI Watchlist in obiee 11g dashboard

    I am getting the following error while running a KPI Watchlist :
    *" Odbc driver returned an error (SQLExecDirectW) "*
    I added two KPI's (KPI 1 & KPI 2)into that Watchlist , one from the default "Sample Sales Lite" (sub 1) and another from sub 2 which have essbase as data source .
    KPI 1 (created from sub 1) is working fine , but while placing KPI 2 (created from sub 2 ) in the watchlist , its throwing the above error . However , while running KPI 2 individually , its showing meaningful results .
    Let me know if the problem statement is not clear .
    OBIEE version used : 11.1.1.5.0 .

    Could anyone reply this thread. I am also getting the same error . Even server logs are also not helping.

  • My Excel with PowerPivots acts weird, it hangs when i try to change font color

    Hi 
    I am facing a weird issue using PowerPivot in my workbook, there is a worksheet named Charts in my workbook and all the charts i am using resides in that worksheet. Whenever i try to change the font color in that sheet, my excel's color palette goes blur
    and then everything just freezes and turns black. This problem is happening only with Charts worksheet, when i try to change the color in other sheets, it works just, the problem is only with Charts sheet. File
    size is 16 MB, there are just 10 pivot tables with some calculations and some calculated fields. There are no add-ins other than PowerPivot. 
    Thanks,
    Shanker

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you receive any error message?
    Which Excel version are you using?  Excel 2013 or other?
    Which workbook format are you using? XLS or XLSX?
    Are you performing any specific task?
    According to your description, this issue seems only occur with the special worksheet "Charts".
    Firstly, I recommend we copy all of the content to a new/blank Excel file to test.
    If it works fine, this issue might be caused by the "Charts" workbook itself. We'd better check the "Charts" workbook. Or re-build the file with a new workbook.
    If it still makes Excel hang with a new file, this issue might due to the content. Please check the content first.
    Secondly, we could follow below KB to troubleshoot this issue:
    https://support2.microsoft.com/kb/2758592/en-us?wa=wsignin1.0
    Thirdly, if the issue still exists, we may try to collect the Event log and App crash dump file to do advanced troubleshooting.
    Event log:
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    App crash dump file:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing
    it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\EXCEL.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open Excel
    to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Skydrive and shared the link here.
    Also, you can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Is it possible to easily use a Powerpivot to work like a cube?

    Hello,
    I don't have much knowledge in Powerpivot, so I'm trying to see if what I want to do is feasible in Powerpivot before delving further into it.
    I have a database with multiple tables that is quite de-normalized, and I want to allow end-users to use Excel and check off boxes on a field list to give them more or less information. There is nothing setup in SSAS for me, no fact tables, no dimensions,
    nothing - and I most likely will only have access to SSMS & Excel to produce this.
    For example, the database has one table listing all the sales orders, another listing the possible payment methods, another listing the customers, another listing the products, etc all linked together via various keys. If I write a query to join everything
    together so that each of the results says "Order #, Payment Method, Customer, Products Purchased", I can get a Powerpivot made from it, but it is very slow and it behaves like it is summing everything when most of the data I need it to produce is
    text (in fact, I don't really need any aggregation done at all, but I want the ability to use slicers, connect to SQL, etc.). Is there a way in powerpivot I can link a bunch of tables together (based on their PK/FK) and then the user can pick the items they
    want from a field list and have it populate like a cube? This way, a manager could open the file and only show how many customers they have, only show which sales were done via credit card, etc. I want to provide a cube/data dump/operational reporting replacement
    as our current reporting solutions are inadequate.
    Sorry for the vagueness, but I feel like Powerpivot can do what I want it to, but I'm also fearful of investing a lot of time learning it and building it only to have the end result not be what I'm expecting.
    Any help/insight would be greatly appreciated.
    Thanks,
    RU

    in fact, I don't really need any aggregation done at all, but I want the ability to use slicers, connect to SQL, etc.
    Hello Richie,
    The main task and the great power of
    PowerPivot is in aggregate
    data. But if you want you can use it as a plain reporting tool. You can import data into a workbook and create relations between tables.
    In Internet there are several examples available, the most base on the sample database "AdventureWorks", which is a ERP database for products/customers/orders and so on. Some examples can be found here:
    http://www.codeplex.com/site/search?query=powerpivot
    http://powerpivot-info.com/post/174-step-by-step-guide-for-creating-demo-powerpivot-workbook-from-adventureworksdw-sql-tables
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • KPI Filtering in OBIEE 11g

    Hello,
    I've successfully installed OBIEE 11.1.1.5 and I'm starting testing the new 11g features.
    One problem I've run into is fairly simple in definition: how can I filter a KPI through a watchlist or a strategy map?
    I know that in defining watchlists and scorecard one can use the POV bar, and indeed it works perfectly, but when I put the watchlist or scorecard on a dashboard it's not possible to filter KPI results through a filter, and the pov bar control simply doesn't show up.
    Can anyone help on this matter?
    Thanks in advance!
    Vincenzo

    Hi ,
    As you have mentioned i have created a column prompt with presentation variable as "presyr"
    i have a KPI , where the "target value" should have the value captured in "presyr" . So i have used the expression in target value as @{presyr}
    i have put the kpi to a watchlist with "use point of view" option (i cannot use variables here as there is no presentation variable there)
    After that i have put prompt and KPIwatchlist to dashboard while putting KPIwatchlist to dashboard i have used "use variable " option and i have selected presentation variable with value as "presyr"
    but still the presentation value is not passing to target value in KPI
    Did i missed any step please help
    Thanks
    NN

  • Error message when launching PowerPivot Window using Excel 2010

    I have installed the latest version of Powerpivot on several of our workstations.  Some of them are running the application just fine and some of them are getting an intermittent error message when trying to launch the PowerPivot Window.
    We are running Windows 7 ENT 32bit with Office 2010 32bit
    The error message given is : An operation that uses the database driver could not be completed.   If the driver is a Microsoft driver, make sure the drvier file isn't damaged, and if it is, reinstall the driver by re-installing Microsoft Query.  
    You can then try again and it will work.
    In fact the majority of the time this error message won't appear.
    The application has been removed and reinstalled.
    When I checked event viewer i'm finding this error which I think is related
    The description for Event ID 1 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted.
    Hello,
    It's just a guess: Power Pivot uses the MSOLAP = "Microsoft OleDB Provider for OLAP" and maybe that Provider is damaged on the machine. You may try to reinstall the Provider, you can get the installer named "SQL_AS_OLEDB.msi" from
    Microsoft® SQL Server® 2012 SP2 Feature Pack  =>
    ENU\x86\SQL_AS_OLEDB.msi (for 32 bit)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Exponential Moving Average - EMA - in PowerPivot

    Hello All
    We´re having a challenge trying to put the [20] (trading days) Exponential Moving Average (EMA) in our data model in PowerPivot.
    Here is the EMA formula and sample spreadsheet:
    http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_averages
    Pasted the formula here for convenience:
    SMA (simple moving average): [10] period sum / [10]
    Multiplier: 2 / ([Time period] + 1) )
    EMA: {Close - EMA(previous day)} x multiplier + EMA(previous day).
    Sample spreadsheet
    http://stockcharts.com/school/data/media/chart_school/technical_indicators_and_overlays/moving_averages/cs-movavg.xls
    In our model the fact table have these columns:
    Symbol Date Open High Low Close Volume
    And in the Calendar table we´ve identified the trading days (Calendar[TradingDayNumber]) as 1 so we can count them back.
    We want the EMA calculated field in a pivot table like this
    Filter context: a date selected on Calendar[FullDate]
    Row context: FactTable[Symbol]
    Values: FactTable[Close]
        FactTable[EMA 20D] >> Missing
    So far we got these calculated fields:
    Period
    =20
    Ema Multiplier
    =2 / ([Period] + 1)
    Average 20D CLOSE
    =IF([Sum of CLOSE]=BLANK(),BLANK(),(CALCULATE(AVERAGE(FactTable[CLOSE]),FILTER(ALL(Calendar),Calendar[TradingDayNumber]<=MAX(Calendar[TradingDayNumber]) && Calendar[TradingDayNumber]>MAX(Calendar[TradingDayNumber])-[Period]))))
    But it looks like the EMA formula contains a self reference from previous values, and it also starts from a SMA (Average 20D CLOSE) value.
    How can we do it?
    Thanks in advance. I highly appreciate your support.

    Nico,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • SharePoint 2013 and PowerPivot

    After 6 hours I give up. I installed SQL Server 2012 Service pack 1. I ran the PowerPivot for Sharepoint and everything went well. The PowerPivot Management Dashboard comes up, the solutions is available at the Farm level and I also have it enabled on the
    site collection level. Analysis services seems to be installed and working. I have my server listed in the Excel Application Service and everything "looks" right. However I cannot get the PowerPivot timeline (data refresh) to work.  I just get
    "PivotTable Operation Failed: An error occurred while working on the Data Model in the workbook. Please try again."
     I am at my wits end and I have no idea what else to even check. The Secure Store service seems right and I have tried setting the Connection Settings in the Excel doc itself with the AppId thats in the secure store and to no avail. 
    ULS Logs show this
    ConnectionManager.GetModelConnection: Invalid connection info: [Oledb, Stored, PowerPivotUnattendedAccount, False, , ShouldUseEffectiveUsername: False]
    DataModelManager.GetModelAndMarkUsed: failed to create connection, ex: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetModelConnection(ConnectionInfo connectionInfo, Credentials credentials, Uri workbookUri, Int32 lcid, WorkbookInterop workbookInterop, Guid itemId, Boolean writableLegacy)    
     at Microsoft.Office.Excel.Server.CalculationServer.DataModelManager.GetModelAndMarkUsed(ConnectionInfo connectionInfo, Credentials credentials, Int32 lcid)
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    CWorkbook::_HandleModelStreamingError - powerpivot operation failed with 0x80004005
    CExcelDataObject::MapServerAlert called - stridAlert==6DA
    Please help....if you can =)

    Hi,
    For your issue, please make sure you have enabled the "Data refresh from REST enabled " in Trusted File Locations of Excel Service Application.
    For more information, you can refer to the blog as below:
    http://www.sharepointblogs.be/blogs/vandest/archive/2014/02/20/excel-rest-api-not-refreshing-data.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Eric Tao
    TechNet Community Support

  • PowerPivot refresh error with data feed from sharepoint list with empty exception information

    Hi,
    My Powpivot refreshing error seems to be different from what others already experienced.
    Scenario:
    Constructed an external data source in the format of Http://<server_IP>/sites/<mysitecollection>/_vti_bin/listdata.svc
    selected one table with some of the needed columns in the next step
    Create calculate colums etc.
    Create pivot tables etc.
    All worked well offline
    Upload the workbook into PowerPivot Gallery
    Reference it from a page through Excel Web Service webpart allowing manual refresh
    The refresh always reports failure with the named external data source
    I opend the log file in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS and located the following error messages:
    ASPPHOST::ShowEngineError: Out of line object 'DataSource', referring to ID(s) 'f8939b694cae', has been specified but has not been used。The following exception occurred while the managed IDbCommand interface was being used: .
    Please note in the above message, NO detailed exception message was given. In other words,
    the exception information is empty.
    I checked as many things as I possibly could includin the security accounts etc. All seem to be right. But this empty exception got me stuck here.
    What could possibly go wrong? Any help will be appreciated.
    Thanks.

    Hello,
    Here is a good article regarding Where to get information about data refresh failures for your reference, please see:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    In addition, which credential option you're configured for the PowerPivot data refresh in SharePoint farm? You can go through the following articles regarding configure the PowerPivot data refresh:
    Configure the PowerPivot Unattended Data Refresh Account (PowerPivot for SharePoint):
    http://technet.microsoft.com/en-us/library/ff773327.aspx
    Configure Stored Credentials for PowerPivot Data Refresh (PowerPivot for SharePoint):
    http://technet.microsoft.com/en-us/library/ee210671.aspx
    Hope this helps.
    Regards,
    Elvis Long
    TechNet Community Support

  • PowerPivot - refresh excel with Data Feed

    Dear all,
    I created a PowerPivot chart out of a SharePoint exported list to Data Feed.
    I then published it to a trusted Document Library.
    The Chart is working well but is not updating.
    So if I go to the document library and on the drop down meny of the publsihed excel file I choose Manage PowerPivot Data Refresh and force it to refresh, it fails with the following error message>
    Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized.. A connection could not be made to the data source with the DataSourceID
    of '3b4d4c28-909c-47d3-b4d6-07684f5e2ee9', Name of 'DataFeed mywebapp.domain TestPowerPivotDataFeed'. An error occurred while processing the 'testPowerPivot' table. The operation has been cancelled.
    On the SQL Server I ran a profiler and got the follwoing:
    exec [DataRefresh].[AddRunDetails] @RunID=54,@DataSourceID=N'3b4d4c28-909c-47d3-b4d6-07684f5e2ee9',@FriendlyName=N'DataFeed mywebapp.domain.local TestPowerPivotDataFeed',@Source=N'http://portal.gonzofish.local',@Provider=N'Microsoft.Data.DataFeedClient',@Catalog=N'dev/scrum/Data
    Feed Library/TestPowerPivotDataFeed.atomsvc',@ConnectionString=N'Data Source=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc;Integrated Security=SSPI;Persist Security Info=false;Namespaces to Include=*;Service Document
    Url=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc',@Result=N'F',@RunStartTime='2014-06-04 15:33:04.590',@RunEndTime='2014-06-04 15:33:04.727',@Comments=N'Errors in the high-level relational engine. The following exception
    occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized..
    A connection could not be made to the data source with the DataSourceID of ''3b4d4c28-909c-47d3-b4d6-07684f5e2ee9'', Name of ''DataFeed mywebapp.domain.local TestPowerPivotDataFeed''.
    An error occurred while processing the ''testPowerPivot'' table.
    The operation has been cancelled.
    I followed the link http://technet.microsoft.com/en-us/library/hh487291%28v=office.14%29.aspx to set up the Data Refresh for the PowerPivot.
    Thanks in advance.
    Regards,
    Gonçalo
    Gonçalo

    http://social.technet.microsoft.com/Forums/windows/en-US/082a62f2-77b6-41c9-be94-09cf06622d4e/powerpivot-refresh-error-on-workbook-using-a-data-feed-from-sharepoint-list
    You configured the PowerPivot unattended data refresh account, but now data refresh is failing. Check for these possible conditions:
    Choosing the wrong credentials option in the schedule data refresh page.
    Insufficient permissions on remote computers or data sources.
    Follow the steps below to re-add the unattended data refresh account and see how it works:
    1. Create a Data feed library .
    2. Upload the local copy of you data feed to there.
    3. Open up your report and change the connection.
    4. Use Secure Store Service by adding your unattended PowerPivot refresh account.
    If still no help, for quick and accurate answers to your questions, it is recommended that you initial a new thread in our SQL server forum.
    SQL server forum
    http://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
    Meanwhile, there are some articles about troubleshooting PowerPivot data refresh issue for your reference, please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    http://technet.microsoft.com/en-us/library/gg399164.aspx

  • PowerPivot in SharePoint 2010 - Refresh Excel with Data Feed does not work

    Dear all,
    I created a PowerPivot chart out of a SharePoint exported list to Data Feed.
    I then published it to a trusted Document Library.
    The Chart is working well but is not updating.
    So if I go to the document library and on the drop down meny of the publsihed excel file I choose Manage PowerPivot Data Refresh and force it to refresh, it fails with the following error message>
    Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized.. A connection could not be made to the data source with the DataSourceID
    of '3b4d4c28-909c-47d3-b4d6-07684f5e2ee9', Name of 'DataFeed mywebapp.domain TestPowerPivotDataFeed'. An error occurred while processing the 'testPowerPivot' table. The operation has been cancelled.
    On the SQL Server I ran a profiler and got the follwoing:
    exec [DataRefresh].[AddRunDetails] @RunID=54,@DataSourceID=N'3b4d4c28-909c-47d3-b4d6-07684f5e2ee9',@FriendlyName=N'DataFeed mywebapp.domain.local TestPowerPivotDataFeed',@Source=N'http://portal.gonzofish.local',@Provider=N'Microsoft.Data.DataFeedClient',@Catalog=N'dev/scrum/Data
    Feed Library/TestPowerPivotDataFeed.atomsvc',@ConnectionString=N'Data Source=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc;Integrated Security=SSPI;Persist Security Info=false;Namespaces to Include=*;Service Document
    Url=http://mywebapp.domain.local/dev/sc/Data%20Feed%20Library/TestPowerPivotDataFeed.atomsvc',@Result=N'F',@RunStartTime='2014-06-04 15:33:04.590',@RunEndTime='2014-06-04 15:33:04.727',@Comments=N'Errors in the high-level relational engine. The following exception
    occurred while the managed IDbConnection interface was being used: The remote server returned an error: (401) Unauthorized..
    A connection could not be made to the data source with the DataSourceID of ''3b4d4c28-909c-47d3-b4d6-07684f5e2ee9'', Name of ''DataFeed mywebapp.domain.local TestPowerPivotDataFeed''.
    An error occurred while processing the ''testPowerPivot'' table.
    The operation has been cancelled.
    I followed the link http://technet.microsoft.com/en-us/library/hh487291%28v=office.14%29.aspx to set up the Data Refresh for the PowerPivot.
    Thanks in advance.
    Regards,
    Gonçalo
    Gonçalo

    Hi Gonçalo,
    The error message shows that the account didn't have sufficient permission access to the data source(SharePoint List data feed). PowerPivot data refresh is performed by Analysis Services server instances in the SharePoint farm, we may need to grant the
    account running SQL Server Analysis Services (POWERPIVOT)
    Read permissions to the SharePoint list we are attempting to refresh.
    In addition, the external data sources that are accessed during data refresh must be available and the credentials you specify in the schedule must have permission to access those data sources.
    For more information, please take a look at the following article:
    Schedule a Data Refresh:
    http://technet.microsoft.com/en-us/library/ee210651(v=sql.110).aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • Powerpivot data connection will not save the password

    I'm trying to create a Powerpivot workbook with data that users can refresh themselves before analysis.  We don't have Powerpivot data refresh in Sharepoint active, so I can't make use of that service.
    When I create a Powerpivot data connection to SQL server using SQL Server Authentication (unchanging read-only username and password), and checking the box to save the password, the connection works fine for refreshing the data as long as I leave the workbook
    open.
    If I close the file and re-open it, the password is gone from the data connection and the user cannot refresh the data.
    I've tried configuring the data connection with the SQL native client provider and the SQL OLEDB provider and I see exactly the same results.
    The connection string gets built with Persist Security Info=True and the Password shows up as hidden text (dots).  It stays this way through refreshes as long as the workbook is open.  However, once I close the file and re-open it, the
    connection string no longer has the Password parameter listed at all, not even as hidden text.  Persist Security Info is still there and set to True.  As might be expected, the connection string does not have the information needed to access the
    SQL Server instance.
    This type of connection string using SQL Server Authentication still works fine with the password saved when used directly as an Excel data connection, or when used as a data source in Reporting Services.  It's only Powerpivot where the password gets
    blown away.
    Is there a workaround for this issue?

    Thanks Jaynet.
    Unfortunately, the procedure described in the link you provided does not work for PowerPivot, at least in Excel 2010.
    If I create the PowerPivot data connection using "From Database/From SQL Server" there is no option to "Allow saving password".  There is only the checkbox to "Save my password".  There is an "Advanced" button that allows you to set many additional
    properties of the data connection, but there is nothing like allow saving password.
    If I create the PowerPivot data connection using "From Other Sources/Others (OLEDB/ODBC)" and then click the "Build" button, I get a dialog that is pretty close to the one in your link.  For the Provider tab, I can choose either the Microsoft OLE DB
    Provider for SQL Server or the SQL Server Native Client 10.0.  In the connection tab I do have the "Allow saving password" checkbox.  I check this and complete the rest of the data connection configuration.  After I save the file with this data
    connection and then re-open it, the data will not refresh.  If I edit the existing connection from the PowerPivot design tab, the Password parameter is completely missing from the connection string.  If I go back into the connection string builder,
    there is nothing in the password field (not even dots) and allow saving password is no longer checked.
    I've even tried creating my own connection string in Notepad and pasting it into the connection string box (definitely including Persist Security Info=True).  This does not work either and PowerPivot erases the entire Password parameter just the same
    as if I had used the builder and checked Allow saving password.
    I'm beginning to think that the previous poster, David Hager, has it right.  This may be a bug introduced with the latest version of PowerPivot.  If there is no workaround, it is a total pain for me.
    Mike Paulonis

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

Maybe you are looking for