Link to home
Start Free TrialLog in
Avatar of Karen Schaefer
Karen SchaeferFlag for United States of America

asked on

Using PowerPivot/PowerQuery on multiple pc/users sharing the datasource connections

I have a pivot table that has multiple connections from 2 SQL database tables. I have tried multiple times to get another users pc setup so that they are able to refresh the Pivot table data. I tried with a direct ODBC connection to the SQL Tables and also Creating an .odc file placed in their "My Datasource" folder.

I tried to refresh the data connection string and it fails saying that not a valid path see administrator.

I am looking for the best solution in setting up a user so that they are able to manipulate the Pivot table. Please keep in mind that the original Pivot was created on 64bit pc and the user is 32bit, would that make a difference?
Avatar of Russell Fox
Russell Fox
Flag of United States of America image

Yes, it could be trying to use a 32-bit provider. Can you post the connection string (change passwords/usernames/servers to something random for security)?
Avatar of Karen Schaefer

ASKER

here is what is currently displayed for datasource for the 64 bit system.

Power Query Connection
let
    Source = Sql.Database("labqc1-sql.eng.mobilephone.net", "lte_lte_integration_db"),
    #"td_ALL LTE DEFECTS" = Source{[Schema="td",Item="ALL LTE DEFECTS"]}[Data]
in
    #"td_ALL LTE DEFECTS"

let
    Source = Sql.Database("labqc1-sql.eng.mobilephone.net", "tpr_qe_db"),
    #"td_ALL STATUS CONSOLIDATED DEFECTS" = Source{[Schema="td",Item="ALL STATUS CONSOLIDATED DEFECTS"]}[Data],

ODBC Connection on 32 bit:
User generated image
Connections Property:
Provider=Microsoft.Mashup.OleDb.1;Data Source=$EmbeddedMashup(6ce2e52d-021a-4d02-9b48-8a1c25a64bff)$;Location=TPR;Extended Properties=UEsDBBQAAgAIAAOE/ERoPNvEqgAAAPoAAAASABwAQ29uZmlnL1BhY2thZ2UueG1sIKIYACigFAAAAAAAAAAAAAAAAAAAAAAAAAAAAIWPQQ6CMBREr0K655e2StB8ysKtJCZE47aBCo1QDBThbi48klfQRDHu3M28vMXM43bHZGpq76q73rQ2JgwC4mmbt4WxZUwGd/IjkkjcqfysSu29ZNuvp76ISeXcZU3pOI4wCmi7kvIgYPSYbrO80o0iX9n8l31je6dsronEw3uM5MAEiDCKgC840h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bWoSwFErklEWwNn+6Eu4p605GAxtSykmC7rbTZ63qOxCXnTJ2qASW1Nnq2oEBUL2MwOAdRowda5zthjKGkLfVSZaa/R391cTfQdmn0LwqGNpKdHN9lvZd8A6p3dVVTO6mdcDa+kGHZbX6tCdrRu8fmMhoOctFv6uUXUEsBAi0AFAACAAgAA4T8RGg828SqAAAA+gAAABIAAAAAAAAAAAAAAAAAAAAAAENvbmZpZy9QYWNrYWdlLnhtbFBLAQItABQAAgAIAAOE/EQPyumrpAAAAOkAAAATAAAAAAAAAAAAAAAAAPYAAABbQ29udGVudF9UeXBlc10ueG1sUEsBAi0AFAACAAgAA4T8RNOXJ21JAgAArQUAABMAAAAAAAAAAAAAAAAA5wEAAEZvcm11bGFzL1NlY3Rpb24xLm1QSwUGAAAAAAMAAwDCAAAAfQQAAAAA

Open in new window

Have you installed Power Query on the user's machine?
yes
Gotcha. That image is just a SQL Server connection issue: I don't see where ks540x is specified as the user in the connection - is that the local user? Does that user have select access on the SQL tables used by the pivot table?
GRANT SELECT ON dbo.MyTable TO ks540x;
Also make sure the SQL server allows remote connections:
Right-click the SQL Server instance name -> Properties -> Connections -> Allow remote connections to this server
ASKER CERTIFIED SOLUTION
Avatar of Karen Schaefer
Karen Schaefer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No worries, I've certainly been there!
award points for the contributors time - solved issue