In my previous articles we have covered configure SSAS, importing sample DB for SSAS now it is time for us to explore in-detail on how to leverage Excel services to get data from external DB.
In this article I would like to walk you through the steps to import external SQL table data.
Why we need to learn this being a SharePoint techie ????
This step / approach is really important if you want to configure BI in SharePoint so my friends I advise you to learn this process.
Open a new excel workbook and create connection to external DB by following the steps advised below. Click on Connections
a. Click on Add to create a new connection
b. Click on Browse for more
c. Click on Select new source to create a new connection string
Enter the SQL Server name as per your requirement
Without fail select “None” for excel services authentication settings. By selecting this option we are forcing SharePoint to use dedicated Target Application.
Now we have completed connecting to an external SQL server DB successfully. Now import the data and export it to SharePoint BI document library.
Follow the below set of screen shots to achieve the same:
Click on Existing connections under Data from the ribbon controls.
Select the appropriate connection string
Select AdventureWorksDW2012 from the dropdown and select DimGeography table
Select “Table” option to import the data
It will import all the data from “DimGeography” table which will look like as below:
Save the excel work book and upload it to document library of SharePoint BI site collection
Click on Refresh all the connections to fetch the latest data to ensure we have latest data:
Click on yes in the below popup to refresh / reload the data
Now to ensure that the excel services are working seamlessly, log-on as non-admin user and refresh the data.
Now let us update the data in table and replicate the same in sharepoint through excel services
Log on to SQL server and update some value in “DimGeography” table
As soon as update the text, log-in back to sharepoint BI site and refresh the data as a non-administrator
Note: The SQL update might take 10 to 15 min to replicate.
Note: To achieve this seamless progress ensure that BI service account has required access on DB
Follow the below steps to add/grant the required access to BI service account.
a. Logon to SQL Server with SQL administrator account
b. Expand logins under security and add new login
c. Add BI service account
d. Select “User Mappings” and add the required roles
Hope this helps happy development in SharePoint 2013 !!!
I am Krishna.Vandanapu a SharePoint architect working in IT from last 12 years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019
Your FREESharePoint Online Ebook is on its way to your Email Inbox. **************** You will get notification on FREE SharePoint online training, SharePoint webinars, Video Tutorial & also latest FREE PDF tutorials