Presentation is loading. Please wait.

Presentation is loading. Please wait.

April 10-12, Chicago, IL Deep Dive into PowerPivot in Office and SharePoint Diego Oppenheimer, Microsoft Kay Unkroth, Microsoft.

Similar presentations


Presentation on theme: "April 10-12, Chicago, IL Deep Dive into PowerPivot in Office and SharePoint Diego Oppenheimer, Microsoft Kay Unkroth, Microsoft."— Presentation transcript:

1 April 10-12, Chicago, IL Deep Dive into PowerPivot in Office and SharePoint Diego Oppenheimer, Microsoft Kay Unkroth, Microsoft

2 April 10-12, Chicago, IL Please silence cell phones

3 Introduction + Agenda (5 min) - Diego High level explanation of app + demo without refresh (5-10 min) - Diego Kick off refresh (5 min) - Diego How was it built: (45 min) Prereqs (Deep dive into integration between Excel Services and Analysis Services PowerPivot) - Kay Configure data model | PowerPivot Architecture | talk security? (20 min) The Timerjob (5 min) - Kay Creating the SQL database Code sample, publishing from VS Configure timerjob, Creating the webparts (5 min) - Kay Excel 2013 and the data model (15 min) - Diego Connecting to SQL db Modelling with DAX and relationships Using cubefunctions to retrieve values from data model. Agave to show Sharepoint webparts Refresh works directly from Dashboard. Publish workbook to sharepoint (2 min) - Diego Open Refresh

4 4 Goal

5 April 10-12, Chicago, IL Demo XLTweet

6 Thanks to author Aaron Meyers for permissions to reuse his original code.

7 7 SharePoint Content Database Solution Architecture Overview RS add-in PPS Web Service PowerPivot Web Service Browser Excel client Excel Calculation Services (ECS) PPS Service App RS Service App PowerPivot System Service Client Front-End Service Apps Analysi s Service s ADOMD.NET SPClien t XML/A Client MSOLAP SPClient Data Model Data Refresh Timer Job SSPM EWA PPivot App Database (WorkQ Table) Twitter Import DB Twitter Import DB XLTweet.xlsx Impor t Now Search Terms Search Terms WorkItem DataImport TimerJob WorkItem DataImport TimerJob Twitter DataImport TimerJob DataImport TimerJob Status List Twitter Data Import during Model Processing Search Terms List Search Terms List Tone Dictionary List SharePoint Work Item Queue Web Parts Power View

8 8 What we needed to get started RS add-in PowerPivot Web Service Browser Excel client Excel Calculation Services (ECS) RS Service App PowerPivot System Service Client Front-End Service Apps Analysi s Service s ADOMD.NE T SPClien t XML/A Client MSOLAP SPClient Data Model Data Refresh Timer Job SSPM EWA PPivot App Database (WorkQ Table) XLTweet.xlsx Power View

9 9 Our demo lab in Windows Azure

10 10 SharePoint Content Database What we built RS add-in PowerPivot Web Service Browser Excel client Excel Calculation Services (ECS) RS Service App PowerPivot System Service Client Front-End Service Apps Analysi s Service s ADOMD.NET SPClien t XML/A Client MSOLAP SPClient Data Model Data Refresh Timer Job SSPM EWA PPivot App Database (WorkQ Table) PPivot App Database (WorkQ Table) Twitter Import DB Twitter Import DB Xlviewer.aspx XLTweet.xlsx Impor t Now Search Terms Search Terms WorkItem DataImport TimerJob WorkItem DataImport TimerJob Twitter DataImport TimerJob DataImport TimerJob Status List Twitter Data Import during Model Processing Search Terms List Search Terms List Tone Dictionary List SharePoint Work Item Queue Web Parts Power View

11 11 What key features our solution uses Browser Interactivity and Web Parts Browser Interactivity and Web Parts Workbooks as a Data Source Office Apps Data Feed Support (List Import) Data Feed Support (List Import)

12 12 Workbooks as a Data Source RS add-in PowerPivot Web Service Browser Excel client Excel Calculation Services (ECS) RS Service App PowerPivot System Service Client Front-End Service Apps Analysi s Service s ADOMD.NE T SPClien t XML/A Client MSOLAP SPClient Data Model Data Refresh Timer Job SSPM EWA XLTweet.xlsx Power View

13 April 10-12, Chicago, IL Demo Accessing a Workbook as a DataSource

14 14 Scheduled Data Refresh Analysis Services Engine PowerPivot App Database (Work Queue and Refresh History) SharePoint Content Database SharePoint Configuration Database XLSX RDBMS Server PowerPivot System Service Excel Calculation Services PowerPivot Data Refresh Timer Job User Interface (Manage Data Refresh page) SharePoint Timer Service Secure Store Service (Refresh Credentials) Twitter

15 April 10-12, Chicago, IL Demo Running a Scheduled Data Refresh on Demand

16 Excel Services SOAP API for Refresh HttpContext.Current = null; LogStatus(currentSite, "Performing PowerPivot Workbook Refresh", "Refresh Direct"); Status[] status; ExcelService ecs = new ExcelService(this.workbookPath); string sessionId = ecs.OpenWorkbookEx(this.workbookPath, "en-US", "en-US", true, out status); CheckExcelServicesReturnValue(status); WorkbookModelInfo modelInfo = ecs.EnsureWorkbookModel(sessionId, out status); CheckExcelServicesReturnValue(status); if (modelInfo.Version == 15) { string[] workbookConnections = ecs.GetWorkbookConnections(sessionId, out status); CheckExcelServicesReturnValue(status); if (workbookConnections != null && workbookConnections.Length > 0) { ecs.RefreshEx(sessionId, workbookConnections[workbookConnections.Length - 1], null, out status); CheckExcelServicesReturnValue(status); ecs.SaveWorkbook(sessionId, out status); CheckExcelServicesReturnValue(status); } ecs.CloseWorkbook(sessionId, out status); CheckExcelServicesReturnValue(status);

17 April 10-12, Chicago, IL Demo Building the workbook

18 18

19 List Office App

20 20 Win a Microsoft Surface Pro! Complete an online SESSION EVALUATION to be entered into the draw. Draw closes April 12, 11:59pm CT Winners will be announced on the PASS BA Conference website and on Twitter. Go to passbaconference.com/evals or follow the QR code link displayed on session signage throughout the conference venue. Your feedback is important and valuable. All feedback will be used to improve and select sessions for future events.

21 April 10-12, Chicago, IL Thank you! Questions and Answers? Diamond Sponsor diego@Microsoft.comdiego@Microsoft.com Twitter: @doppenhe kayu@Microsoft.com Platinum Sponsor


Download ppt "April 10-12, Chicago, IL Deep Dive into PowerPivot in Office and SharePoint Diego Oppenheimer, Microsoft Kay Unkroth, Microsoft."

Similar presentations


Ads by Google