New to PowerPivot

Hi All,
I am new to powerpivot, I have the below structure on a SQL Server database. This is basically tracking  when a desktop was rebooted, rebooted user name, createddate (scheduled to run daily 3 times).
Based on the data below, how to create powerpivot report, there are few questions end user would be interested.
1. Top 10 Desktop rebooted over the time
2. Top 10 Rebooted user over the time
3. Top 10 offline Desktops
5. Pivot chart by selecting a server name - displays the latest uptime, how many times rebooted, who rebooted.
CREATE TABLE [Server].[DesktopActivity](
[Server_Name] [nvarchar](128) NOT NULL,
[Uptime] [varchar](50) NULL,
[RebootedUser] [varchar](50) NULL,
[CreatedDate] [datetime] NULL
) ON [PRIMARY]
ALTER TABLE [Server].[DesktopActivity] ADD  CONSTRAINT [DF_DesktopActivity_CreatedDate]  DEFAULT (getdate()) FOR [CreatedDate]
and the sample data as follows
CSR-35R5M02,9/24/2014 10:36:58 AM,NULL,2014-09-24 23:01:14.363
CSR-35J4M02,Offline,NULL,2014-09-24 23:01:41.893
CSR-34K5M02,9/24/2014 2:01:49 AM,NULL,2014-09-24 23:02:01.007
CSR-34P3M02,9/24/2014 2:01:49 AM,NULL,2014-09-24 23:02:20.117
CSR-34Q4M02,9/20/2014 11:07:01 AM,NULL,2014-09-24 23:02:39.257
CSR-35H4M02,9/24/2014 10:36:26 AM,NULL,2014-09-24 23:02:58.773
CSR-35R4M02,9/24/2014 5:11:44 PM,NULL,2014-09-24 23:03:16.230
CSR-35Z2M02,9/24/2014 8:17:00 PM,NULL,2014-09-24 23:03:39.420
CSR-3656M02,Offline,NULL,2014-09-24 23:03:59.900
CSR-3662M02,Offline,NULL,2014-09-24 23:04:20.900
CSR-3663M02,9/24/2014 10:33:01 AM,NULL,2014-09-24 23:04:28.060
CSR-36N5M02,9/24/2014 10:32:39 AM,NULL,2014-09-24 23:04:47.657
CSR-3607M02,9/24/2014 3:22:02 AM,NULL,2014-09-24 23:05:06.770
CSR-34Q1M02,Offline,NULL,2014-09-24 23:05:28.403
CSR-3626M02,9/24/2014 4:19:50 AM,NULL,2014-09-24 23:05:47.670
CSR-3642M02,9/24/2014 2:18:10 PM,NULL,2014-09-24 23:05:54.893
CSR-35C4M02,9/24/2014 5:07:41 PM,NULL,2014-09-24 23:06:04.603
CSR-36D2M02,9/24/2014 10:34:03 AM,NULL,2014-09-24 23:20:00.053
CSR-34H3M02,9/24/2014 10:34:23 AM,NULL,2014-09-24 23:20:18.190
CSR-34S6M02,9/21/2014 7:59:33 AM,NULL,2014-09-24 23:20:56.640
CSR-3615M02,9/16/2014 12:19:05 PM,NULL,2014-09-24 23:21:08.527
CSR-35D5M02,Offline,NULL,2014-09-24 23:21:25.443
CSRS-D5HKVY1,Offline,NULL,2014-09-25 07:00:40.623
CSRS-5WKKVY1,Offline,NULL,2014-09-25 07:00:49.123
CSR-34F4M02,9/24/2014 7:24:59 AM,NULL,2014-09-25 07:01:17.377
CSR-3563M02,9/25/2014 2:01:49 AM,NULL,2014-09-25 07:01:40.923
CSR-35P2M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 07:02:00.390
CSR-34Q4M02,9/25/2014 4:48:46 AM,NULL,2014-09-25 07:02:21.007
CSR-35H4M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 07:02:39.280
CSR-35R4M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 07:02:55.990
CSR-35J3M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 07:03:15.500
CSR-34H5M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 07:03:35.613
CSR-36N2M02,9/25/2014 2:01:52 AM,NULL,2014-09-25 07:03:59.180
CSR-3627M02,Offline,NULL,2014-09-25 07:04:31.133
CSR-36H1M02,9/25/2014 2:01:51 AM,NULL,2014-09-25 07:04:55.837
CSR-35G5M02,Offline,NULL,2014-09-25 07:05:19.133
CSR-3626M02,9/25/2014 4:33:55 AM,NULL,2014-09-25 07:05:36.423
CSR-34M4M02,9/25/2014 2:01:49 AM,NULL,2014-09-25 07:06:02.407
CSR-3565M02,9/24/2014 10:34:39 AM,NULL,2014-09-25 07:06:25.737
CSR-3676M02,Offline,NULL,2014-09-25 07:06:50.137
CSR-34S6M02,9/21/2014 7:59:33 AM,NULL,2014-09-25 07:07:07.180
CSR-35B4M02,9/24/2014 6:41:01 PM,NULL,2014-09-25 07:07:34.383
CSR-6K00J02,9/24/2014 4:56:26 PM,NULL,2014-09-25 07:07:58.527
CSR-34H1M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 15:07:07.943
CSR-35S1M02,9/25/2014 2:01:58 AM,NULL,2014-09-25 15:07:12.697
CSR-35D7M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 15:07:34.050
CSR-34Q2M02,Offline,NULL,2014-09-25 15:07:52.250
CSR-3686M02,Offline,NULL,2014-09-25 15:08:17.250
CSR-36C2M02,9/25/2014 10:56:55 AM,NULL,2014-09-25 15:08:39.120
CSR-36L5M02,Offline,NULL,2014-09-25 15:09:04.757
CSR-34J1M02,9/25/2014 7:12:03 AM,NULL,2014-09-25 15:09:24.123
CSR-35Y4M02,9/25/2014 2:35:30 AM,NULL,2014-09-25 15:09:44.747
CSR-3692M02,9/25/2014 2:01:50 AM,NULL,2014-09-25 15:10:03.857
CSR-34M4M02,9/25/2014 2:01:49 AM,NULL,2014-09-25 15:33:38.300
CSR-3542M02,9/25/2014 6:17:04 AM,NULL,2014-09-25 15:33:57.437
CSR-35R6M02,6/10/2014 9:05:08 AM,NULL,2014-09-25 15:34:31.080
CSR-3615M02,9/16/2014 12:19:05 PM,NULL,2014-09-25 15:34:57.917
CSR-35P4M02,9/25/2014 7:55:17 AM,NULL,2014-09-25 15:35:19.560
CSR-34S1M02,9/25/2014 2:01:48 AM,NULL,2014-09-25 23:05:13.580
CSR-3632M02,9/25/2014 4:41:10 AM,NULL,2014-09-25 23:05:34.410
CSR-35C4M02,9/25/2014 2:01:49 AM,NULL,2014-09-25 23:05:56.323
CSR-34Q7M02,Offline,NULL,2014-09-25 23:15:30.360
CSR-3542M02,9/25/2014 6:17:04 AM,NULL,2014-09-25 23:15:39.897
CSR-36H7M02,9/25/2014 9:31:06 AM,NULL,2014-09-25 23:16:06.240
CSR-35N5M02,9/25/2014 4:01:27 PM,NULL,2014-09-25 23:16:16.977
CSR-34N4M02,8/4/2014 8:00:58 AM,NULL,2014-09-25 23:16:38.230
CSR-3503M02,9/4/2014 3:03:16 PM,NULL,2014-09-25 23:16:47.820
CSR-35D5M02,Offline,NULL,2014-09-25 23:16:59.857
CSR-36F2M02,Offline,NULL,2014-09-25 23:17:13.857
CSR-6K10J02,9/25/2014 11:41:49 AM,NULL,2014-09-25 23:17:28.983
CSR-BCFQBZ1,9/26/2014 6:47:54 AM,NULL,2014-09-26 07:00:09.470
CSRS-3HYKVY1,Offline,NULL,2014-09-26 07:00:13.443
CSR-6K0YH02,9/26/2014 2:01:52 AM,NULL,2014-09-26 07:00:40.293
CSR-34R3M02,9/26/2014 2:01:54 AM,NULL,2014-09-26 07:00:50.220
CSR-34J5M02,Offline,NULL,2014-09-26 07:01:09.430
CSR-35J4M02,9/26/2014 2:01:49 AM,NULL,2014-09-26 07:01:19.130
CSR-34W3M02,9/26/2014 2:01:50 AM,NULL,2014-09-26 07:01:33.583
CSR-34K5M02,9/26/2014 2:01:49 AM,NULL,2014-09-26 07:01:38.330
CSR-34P3M02,9/26/2014 2:01:49 AM,NULL,2014-09-26 07:01:58.957
CSR-35C2M02,9/26/2014 2:01:47 AM,NULL,2014-09-26 07:02:13.427
CSR-34K3M02,Offline,NULL,2014-09-26 07:02:19.430
CSR-34H1M02,9/26/2014 2:01:52 AM,NULL,2014-09-26 07:02:39.360
CSR-35R4M02,9/26/2014 2:01:48 AM,NULL,2014-09-26 07:02:53.797
CSR-35P6M02,9/26/2014 2:01:49 AM,NULL,2014-09-26 07:02:56.250
CSR-35S4M02,9/26/2014 2:02:13 AM,NULL,2014-09-26 07:03:09.637
CSR-35Z2M02,9/26/2014 2:01:50 AM,NULL,2014-09-26 07:03:16.773
CSR-35H1M02,9/26/2014 2:01:50 AM,NULL,2014-09-26 07:03:19.150
CSR-35T4M02,9/25/2014 1:33:10 PM,NULL,2014-09-26 07:03:21.520
CSR-35M4M02,9/26/2014 2:01:50 AM,NULL,2014-09-26 07:03:27.900
CSR-34H5M02,9/26/2014 2:01:48 AM,NULL,2014-09-26 07:03:33.883
CSR-35H5M02,9/26/2014 2:01:48 AM,NULL,2014-09-26 07:03:36.360
CSR-3656M02,Offline,NULL,2014-09-26 07:03:39.930
CSR-34R7M02,Offline,NULL,2014-09-26 07:03:43.930
CSR-3653M02,9/25/2014 9:21:02 AM,NULL,2014-09-26 07:03:46.380
CSR-3652M02FORD,Offline,NULL,2014-09-26 07:03:52.587
CSR-36N2M02,9/26/2014 2:01:51 AM,NULL,2014-09-26 07:03:57.433
CSR-3663M02,9/26/2014 2:01:49 AM,NULL,2014-09-26 07:04:09.870
CSR-36C2M02,9/26/2014 2:01:50 AM,NULL,2014-09-26 07:04:14.740
CSR-36H2M02,Offline,NULL,2014-09-26 07:04:18.433
CSR-35W6M02,Offline,NULL,2014-09-26 07:04:22.433
Ganesh

Hi Greg,
I really appreciate your time to discuss it. Here are my answers.
Server name - unique key for servers.
Nope, since I run it 3 times a day it will have 3 entries for each of the server.
Uptime - I'd expect this to be a length of time since last reboot, but this is clearly not the case.
It is  datetime which is basically the last reboot time
Is this the time of the last reboot? Yes
Does offline mean it's offline at the time the row was loaded, or has been offline? Yes
How long has it been offline? There is a specific set most of the time it is offline
RebootedUser - these are all null so you cannot have top rebooteduser. Is this an error or am I missing
something? If it is NULL, the computer is offline.
CreatedDate - Is this the insert time into the table? Yes
These are all strictly greater than the dates in Uptime (I had to create a new field and remove the
'Offline' entries and cast to datetime) I don't see this field would have a Offline value.
Why do you have datetimes in a text field (Uptime)?. Because it will have either a datetime, Offline, Access
Denied.
How do I know how many time a server has been rebooted? 
From the table data, for a given period of time, if I get the distinct Uptime for each server
is the no. of times it got rebooted.
Since RebootedUser is strictly null, how do I identify top rebooted users?
It is strictly NULL only for offline computer.
Let me give clean data and we will go from there.
Thanks again for your time.
Ganesh

Similar Messages

  • PowerPivot Bridge Tables

    I have 3 tables: Customer, Address, CustomerAddress (i.e. bridge table).  What I want to do is perform a pivot table breakdown by the number of customers per State (State comes from the Address).  However, I cannot figure out how to make this
    work with the CustomerAddress bridge table.  I believe this has do be done using a DAX expression (which seems rather ridiculous and limited). I'm new at PowerPivot, but a seasoned SQL programmer, so being stuck on such a trivial item is getting really
    frustrating! Any help would be appreciated.

    I've double checked too in a simple model similar to the setup that Murali has except modelling it as a many to many and using my calc expression and it works fine for me. Are you saying that you still getting repeating values in your pivot tables?
    Are your relationships setup to look like the following?
     Customer <---  CustomerAddress ---> Address
    I'm assuming that because you have a bridge one Customer can have multiple addresses or one address can have multiple customers.
    http://darren.gosbell.com - please mark correct answers
    In agreement with Darren...
    ...the modeling of the relationship should look like this...
    ..and you should be able to slice the customer measure/calculated field by any of the columns in the address table without getting repeated values, as illustrated here...
    ...The DAX formula for 'Number of Customers' follows the same many-to-many DAX pattern that Darren has mentioned in his earlier post...
    Number of Customers:=CALCULATE(COUNTROWS(Customer), 'CustomerAddress')
    Note: I created the above example is SSAS Tabular but the behaviour will be the same in Power Pivot ;)
    Regards,
    Michael
    Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
    Website: nimblelearn.com, Blog:
    nimblelearn.com/blog, Twitter:
    @nimblelearn

  • PowerPivot "Unspeficied Error" in connecting to data source

    Hi I am a long-time heavy excel user but new to PowerPivot
    I am running Windows 7, Office 2013 32 bit, PowerPivot for Excel 2013 enabled.
    The machine is a corporate machine with heavy InfoSec controls on it
    I have Administrative rights to this machine
    Here is my problem:
    I have a local excel file on my PC I want to use as the source
    I launch PowerPivot
    Click “Manage”
    Click “Get External Data”
    Choose Excel, add the path
    Click “Test Connection” and I get an error “FAILED TO CONNECT TO THE SERVER. REASON: UNPSECIFIED ERROR”
    I have tried different files, tried to link to Access and I always get the same message.
    This is the first time I have tried to use PowerPivot on my machine
    Help please!
    It happens so fast it feels like something basic. Have not entitled PowerPivot?
    Is this an InfoSec issue?
    Is this a dumb user error in which I’m missing something obvious?
    Since there’s no error message I don’t know what it is
    I can’t find any record of this in the logs…
    Scroll Down for the error message in full
    Scroll down for a screenshot of the error
    ============================
    Error Message:
    ============================
    Unspecified error
    Failed to connect to the server. Reason: Unspecified error
    ============================
    Call Stack:
    ============================
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open(String& connectionIdentifier)
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open()
       at Microsoft.AnalysisServices.Common.DataSourceBasic.TestConnection()
       at Microsoft.AnalysisServices.Common.DataSourceBasic.ClickTestConnection(Object progressControl)
    ============================

    Please see this thread:
    Power Pivot Error Msg
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • PowerPivot Vs SSRS

    Hi,
    I am just curious to know the capabilities of PowerPivot(SharePoint) when it comes head on head with SSRS (SharePoint) . 
    I have worked extensively on SSRS but I am new to PowerPivot . 
    PowerPivot clearly wins when it comes to filters and slicers as in SSRS we have to use VB code to populate unique SPList Column values into the filter drop down. 
    However I am not able to see how PowerPivot can be used to implement  drill down or subreport functionalities as in SSRS . Is it possible to do so in PowerPivot ?
    Thanks,
    Grigory

    Yes you can :
    https://support.office.com/en-IN/Article/Add-drilldown-to-a-Power-View-chart-or-matrix-d67c5026-62f7-4766-9b22-3a8448c13ecd

  • Context Transition in CALCULATE and Clarification of Correct Terminology

    Dear Team,
    Question #1:
    If I create a Calculated Column with this aggregate calculation:
    SUM-Aggregate =SUM(PlayersTable[Salary])
    Is this a correct statement:
    “Aggregate functions are affected by Filter Context, but will ignore Row Context and will show the same aggregated number in every row of the Calculated Column.”
    Question #2:
    If I create a Calculated Column with this aggregate calculation inside the CALCULATE function:
    SUM-Aggregate-in-CALCULATE =CALCULATE(SUM(PlayersTable[Salary]))
    Are these correct statements (these are my interpretations of Alberto Ferrari’s & Marco Russo’s book MS Excel 2013 Building Data Models with PowerPivot):
    “An aggregate calculation inside CALCULATE will show just the row values not the aggregate values, and so if there is no relationship on this table, the Calculated Column will simply show the individual amounts for each row from the Salary column.”
    “Inside CALCULATE, there is no Row Context”
    “If you use only the first argument in CALCULATE, it will transform Row Context to Filter Context.”
    Question #3:
    If the three statements are TRUE from question #2, how do I make sense of them given that as a person new to PowerPivot I “see” CALCULATE returning individual row amount and thus think that CALCULATE is doing a Row Context”
    Question #4:
    If I create a Calculated Field:
    TotalSalary:=SUM(PlayersTable[Salary])
    And then create this Calculated Column:
    SUM-CalculatedField-Auto-Call-To-CALCULATE =[TotalSalary]
    Is this a correct statement:
    “The Calculated Field comes with an automatic CALCULATE function wrapped around it and so because it is in a Calculated Column it will show just the row values and not the aggregated value”.
    Sincerely, Mike "Struggling To Learn PowerPivot" Girvin

    First, a minor thing, but I'm Greg. Michael Amadi proposed my original response as an answer to the thread, but hasn't participated otherwise in the thread.
    I don't know how familiar you are with SQL, but I'll try explaining with that.
    TotalAmountCC =SUM(fSales[amount]) is roughly equivalent to the following being evaluated:
    SELECT
    f1.*
    ,TotalAmountCC = (SELECT
             SUM(f2.amount)
            FROM fSales f2
    FROM fSales f1
    Wrapping your measure in CALCULATE() changes the filter context for evaluation. 
    TotalAmountCC2 =CALCULATE(SUM(fSales[amount])) is roughly equivalent to the following
    SQL:
    SELECT
    f1.*
    ,totalcc2 = (SELECT
    SUM(f2.amount)
    FROM fSales f2
    WHERE f2.date = f1.date AND
    f2.[sales rep] = f1.[sales rep] AND
    f2.product = f1.product AND
    f2.amount = f1.amount
    FROM fSales f1
    What CALCULATE() is doing is looking at every field in the row, and then it is finding every row that matches on all fields. When you introduce a primary key, it is a logical impossibility for any two rows to have matching values for every field. Power Pivot
    does not in this case understand that a primary key exists, it is simply looking for rows where the field which happens to be called [PrimaryKey] is equal to the value of that field on the current row.
    For a more concrete example, I will look at what is happening on the first and second rows of each table for each formula.
    TotalAmountCC
    Row 1: Just take the sum of all values in the field [amount]
    Row 2: Just take the sum of all values in the field [amount]
    TotalAmountCC2
    Row 1: Create a filter context that will only consider rows where [date] = 9/3/2014 AND [sales rep] = 'joe' AND [product] = 'p1' AND [amount] = 22. Evaluating the table with respect to this filter context gives us two rows, row 1 and row 4. We then
    sum the field [amount] for these rows
    Row 2: Create a filter context that will only consider rows where [date] = 9/4/2014 AND [sales rep] = 'sindy' AND [product] = 'p2' AND [amount] = 15. Evaluating the table with respect to this filter context gives us only one row, row 2. Thus we
    evaluate the sum of the field [amount] for this one row. Doing so returns the value since adding 15 and nothing is 15
    TotalAmountCC3
    This is exactly the same as above.
    TotalAmountCC4
    Row 1: Create a filter context that will only consider rows where [PrimaryKey] = 1 AND[date] = 9/3/2014 AND [sales rep] = 'joe' AND [product] = 'p1' AND [amount] = 22. Evaluating the table with respect to this filter context gives us only one
    row, row 1, because row 4 does not match on [PrimaryKey], even though it matches on all other fields. Thus, we evaluate the sum of the field [amount] for this one row, giving us 22, the value on that row.
    Row 2: Create a filter context that will only consider rows where [PrimaryKey] = 2 [date] = 9/4/2014 AND [sales rep] = 'sindy' AND [product] = 'p2' AND [amount] = 15. Evaluating the table with respect to this filter context gives us only one
    row, row 2. Thus we evaluate the sum of the field [amount] for this one row. Doing so returns the value since adding 15 and nothing is 15.
    It is important to note that it doesn't matter that the field you added is a primary key, or that it is named [PrimaryKey]. You could have added time of day, and so long as the values are different for each row, you'd see the same behavior. Setting the table
    property of the field as a primary key will not change the behavior of CALCULATE() in this situation. The only thing CALCULATE() is doing is evaluating the function (SUM() in our case) for every row where every single field is equal to the values of that field
    for the current row.

  • Data Model won't open

    I have created a PowerPivot data model using Excel 2013.  It runs fine on my computer (the one where I built it), but will not open in other computers.  All computers have the same 64 bit version of PowerPivot 2013 and run on Windows 8.
    The primary data model table contains about 170,000 rows, 20 raw data columns, 2 calculated columns, 30 calculated fields (measures), and there are also a couple of small linked-back data tables with relationships to the primary
    table.  The data model takes approximately 5 minutes to refresh using my computer when I click 'Update All' (pertains to linked-back tables) on the PowerPivot ribbon in Excel.  99% of that 5 minutes is spent reading the data.  However the
    refresh time is not really my concern, as the data model will not open at all on any other computer.
    It might be worth mentioning that my data model utilizes the 'stdev.p' function (new to PowerPivot 2013).  However, I would not expect this to matter since all computers I am trying to run on have PowerPivot 2013.

    User, are you still looking for the answer?
    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!

  • Show counts where an account has a code(s) but not other code(s) on it

    Hi I'm fairly new to PowerPivot so I'm sure one of the experts has a good answer for this.
    We have customer accounts that have service codes attached to them…i.e customer 123 could have service code 1,2,3,4,5 etc..
    What I want to do is show counts where a customer has service code(s) but doesn't have other code(s).
    For example, maybe I want to show how many active customers have service code 1 but don't have service code 4 and 5.
    Is there a simple way I can do this?
    Also I want to create this to allow for the user to choose which codes to select to compare.
    I tried using slicers but that doesn’t seem like an option.
    This should be easy to figure out I would think but I’m struggling.
    Anyone have a recommendation to point me in the right direction?
    Thanks

    Apologies, I do not have a copy of 2010 on my computer, but here are all of the formulae:
    IncludeCount:=CALCULATE(
        COUNTROWS( VALUES( CustomerCodes[customer] ) )
        , USERELATIONSHIP( CustomerCodes[service code], IncludeCode[Include] )
    ExcludeCount:=CALCULATE( 
        COUNTROWS( VALUES( CustomerCodes[customer] ) )
        , USERELATIONSHIP( CustomerCodes[service code], ExcludeCode[Exclude] )
    Include1:=IF( [IncludeCount] - [ExcludeCount] > 0, 1, 0 )
    CustomerCount:=SUMX(
        VALUES( CustomerCodes[customer] )
        , [Include1]
    And here are the tables I've got:
    CustomerCodes:
    customer
    service code
    1
    1
    1
    2
    1
    3
    1
    4
    2
    1
    2
    3
    3
    4
    3
    5
    3
    6
    4
    6
    IncludeCode
    Include
    1
    2
    3
    4
    5
    6
    ExcludeCode
    Exclude
    1
    2
    3
    4
    5
    6
    Relationships
    Active
    Table
    Related Lookup Table
    No
    CustomerCodes [service code]
    IncludeCode [Include]
    No
    CustomerCodes [service code]
    ExcludeCode [Exclude]
    This should be everything you need to recreate exactly what I've done and then apply it to your model.

  • Sum the value of look up table based on two filter criteria

    Hello Everyone
    I am new to Powerpivot and would appreciate if someone could help me on the following problem.
    You can download the example of this excel file form the following DropBox link:
    Dropbox Link
    The first table is tOrders
    Week number
    Work center
    order number
    Production time in minutes
    2
    a
    111
    60
    2
    a
    112
    70
    2
    b
    113
    60
    3
    b
    114
    50
    3
    a
    115
    40
    3
    b
    116
    60
    4
    a
    117
    90
    4
    b
    118
    40
    The second is dLookupList
    Week number
    Work center
    mantenace in minutes per week
    Break dows in minutes per week
    2
    a
    10
    10
    2
    b
    20
    5
    3
    a
    15
    12
    3
    b
    30
    10
    4
    a
    20
    10
    4
    b
    10
    10
    I’m trying to create Pivot that has filter on Week number to show the number of orders, Sum of Production time in minutes and the total of the values form the lookup table dLookupList that matches the work center and the selected week
    numbers. So that I can calculate the total time for each work center.  Filter criteria is Week number and Work center.  
    For example if someone select all weeks numbers the result sould look like this
    Week number
    (All)
    Work center
    Count of order number
    Sum of Production time in minutes
    mantenace in minutes per week
    Break dows in minutes per week
    Total time
    a
    4
    260
    45
    32
    337
    b
    4
    210
    60
    25
    295
    Grand Total
    8
    470
    Result for week 2
    Week number
    2
    Work center
    Count of order number
    Sum of Production time in minutes
    mantenace in minutes per week
    Break dows in minutes per week
    Total time
    a
    2
    130
    10
    10
    150
    b
    1
    60
    20
    5
    85
    Grand Total
    3
    190
    How can I relate these two tables to get the above result?
    Any help is highly appreciated.
    Regards
    Priyan

    Hi Recio
    Thank you very much for the swift response. I was able to get it work.
    I got two questions:
    How do you add a total time column to the pivot table like you did? Because there are no calculated field in power pivot.
    I prefer that the filter is based on the Orders table. So that if you select all Week numbers in the filter, that pivot will show result for all orders and relevant sums from the lookup list.
    Link download the example file
    For example: I add Week number 5 to the work center “a”
    Week number
    Work center
    WNandWC
    mantenace in minutes per week
    Break dows in minutes per week
    2
    a
    WN2WCa
    10
    10
    2
    b
    WN2WCb
    20
    5
    3
    a
    WN3WCa
    15
    12
    3
    b
    WN3WCb
    30
    10
    4
    a
    WN4WCa
    20
    10
    4
    b
    WN4WCb
    10
    10
    5
    a
    WN5WCa
    1
    1
    In the orders table there are no records for week number 5
    Week number
    Work center
    WNandWC
    order number
    Production time in minutes
    2
    a
    WN2WCa
    111
    60
    2
    a
    WN2WCa
    112
    70
    2
    b
    WN2WCb
    113
    60
    3
    b
    WN3WCb
    114
    50
    3
    a
    WN3WCa
    115
    40
    3
    b
    WN3WCb
    116
    60
    4
    a
    WN4WCa
    117
    90
    4
    b
    WN4WCb
    118
    40
    4
    a
    WN4WCa
    119
    50
    But the pivot sums up the week number 5 also.
    Do you have any idea how to solve it?
    Thank you very much.
    Regards
    Priyan

  • Subtotals - sum of average column

    Hi,
    I am new to PowerPivot so please excuse me if this is a stupid question.  I have a pivot table that uses a SQL view as its data source.  The pivot table looks like this:
    Price = average
    Qty = sum
    Value = sum
    Budget = average
    The way the view has been written the budget figure is given to grouping Customer + Product + MonthYear.  So, if I drop it into the pivot table as an average it comes up correctly.  The problem for me is that I want to turn on subtotals
    and get the sum of the average'd budget lines in the rowgroup above.  I have read that I can do this with PowerPivot by createing measures.  I guess my question really is "How do I use a measure in place of a subtotal in a pivot table
    report - how would I drag and drop it into place so it repeats as a subtotal would?"  The next question would be how would I write this measure?
    TIA

    Hi Julina,
    I had seen those threads before but didn't quite understand them.  I have got it now.  This is the formula that I have come up with, but I still get the averages of the averages, and not the sum of the averages:
    IF(COUNTROWS(VALUES(vwComprehensiveDeliveries_YRN[CustomerName]))>1,
    SUMX(
    SUMMARIZE(
    vwComprehensiveDeliveries_YRN,
    vwComprehensiveDeliveries_YRN[CustomerName],
    vwComprehensiveDeliveries_YRN[Product],
    vwComprehensiveDeliveries_YRN[BL_Year],
    vwComprehensiveDeliveries_YRN[BL_Qtr],
    vwComprehensiveDeliveries_YRN[BL_Month],
    "Customer Subtotal", AVERAGE(vwComprehensiveDeliveries_YRN[BudgetValue])
    [Customer Subtotal])
    AVERAGE(vwComprehensiveDeliveries_YRN[BudgetValue])
    I have tried it with only grouping SUMMARIZE by CustomerName, and combinations of the ones you see above. What have I done wrong?
    Thanks,
    C

  • Missing "Switch to advanced mode"

    I'm missing the Advanced tab in PowerPivot, and the option to switch on advanced mode is not there either. I've checked and downloaded the right version (32-bit), so there shouldn't be any problems. Does anyone have any idea how to fix this?

    I'm using the 10.50.4000.0.
    That's an old version of Power Pivot, build 10.50 = SQL Server 2008 R2. The advanced tab was irst introduced in PP SQL Server 2012 = build 11.00, as in my screenshot; see
    What's New in PowerPivot SQL Server 2012.
    You can download the new version for Excel 2010 here:
    Microsoft® SQL Server® 2012 SP1 PowerPivot for Microsoft Excel® 2010
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SharePoint PowerPivot feature failing after site collection was backed up and restored (moved to new content database)

    Hi there,
    I am having some strange issue with my PowerPivot for SharePoint but can't figure out what is causing this. Here is what happened:
    I setup PowerPivot (PP) for SharePoint and activate it on few site collections in production environment; I upload a PP workbooks in a library, manage the data refresh schedules, run the data refresh for an external SQL databases, etc. Everything works
    fine for several days.
    One day we decide the move one of the site collections (X) from its current content database to its own (new) content db. The way we did it is that we took the site collection backup in production, restored it in test environment (in its own content
    db; we deleted the old site collection in test first before restoring), checked everything including PP data refreshes etc.; all worked fine.
    Then we did the same thing in production - we deleted the old site collection X, restored the site collection from the same backup file that we used in test environment, everything works fine EXCEPT the PowerPivot refreshes!! :-(
    I am getting these errors: When I click on the workbook, it gives this error "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh: PowerPivot Data"
    When I click OK on error dialogbox, it opens the workbook fine but no slicers/refreshes work now. When I go back to the library and click on "Manage PowerPivot Data Refresh" to open the refresh history/schedule page, it gives this generic but scary
    error: "An unexpected error has occurred. Troubleshoot issues with Microsoft SharePoint Foundation." ULSViewer or Event viewer is not showing anything related to this error!
    Strange thing is that PP refresh works fine in Test environment, as well as on other site collections in production that we didn't touch (which tells me there is nothing wrong with my PP configuration). Did the backup/restore in prd cause anything? Did moving
    it in its own contentdb cause anything? (But then why it works in test environment?) Is there anything wrong with site collection PP feature? Can force reactivating it help??????? I am just lost and going crazy now!
    Please help.
    Asif

    I have found some entries in ULS logs seemingly relevant to this issue as below: Please help. Thanks.
    Note: I have replaced urls with <url> or <server> and username with "domain\user".
    ExternalSource.GetExternalKeyAndStateAndMarkUsed: Populating the session's credentials for external data. Index=0, Credentials=[14337250,
    domain\user]
    ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://<url>/SQL_PowerPivotTest.xlsx, Version=Monday, 09 September 2013 06:29:42
    Check whether "http://<url>/SQL_PowerPivotTest.xlsx" is in the farm.
    Connecting to "http://<server>/_vti_bin/PowerPivot/Redirector.svc/?DataSource=/team/IT/SiteCollectionDocuments/SQL_PowerPivotTest.xlsx&LocaleID=1033".
    WcfSendRequest: RemoteAddress: 'http://<server>:32843/0a4610a7f75f4ff582ca7329256f0fe3/SSASMidTierService.svc' Channel: 'Microsoft.AnalysisServices.SharePoint.Integration.IGeminiServiceApplicationClient'
    Action: 'http://tempuri.org/IGeminiServiceApplication/GetDatabase' MessageId: 'urn:uuid:44f67e36-7ec2-4fe8-bd4c-277c9d9ddde7'
    WcfReceiveRequest: LocalAddress: 'http://<server>:32843/0a4610a7f75f4ff582ca7329256f0fe3/SSASMidTierService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel'
    Action: 'http://tempuri.org/IGeminiServiceApplication/GetDatabase' MessageId: 'urn:uuid:44f67e36-7ec2-4fe8-bd4c-277c9d9ddde7'
    Entering monitored scope (ExecuteWcfServerOperation)
    Obtaining routing information for the request using <SERVER> - User:domain\user, DataSource: http://<url>/SQL_PowerPivotTest.xlsx,
    Version: 09/09/2013 06:29:42. (RequestStartTime=[<SERVER>])
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=10.7664521608193
    EXCEPTION: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unable to find the specified file. (Fault Detail
    is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileNotFoundException: Unable to find the specified file.  
     at Microsoft.SharePoint.SPFile.EnsureUniqueId()   
     at Microsoft.SharePoint.SPFile.get_UniqueId()   
     at Microsoft.AnalysisServices.SharePoint.Integration.Redirector.BackendRedirectService.GetDatabase(String loginName,
    String dataSource, String versionLabel, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceApplication.GetDatabase(String loginName, String
    dataSource, String dataSourceVersion, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at SyncInvokeGetDatabase(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at Sy...).
    Proxy encountered an error while trying to get the sandbox information. This request will be terminated
    EXCEPTION: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Unable to find the specified file. (Fault Detail
    is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileNotFoundException: Unable to find the specified file.  
     at Microsoft.SharePoint.SPFile.EnsureUniqueId()   
     at Microsoft.SharePoint.SPFile.get_UniqueId()   
     at Microsoft.AnalysisServices.SharePoint.Integration.Redirector.BackendRedirectService.GetDatabase(String loginName,
    String dataSource, String versionLabel, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at Microsoft.AnalysisServices.SharePoint.Integration.GeminiServiceApplication.GetDatabase(String loginName, String
    dataSource, String dataSourceVersion, DateTime fileLastModifiedTimestamp, Int32 localeId, Boolean collectHeathInfo, Boolean createLocal, String serverEndpointAddress)   
     at SyncInvokeGetDatabase(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at Sy...).
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA
    PF_CHECK_ERROR returned 'hresult error' 0x80040e41 ; Stack Trace:NA
    ConnectionManager.GetConnection: Failed to create new connection, exception=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.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    connectionString=Provider=MSOLAP.4;Persist Security Info=True;Initial Catalog=Microsoft_SQLServer_AnalysisServices;Data Source=$Embedded$;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Optimize Response=3;Cell Error Mode=TextValue pool
    count=0
    ConnectionManager.GetConnection: Caught an exception: 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.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest
    connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList&
    connectionList)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest,
    ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'PowerPivot Data' in the workbook 'http://<url>/SQL_PowerPivotTest.xlsx'.
    [Session: 1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N User: 0#.w|domain\user]
    ExternalSource.ValidateConnection: Unable to get a connection: 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.Interop.ConnectionInterop.InitConnection()   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass3.<CreateConnection>b__0()   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod
    method, Boolean dispose)   
     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean
    dispose)   
     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod
    method)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials,
    ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest
    connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList&
    connectionList)   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest,
    ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, Credentials
    credentials, ExtendedConnectionInfo extendedConnectionInfo, Boolean shouldReportFailure, Boolean auditConnection, Connection& connectionOut). sessionId=1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N,
    externalSource=PowerPivot Data
    ConnectionInfoManager.InitConnInfoFromOdcFile: ODC File Uri is not valid:
    ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException:
    Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.   
     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String
    externalSourceName, Int32 externalSourceIndex, Boolean& shouldReportFailure)   
     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo,
    ExternalSourceStateInfo prevExternalSourceStateInfo, Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOperation, Boolean verifyPreOperationConnection), Data Connection Name:
    PowerPivot Data, SessionId: 1.V24.1916ClMR0rOQ1F8mQPqtil0V90.5.en-US5.en-US73.-0600#0000-04-00-01T03:00:00:0000#+0000#0000-10-00-01T02:00:00:0000#-006036.7dcb49ef-0dc4-45d2-a0f8-4dc0e18a70f41.N, UserId: 0#.w|domain\user

  • New-PowerPivotServiceApplication : The PowerPivot System Service does not exist in the farm

    PS C:\Users\_svc_admin> New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseServerName $DatabaseServer -DatabaseName $DatabaseName -AddtoDefaultProxyGroup:$true
    New-PowerPivotServiceApplication : The PowerPivot System Service does not exist in the farm. At line:1 char:1
    + New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseS ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Analy...viceApplication:
       NewPowerPivotServiceApplication) [New-PowerPivotServiceApplication], Gemin
      iException
        + FullyQualifiedErrorId : Microsoft.AnalysisServices.SPAddin.PowerShell.Ne
       wPowerPivotServiceApplication
    Installation created these files on (14\TEMPLATE\SQL) different folder than
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\SQL
    PowerPivotDbLogic.sql
    PowerPivotDbSchema.sql
    I copied the files to the correct location and it works

    PS C:\Users\_svc_admin> New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseServerName $DatabaseServer -DatabaseName $DatabaseName -AddtoDefaultProxyGroup:$true
    New-PowerPivotServiceApplication : The PowerPivot System Service does not exist in the farm. At line:1 char:1
    + New-PowerPivotServiceApplication -ServiceApplicationName $AppPoolName -DatabaseS ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Analy...viceApplication:
       NewPowerPivotServiceApplication) [New-PowerPivotServiceApplication], Gemin
      iException
        + FullyQualifiedErrorId : Microsoft.AnalysisServices.SPAddin.PowerShell.Ne
       wPowerPivotServiceApplication
    Installation created these files on (14\TEMPLATE\SQL) different folder than
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\SQL
    PowerPivotDbLogic.sql
    PowerPivotDbSchema.sql
    I copied the files to the correct location and it works

  • Excel 2010 analyzing in another workbook using PowerPivot. Update in the source workbook (insert a new column) doesn't show

    Excel 2010 workbook (A).
    Analyzing in another workbook (B) using PowerPivot.
    After a column insert in the source workbook (A) that update is not shown in the updated table in workbook (B)
    I can however have an updated table in (B) if I define a new connection. But that is in another tab then.
    So How to update the  data that is input to the pivot tables using the "old" connection (connection to A)

     Linked tables must reference Excel
    data found in a separate Excel window within
    the same PowerPivot workbook.

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

  • 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

Maybe you are looking for

  • Trying to synch iphone

    Whenever I try to sync my iphone to my computer I get: "This computer has previously been synced with an iphone or another iOS device. (  ) Set up as a new iPhone (  ) Restore from the backup of iphone I don't want to lose any of my photo, music, etc

  • Itunes won't sync my new songs into my iphone 4s

    I would like to know why one of the last itunes updates won't let me sync music into my iphone 4, instead it added music I don't want and I looked for these songs on my itunes library so I could delete them hoping this would this would fix the proble

  • File-RFC_File Scenario - single message got processed twice.

    Hi all, I have a file-RFC-File scenario in which the reponse from ECC is written using adapter modules.Today one message got processed twice into SAP.When i checked FIle Receiver adapter in CC monitoring i could see the error given below: 2010-11-16

  • Ok, does anyone know the correct way to do this

    Hi all would someone beable to explain the correct way of attaching dynamic text to a rotaing menu so that the text moves with the image as it rotates, I am now being told that in order to have dynamic text rotate/move I have to embed the font, by pl

  • Same cover for 2 differents sigle..

    Hi, I'm using iTunes 9.0.3 on Windows XP SP3. I have 2 different singles with their own coverage, but iTunes display the same coverage. How do I view their own coverage? Surely with the sorting options but I can not ^ ^ Thank you in advance.