WELCOME Howzit Sawubona.

Slides:



Advertisements
Similar presentations
Microsoft Office Illustrated Fundamentals Unit H: Using Complex Formulas, Functions, and Tables.
Advertisements

XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. The Data Model, PowerPivot and Dashboards.
04 | Building Stellar Data Visualizations Using Power View.
You can type your own categories and points values in this game board. Type your questions and answers in the slides we’ve provided. When you’re in slide.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Using MDS to stay on Top of your Business.. The MDS-Nx Dashboard The MDS-Nx Dashboard provides key business information on your desktop. With hundreds.
XP Agenda Video Last Class Excel Tutorial 5: Working with Excel Lists Agenda for Next Class 1 New Perspectives on Microsoft Office Excel 2003 Tutorial.
Analyzing Data For Effective Decision Making Chapter 3.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
FIX Eye FIX Eye Getting started: The guide EPAM Systems B2BITS.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
Building Dashboards SharePoint and Business Intelligence.
Animal Shelter Activity 2.
Staff Module and Summary of Changes 1. Icon Changes: Page 3 Signing In and Password/Pin Changes: Page 4 Logging Out: Page 8 Staff Module Changes: Page.
Thavash Govender Senior BI Consultant iSolve Business Solutions BIN307.
Staff Module and Summary of Changes 1. Icon Changes: Page 3 Signing In and Password/Pin Changes: Page 4 Logging Out: Page 8 Staff Module Changes: Page.
Alyson Powell Erwin Sr. Program Manager Microsoft BIN307.
DAY 4,5,6: EXCEL CHAPTERS 1 & 2 Rohit January 27 th to February 1 st
Pages Appendix B: Review of ExcelChapter 3 Market Trends & Analysis IBM 320 CAL POLY POMONA IBM320 Market Trends and Analysis Maha Ghosn.
Example Materials Power BI Desktop File (4/16): 6WPbWY5UTRhaHYwdDA/view?usp=sharing.
Advanced spreadsheet tips & tricks
Elena Lazarevska, City of Boulder
Tutorial 3 Working with Formulas and Functions
An Introduction to Business Intelligence
Power BI Performance Tips & Tricks
Exploring Excel Chapter 5 List and Data Management: Converting Data to
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Microsoft Office Access 2010 Lab 2
J’s Excel 4 Pie Charts.
Queries.
Data Visualizer.
The Basics of Dashboards
Analyzing Table Data.
Leveraging BI in SharePoint with PowerPivot and Power View
7/19/2018 Data, and Metrics, and Reports! Oh, my!: Just Follow the Yellow Brick Road Presented at the CSM Symposium 2016 Andrew Brubaker strategic_data_gathering_and_dashboarding-3.pptx.
Cross UG Summit EMEA /6/2018 7:24 PM
Kanban Task Manager for Outlook ‒ Introduction
Microsoft Office Illustrated Fundamentals
Kanban Task Manager Single‒ Introduction
Create your Benner - intro
I WANT TO HOLD YOUR HAND 1ST TOP 100 SINGLE
Agenda: 10/05/2011 and 10/10/2011 Review Access tables, queries, and forms. Review sample forms. Define 5-8 guidelines each about effective form and report.
Exam Braindumps
Introduction to tabular models
Budgeting with Power Pivot
MD Online IEP System Instructional Series – PD Activity
Introduction to tabular models
MD Online IEP System Instructional Series – PD Activity #7
Database Queries.
REPORT QUERY BUILDER featuring: Report Query Viewer.
Module 13: Creating Data Visualizations with Power View
Analytics Plus Product Overview 1.
Chapter 2: Working with Formulas and Functions
Data Tables and Arrays.
Click on “PD Session Resources” to the left.
Introduction to Access
Introducing DAX July 11th, 2015.
REACH Computer Resource Center
If you are expecting … Power BI Data Modeling This session explains why data modeling is so important even if Power BI utilizes the in-memory columnar.
Guidelines for Microsoft® Office 2013
Topic 11 Lesson 1 - Analyzing Data in Access
Using Complex Formulas, Functions, and Tables
Performing Calculations on Data
Slides based on those originally by : Parminder Jeet Kaur
Microsoft Office Illustrated Fundamentals
Kanban Task Manager SharePoint Editions ‒ Introduction
Presentation transcript:

WELCOME Howzit Sawubona

PATTERNS FOR NON-NUMERIC MEASURES IN DAX WHO NEEDS NUMBERS? PATTERNS FOR NON-NUMERIC MEASURES IN DAX James McGillivray

SESSION OBJECTIVES Understand the Concept Learn the Patterns What we hope to achieve Introduction to the idea of Non-Numeric Measures; WHAT they are, WHY they are useful, and WHEN they can be used. Understand the Concept Starting with simple BOOLEAN, to complex TOP OF CATEGORY measures, learn the DAX PATTERNS used to add Non-Numeric Measures to your data models. Learn the Patterns View Non-Numeric measures in action, with DEMOS in both POWER BI and SSAS TABULAR. See the Value

How we plan to achieve it AGENDA How we plan to achieve it Presenter 1 What 2 Why 3 When 4 Single Value 5 UNDERSTAND Multiple Values 6 Table Based 7 SSAS 8 Power BI 9 Questions 10 LEARN SEE

In this slide there is a background placeholder In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. About the Presenter

FROM SOUTH AFRICA WITH LOVE About Me Professional 10 Years BI Experience Microsoft Certified SQL User Group Johannesburg, South Africa Personal Sport: Cricket, Soccer, Squash, Running Slowly. Culture: Symphony Choir of Johannesburg, Musical Theatre Other: Board Games, Poker James McGillivray / BI Architect @JamesMcG_MSBI TheJimmyRSA

What is a Non-Numeric Measure? In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. What is a Non-Numeric Measure?

WHAT IS A NON-NUMERIC MEASURE? When numbers just won’t do WHAT LEAST WHERE WHICH Measures WHO AVERAGE “..you must define a measure whenever you want to display the resulting calculation values that reflect user selections and see them in the values area of a pivot table, or the plot area of a chart..” SQLBI Y/N T/F TOTAL WHEN MOST

WHAT IS A NON-NUMERIC MEASURE? When numbers just won’t do Simple Non-Numeric Measures Complex/Custom Non-Numeric Measures Measures How to What else? “..you must define a measure whenever you want to display the resulting calculation values that reflect user selections and see them in the values area of a pivot table, or the plot area of a chart..” SQLBI Measures can accept any DAX calculation. To create a non-numeric measure, simply write a DAX calculation which returns a Non-Numeric data type. Boolean Simple to implement. Easy to understand. Date MIN and MAX both work on dates as on any numeric value. Text is not aggregate-able. Any Non-Numeric measure which returns a text value has to be custom written. It’s not yet possible to create image or media type measures. I can imagine situations in which they would add tremendous value, so hopefully one day it will be possible. A good decision is based on knowledge not on numbers

Why would I use a Non-Numeric Measure? In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Why would I use a Non-Numeric Measure?

Just because you can, doesn’t mean you should WHY WOULD I USE ONE? Just because you can, doesn’t mean you should Visualizations are wonderful, but occasionally, the real estate cost of a visual is disproportionate to the value added. Space is always at a premium REAL-ESTATE Non-Numeric Measures do not require any interpretation. Users can quickly assess the information without any possibility of misunderstanding. The Ultimate Sophistication ADAPTABLE SIMPLICITY All DAX Measures are context specific, and Non-Numeric Measures are no exception. This allows us to add tremendous value to our information delivery. Context Specific

When should I use a Non-Numeric Measure? In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. When should I use a Non-Numeric Measure?

There’s a time and place WHEN SHOULD I USE ONE? There’s a time and place Best Performers Text value indicating the best (or worst) performing item in a group. Custom KPI Boolean value representing whether a target was met or not. Reduce Interpretation Creativity is the key to success in the great and primary education where our teachers can bring creativity. Most Recent Occurrence MAX(Date) shows the most recent date on which the specified event occurred Bucketing Group values into descriptive buckets for range based measures.

Single Valued Non-Numeric Measures In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Single Valued Non-Numeric Measures

Everything should be made as simple as possible, but not simpler BASIC DAX FORMULAS Everything should be made as simple as possible, but not simpler Boolean =[Population] > 50000000 T/F Earliest Occurrence =MIN([Sales Date]) MIN Most Recent Event =MAX([Store Opening Date]) MAX

Multiple Valued Non-Numeric Measures In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Multiple Valued Non-Numeric Measures

Start and End Ranges per Bucket BUCKETING Grouping Wide Ranges of Measure Values VALUES() Wrap the calculation in a calculate function because you are using Measures for your filter CALCULATE() Hopefully  Wow Your Customers Get the distinct list Start and End Ranges per Bucket RANGE TABLE FILTER() Voila Compare to the start and end ranges by using && Return your useful, context specific, measure.

TOP (AND BOTTOM) PERFORMERS The most practical and useful of Non-Numeric Measures TOPN ({N-Value}; {Column}; {Measure}; {Sort Order}) MEASURE CAN ONLY RETURN SINGLE VALUE A measure can only return a single, scalar value, not a table. TOPN can return a table in the case of ties. Return the top {N} {Column} records based on the {Measure} sorted by the {Sort Order} TOPN SINGLE VALUES #ERROR# CONCATENATEX VALUES() CONCATENATEX ({Table}, {Column}, {Delimiter}) To use distinct values, use the VALUES() function to group on a record. Concatenate the values in the {column} in {table}, delimited by {delimiter}

Context Switching Non-Numeric Measures In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Context Switching Non-Numeric Measures

Pick the Appropriate Path CONTEXT SWITCHING Choosing Different Measures Depending on the Filter Context HASONEVALUE() HASONEFILTER() Etc. Analyze Filter Context Use Measures within Measures Pick the Appropriate Path

Non-Numeric Measures in SSAS Tabular In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Non-Numeric Measures in SSAS Tabular

DEMO

Non-Numeric Measures in Power BI In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Non-Numeric Measures in Power BI

DEMO

Questions @JamesMcG_MSBI TheJimmyRSA In this slide there is a background placeholder. Click to the small icon on the center of the slide and choose an image from computer. When add an image, you must sent it to back with Right Click on Image -> Send to Back -> Send to Back. Questions @JamesMcG_MSBI TheJimmyRSA