Book Image

Microsoft Power BI Data Analyst Certification Guide

By : Orrin Edenfield, Edward Corcoran
5 (1)
Book Image

Microsoft Power BI Data Analyst Certification Guide

5 (1)
By: Orrin Edenfield, Edward Corcoran

Overview of this book

Microsoft Power BI enables organizations to create a data-driven culture with business intelligence for all. This guide to achieving the Microsoft Power BI Data Analyst Associate certification will help you take control of your organization's data and pass the exam with confidence. From getting started with Power BI to connecting to data sources, including files, databases, cloud services, and SaaS providers, to using Power BI’s built-in tools to build data models and produce visualizations, this book will walk you through everything from setup to preparing for the certification exam. Throughout the chapters, you'll get detailed explanations and learn how to analyze your data, prepare it for consumption by business users, and maintain an enterprise environment in a secure and efficient way. By the end of this book, you'll be able to create and maintain robust reports and dashboards, enabling you to manage a data-driven enterprise, and be ready to take the PL-300 exam with confidence.
Table of Contents (25 chapters)
1
Part 1 – Preparing the Data
6
Part 2 – Modeling the Data
11
Part 3 – Visualizing the Data
15
Part 4 – Analyzing the Data
18
Part 5 – Deploying and Maintaining Deliverables
21
Part 6 – Practice Exams

Using CALCULATE to manipulate filters

Often, we want to add to or override the filter context of a value. For that, we have the CALCULATE function. This is one of the most important functions to learn to pass the exam.

Suppose we want to create a measure that calculates the gross revenue for just our Midwest region. This will allow us to see the Midwest gross revenue. I have created the measure using the Calculate function and added it to the table we saw before.

Figure 7.5 – Using Calculate to change the context filter

Notice that our Midwest net revenue is filtered to both Midwest and Product Item Group when in the filter context.

Simple filtering

The Calculate command syntax is as follows:

CALCULATE (<measure expression>, <filter1>, <filter2>, …)

The first argument in the CALCULATE function must be an expression that returns a single value. Each filter is separated by a comma. You can have none, one, or...