Advanced Reporting Options Course #E211.A

Presented by: Arnold Wheatley Shelby Contract Trainer

©2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective holders. Objective

To present a brief overview of the Power BI tools in Excel

This session presents the following topics: • What’s required • Power Query, Power View, Power Map overview • Power Pivot and Power BI Desktop • How to Enable Power BI Tools • The difference between Pivot and PowerPivot • How to use Multiple Data Sources • Manage Data Models

2 What’s all this Power stuff?

Power Business Intelligence tools are add-ins to Excel 2013 and come standard in 2016*.

• Power Query • Power View o Power Chart • Power Map • Power Pivot

*Though standard, these tools have to be enabled, and in the case of Power View, added to the Ribbon.

3 What’s Required • Office Professional 2016 • Office 2013 Professional Plus • Office 2016 Professional Plus (available via volume licensing only) • Excel 2013 standalone • Excel 2016 standalone • Excel 2010 requires a free download of the PowerPivot add-in

• NOT included in most subscription products – Office 365 Education, University, Home, Personal, Small Business Premium, Business, Business Premium, Enterprise E1 • NOT included with these perpetually licensed products – Office Home & Student (2013, 16), Home & Business (2013, 16), Mac, Android, Standard 2013, Professional 2013

4 How to Enable

• Excel 2010 – a free download is required – https://www.microsoft.com/en-us/download/details.aspx?id=43348

• Excel 2013 – Click on Files > Options – Click on Add-Ins – Select “COM Add-Ins” from the Manage dropdown; then click Go – Check “ PowerPivot for Excel 2013”; then click OK – Do the same for Power Query, Power View and Power Maps

• Excel 2016 – Click on Files > Options – Click on Add-Ins – Select “COM Add-Ins” from the Manage dropdown; then click Go – Check “Microsoft PowerPivot for Excel ”; then click OK – Do the same for Power View and Power Maps – Once enabled, you will have to add Power View to the ribbon. https://support.office.com/en-gb/article/Turn-on-Power-View-in-Excel-2016-for-Windows-f8fc21a6- 08fc-407a-8a91-643fa848729a

5 Pivot vs PowerPivot

• PivotTable has been in Excel since 1993 (Excel 5) • PivotTable is limited to 1,048,576 rows of data

• PowerPivot is quicker – uses the xVelocity engine • PowerPivot virtually removes limits on rows you can analyze (useful for Contributions information) • Power Pivot uses the DAX language to create calculated fields • Ability to import data from many different sources, including but not limited to – SQL – Azure – Oracle You can even import data by linking to a website or glean Facebook data! – Excel – Access – Csv files • Ability to relate data from many different sources and hide the complexity of the underlying database from clients.

6 Data Modeling

A Data Model allows you to integrate data from multiple tables, effectively building a relational data source inside an Excel workbook. Within Excel, Data Models are used transparently, providing tabular data used in PivotTables and PivotCharts. A Data Model is visualized as a collection of tables in a Field List, and most of the time, you never even know it’s there.

7 Data Modeling

• There are two different entrances to Data Modeling: – Using Power Query / Get and Transform – Using PowerPivot

Both give access to the same Data Model, but there are big differences between the tools available for managing Data Models.

8 Data Modeling

• 2016 - Start Data Modeling from the Data tab • Click “New Query” under the Get & Transform group

• 2013 - Click “From Database” under the Power Query Ribbon Tab

• Both versions – Click ‘Manage’ under the Power Pivot Ribbon Tab

9 Get & Transform Data Modeling

10 Get & Transform Data Modeling

At this point, you select the following tables / views

1. Cust_v_GL_AccountNumbers 2. GL_Journal 3. GL_JournalDetail 4. GL_Budget 5.TheGL_BudgetDetail only reason we need #2 & #4 is they contain relating fields between #1 & #3 plus #1 & #5.

We will later hide them from the client’s view. Select them and then click “Load”. Be patient

11 Get & Transform Data Modeling

12 Power Query / Get and Transform

• Power Query has numerous graphic tools that help you change (transform) your data; they are too numerous to itemize. • As you use them, a Query is built using the ‘M’ language • Queries are listed in the order of their creation

13 Power Query / Get and Transform

14 Transforming Data

• You will add a column that looks at the AccountNumber in the view to determine its Account Type.

• Because the column is formatted as a number, and you want to look at the beginning “number”, you need to change the column to text.

15 Transforming Data

Double Click the cust_v_GL_Account_Num bers query to open the Query Editor.

16 Transforming Data

17 Transforming Data – Adding a column

This new column becomes the basis for a ‘Slicer’

18 PowerPivot Data Models Now you switch to PowerPivot to see some differences between the two interfaces

Looking at the Menu categories, one can see there are big differences between a PivotTable and Power Pivot: TableS, RelationshipS. For those familiar with SQL, these are recognizable in their purpose.

19 Manage Data Models

Microsoft SQL Server Import data Import Microsoft SQL Azure data from MS SQL Server Parallel from an a Data warehouse external relational Import MS Access source by database data Oracle selecting from Teradata from a list of Sybase OData Informix previously Data IBM DB2 used Feed OLEDB / ODBC sources connections MS Analysis Services MS Reporting Services Report Excel File / Text Files & more!

20 Checking Relationships

To switch out of Data View, just click “Diagram View”. Hovering over the relationship arrow between tables highlights the fields involved in the relationship.

21 Hiding Tables / Fields

22 Measures / KPIs

23 Create a KPI

24 Create a PivotTable

25 Add Slicers

Slicers are the equivalent of putting these fields in the Filter box of a PivotTable.

The difference is ease of use and esthetics.

26 Results !!

27 Additional stuff

• Try adding a pivot chart from the Data Model to graphically see trends over years.

28 Power BI Desktop

• Has the same Data Modeling capability as Excel’s Power Query • Can Import Power Query queries, Power Pivot Model, and Power View worksheets • Works with both on-premises data and cloud services • Powerful reporting capabilities using the Data Model

29 Power BI Desktop

• Great Visualizations: • Bar and column charts • Layered and stacked area charts • Single number cards • Multi-row cards • Combination charts • Doughnut charts • Gauge charts • Line charts • Maps • Filled maps • Matrix • Pie charts • Scatter and bubble charts • Slicers • Standalone images • Tables • Tree maps • Waterfall charts

30 Power BI Desktop

• Content Packs – Allow subscribers to quickly connect to an account and see data through live dashboards and interactive pre-built reports • Mobile Friendly with apps for – iOS – Android – Windows

31 • Q&A

• Class Discussion – ideas for reports.

32 Arnold Wheatley Shelby Contract Trainer [email protected]

After pastoring churches in Pennsylvania and Delaware, Arnold, an ordained minister, was asked by the Headquarters Office of the PennDel District of the Assemblies of God to establish and direct its IT department. During his 19-year tenure, he was instrumental in transitioning their headquarters from a custom ChMS to Shelby HQ, Arena HQ, and ShelbyNext. Experienced with both church ministries and the unique needs of HQ offices, his desire is to help others configure and use Shelby products more efficiently. Arnold is a Shelby Trainer for all Shelby platforms.