DAX Cookbook
eBook - ePub

DAX Cookbook

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

Greg Deckler

Partager le livre
  1. 552 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

DAX Cookbook

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

Greg Deckler

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que DAX Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  DAX Cookbook par Greg Deckler en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Data Processing. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2020
ISBN
9781839215223
Édition
1
Sous-sujet
Data Processing

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...

Table des matiĂšres