Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

automatically update power pivot models linked to sql database - How to?

Posted on 2016-08-11
2
Medium Priority
?
81 Views
Last Modified: 2016-08-23
So my company is using a Microsoft NAV erp (sql based system). I am responsible for carrying out analysis; mainly in excel.

I currently use power pivot models and DAX queries to aggregate and explore my data further.

However I would like my models to link automatically to the table data in sql so that my models update automatically when the sql database is updated.

My questions are as follows?

How do I link a NAV table to powerpivot
Do I have to load all the tables from sql into powerpivot or can I create a connections?
How do I link the models to the sql tables so that the update automatically? I've heard something about using Sharepoint

Thanks
Mike
0
Comment
Question by:mikes6058
2 Comments
 
LVL 7

Accepted Solution

by:
tomfarrar earned 1000 total points
ID: 41755114
How do I link a NAV table to powerpivot?

Generally, linking tables to power pivot can be done by using Manage Data Model option under the PowerPivot Tab.  Try this first.
Do I have to load all the tables from sql into powerpivot or can I create a connections?

Once the connection is made to the table via the item mentioned above, the link should remain in place so data shown in PowerPivot table is really linked data.


How do I link the models to the sql tables so that the update automatically? I've heard something about using Sharepoint

As far as automatically, not sure what you mean because manually updated the table is not difficult.  But this link may help:

https://msdn.microsoft.com/en-us/library/gg399134(v=sql.110).aspx
0
 
LVL 10

Assisted Solution

by:Marcjev
Marcjev earned 1000 total points
ID: 41758310
The only product supporting this out of the box is sharepoint, as said above.  (see https://technet.microsoft.com/en-us/library/ee210651(v=sql.105).aspx)

Another possibility would be writing an excel macro and calling the 'Sheets("sheetx").PivotTables("PivotTablex").RefreshTable method. You could run this macro automatically when opening the excel document.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question