Solved

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

Posted on 2016-08-11
2
40 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 250 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 250 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL JOIN 6 37
SQL Inner Join Vs SubQueries 9 26
Three Dimensional Journey Map in Excel 8 28
Square brackets 4 0
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now