Download presentation
Presentation is loading. Please wait.
Published byClara Hunt Modified over 6 years ago
1
TechEd 2013 12/3/2018 7:58 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
PowerPivot Excel 2013 in Action
12/3/2018 7:58 PM DBI-B303 PowerPivot Excel in Action Alberto Ferrari Senior Consultant SQLBI © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Who’s Speaking? BI Expert and Consultant Founder of www.sqlbi.com
Problem Solving Complex Project Assistance DataWarehouse Assesments and Development Courses, Trainings and Workshops Book Writer Microsoft Business Intelligence Partner SSAS Maestros – MVP – MCP
4
How many of you… Are in the Business Intelligence Industry?
With the Microsoft BI stack? Work with Analysis Services 2008 R2? Know what Self-Service BI is? Already tried PowerPivot in Excel 2013? Have already used DAX? Want to hear more about BIG DATA? Use Excel?
5
What happened in the seventies?
6
1978: Visicalc changed the world
7
2009: PowerPivot was announced
Microsoft says: One day, you will say: «I was there» Alberto and Marco answer: C’mon… you are clearly joking Looks cool, but not a game changer You are pushing Excel Hell again! They need BI Professionals! What about the one version of the truth? That’s another useless tool in the BI arena
8
DAX: Data Analysis eXpressions
Programming Language SSAS 2012 Tabular PowerPivot for Excel 2012 Excel 2013 Data Model Brand new Language Technology Programming Attitude Not using it, yet? C’mon… time to start!
9
Agenda Want to learn DAX?
Sorry… one hour is not enough Really, believe me! We’ll see what benefits DAX brings to the BI world Seeing DAX in Action! Excel 2013 new features for Self-Service BI How Excel is changing the rules, again
10
The Scenario: AdventureWorks
Sells bikes all around the world Already have a data warehouse Need to perform analysis on data Build a lot of reports Share them with the colleagues Using Excel 2013
11
The Data Warehouse The data warehouse is a simple and standard one, after all we will build everything in an hour… Sales Dim Date Dim Customers Dim Products Dim Categories Dim Geography European PASS Conference 2009
12
The project in good old style
Find a good BI professional Start Visual Studio Create the solution Design dimensions and measure groups Deploy on the server We are not going to demo this You already know UDM, don’t you? Even if now it is called Multidimensional
13
Let’s Prototype in Excel
14
I Need to Count the Customers…
You want to count the customers? DimCustomer is a dimension!!! If only you told me that before… Well, don’t worry, it can be done I will create a new measure group And setup a fact-relationship with customers Not a big issue, just a couple of hours
15
I Need Just Another Count…
You want to count the buying customers? That’s a DISTINCT COUNT over the fact table! Well, yes, it can be done It’s not easy, although… I will create a new DISTINCT measure group Then I will partition the fact table Maybe review the clustered index of the fact table… Otherwise it will be slow...
16
Hey, the numbers are wrong…
Ops… I counted CustomerKey You wanted to count CustomerCode? That’s not fair to say at this point… All I need to do is Bring CustomerCode in the fact table Create a new measure group Pay an ORDER BY during processing And… please, don’t ask for any other DISTINCT COUNT!
17
Oh, well… while you are here…
Now you want to count the NEW customers??? What do you mean by that? Customers who never bought anything And are buying something now It would be interesting… Oh… well… let me search if there’s a blog post somewhere, somebody might have done it Let’s talk later about that
18
I Need Some Banding Now Analysis by Price Range?
Freely configurable? That’s not very easy at all I need to compute range during ETL That means updating the DWH structure Ops… it’s the fact table! Then add a new dimension, that’s easy
19
ABC Analysis What’s ABC Analysis? Clustering technique
Helps detecting important products Class Percentage A (few products) 70% B (some products) 20% C (many products) 10% GRAND TOTAL 100%
20
ABC Analysis Usage The ABC class is used to slice data
21
ABC Analysis with Excel
22
ABC in SQL SUM( Amount) GROUP BY Product INTO #temp
UPDATE #temp SET Percentage = RunningTotal on Product Amount / SUM( Amount ) UPDATE product SET Class = A/B/C (from #temp) SQL SQL SQL
23
ABC in MDX Process Sales cube
MDX query on Sales cube to extract ABC Class UPDATE product SET Class = A/B/C from MDX query Requires ETL or Linked Server Process Product Dimension Update Sales aggregations (ABC flexible attribute) OLAP OLAP OLAP SQL
24
Let’s build it together
25
Well, that was not easy… DAX is not easy?
Well… it is, in reality. But the solution is slightly complex to implement… You want an Excel-only solution? We can work on it… Excel 2013 makes things easier for Excel gurus Let us try it
26
I want a map chart!!! I’d like to build a report with a map
Pinpoint all the sales as coloured circles Not very useful, but looks damn good! I have seen this on a friend’s reporting system!
27
Wow… that map looks cool!
I need latitude and longitude Maybe a geography column in the DWH? Where do I start learning about it? And how do I find latitude of Rome? Not speaking about longitude… Time to bing for a solution You will need a charting component Write some code to find coordinates And finally mix everything together
28
Tabular and DAX Concepts
Simple Relational Data Model, not Dimensional Tables Relationships Calculated Columns Complex calculations stored in the data model Incredible Speed No need to change the data model Simply leverage the tremendous speed of DAX
29
Related content DBI-B225: Microsoft “Data Explorer” for Excel
12/3/2018 7:58 PM Related content DBI-B225: Microsoft “Data Explorer” for Excel DBI-B315: Querying in DAX Find me later Microsoft: pretty always O’Reilly: book signing today 18:30 Just stop me when you see me around © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
30
Resources Learning TechNet msdn http://channel9.msdn.com/Events/TechEd
12/3/2018 7:58 PM Resources Learning Sessions on Demand Microsoft Certification & Training Resources TechNet msdn Resources for IT Professionals Resources for Developers © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
31
Evaluate this session Scan this QR code to evaluate this session.
12/3/2018 7:58 PM Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub. Evaluate this session Scan this QR code to evaluate this session. © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
32
12/3/2018 7:58 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.