DAX Cookbook
eBook - ePub

DAX Cookbook

Over 120 recipes to enhance your business with analytics, reporting, and business intelligence

Greg Deckler

Condividi libro
  1. 552 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

DAX Cookbook

Over 120 recipes to enhance your business with analytics, reporting, and business intelligence

Greg Deckler

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Solve real-world business problems by learning how to create common industry key performance indicators and other calculations using DAX within Microsoft products such as Power BI, SQL Server, and Excel.

Key Features

  • Learn to write sophisticated DAX queries to solve business intelligence and data analytics challenges
  • Handle performance issues and optimization within the data model, DAX calculations and more
  • Solve business issues with Microsoft Excel, Power BI, and SQL Server using DAX queries

Book Description

DAX provides an extra edge by extracting key information from the data that is already present in your model. Filled with examples of practical, real-world calculations geared toward business metrics and key performance indicators, this cookbook features solutions that you can apply for your own business analysis needs.

You'll learn to write various DAX expressions and functions to understand how DAX queries work. The book also covers sections on dates, time, and duration to help you deal with working days, time zones, and shifts. You'll then discover how to manipulate text and numbers to create dynamic titles and ranks, and deal with measure totals. Later, you'll explore common business metrics for finance, customers, employees, and projects. The book will also show you how to implement common industry metrics such as days of supply, mean time between failure, order cycle time and overall equipment effectiveness. In the concluding chapters, you'll learn to apply statistical formulas for covariance, kurtosis, and skewness. Finally, you'll explore advanced DAX patterns for interpolation, inverse aggregators, inverse slicers, and even forecasting with a deseasonalized correlation coefficient.

By the end of this book, you'll have the skills you need to use DAX's functionality and flexibility in business intelligence and data analytics.

What you will learn

  • Understand how to create common calculations for dates, time, and duration
  • Create key performance indicators (KPIs) and other business calculations
  • Develop general DAX calculations that deal with text and numbers
  • Discover new ideas and time-saving techniques for better calculations and models
  • Perform advanced DAX calculations for solving statistical measures and other mathematical formulas
  • Handle errors in DAX and learn how to debug DAX calculations
  • Understand how to optimize your data models

Who this book is for

Business users, BI developers, data analysts, and SQL users who are looking for solutions to the challenges faced while solving analytical operations using DAX techniques and patterns will find this book useful. Basic knowledge of the DAX language and Microsoft services is mandatory.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
DAX Cookbook è disponibile online in formato PDF/ePub?
Sì, puoi accedere a DAX Cookbook di Greg Deckler in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Data Processing. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2020
ISBN
9781839215223
Edizione
1

Processing Project Performance

Projects are carefully planned endeavors that involve one or more individuals engaging in tasks that are designed to accomplish particular aims or goals. Most organizations engage in projects in one form or another. For example, an organization may wish to redesign its website. Often, this becomes a project with specific tasks designed to ensure that the website is redesigned and deployed on time and within a specific budget. Being carefully planned, projects have an array of metrics and KPIs that project managers find critical to their role: keeping project expenses within specified budgets and reaching the goals of the project within specified timelines. This chapter is all about how to calculate many of these key metrics and KPIs. By calculating and tracking these project metrics and KPIs, project managers can identify projects at risk of exceeding specified budgets and timelines; they can also measure overall project performance.
The following is a list of recipes in this chapter:
  • Calculating utilization
  • Projecting planned value
  • Estimating earned value
  • Achieving actual cost
  • Creating project schedule variance
  • Computing project cost variance
  • Constructing burndown charts

Technical requirements

The following are required to complete all of the recipes in this chapter:
  • Power BI Desktop
  • This book's GitHub repository at https://github.com/PacktPublishing/DAX-Cookbook/tree/master/Chapter08

Calculating utilization

Utilization is the concept of comparing productive time to unproductive time. Utilization is generally expressed as a percentage and is calculated as the ratio between productive time and all productive and unproductive time. Utilization is often used in project management to determine where resources are being expended and can be helpful in finding project resources that are underutilized.
This recipe demonstrates how to calculate utilization, with productive time being categorized as billable time and unproductive time being categorized as non-billable time.

Getting ready

To prepare for this recipe, do the following:
  1. Open Power BI Desktop.
  2. Import the data from the Ch08R01Data.xlsx Excel file located in this book's GitHub repository. Ensure that the table that's created is called R01_Table.
  3. Create a table called R01_Calendar using the following formula:
R01_Calendar = CALENDAR(DATE(2019,1,1),DATE(2019,3,31))
  1. Create the following column in the R01_Calendar table:
Work Hours = IF(WEEKDAY('R01_Calendar'[Date],2) < 6,8,0)
  1. Create a relationship between the Date columns in the R01_Table and R01_Calendar tables and ensure that Cross filter direction is set to Both.
Each row in the R01_Table table represents daily hours reported by employees against various projects and tasks within those projects. Each project has a unique JobID that identifies the project and each task has a TaskID that identifies the task within the project. In addition, each employee has a PayType that identifies the employee as either an internal resource (ADMINISTRATION) or as some form of billable employee (SALARY, HOURLY, SUB-CONTRACTOR). Finally, each combination of project and task code is given a Category of either Billable or a non-billable category such as Bench, Int Admin, or PTO.
The Work Hours column in the R01_Calendar table simply d...

Indice dei contenuti