Power BI supports both implicit and explicit quick measures. Internal calculations that Power BI automatically generates are implicit quick measures, while complex calculations users create are typically represented as model and Power BI quick measures. These are usually easy to change and implement.
In this guide, you’ll discover what Power BI quick measure is, and why it is important. You’ll also discover how to create a quick measure.
First…
Definition: Quick measure is used in performing calculations. They are made of Data Analysis Expressions (DAX) queries that run in the background, and the results are usually displayed in the report. Therefore, writing DAX queries in Power BI is of no use when creating quick quick measures. The calculations that are running in the background will be displayed in the report.
Quick Measure in Power BI is important for several reasons:
Here are the major differences between Measures vs Quick measures in Power BI.
Measures:
Quick Measures:
Here’s a brief overview of how to create quick measures.
From the demonstration file in File Explorer, let’s create a quick measure for the average sale in each region. Navigate to the Reports window Quick Measure, and take the steps below.
The quick measure will be added to the table by Power BI. You’ll have to select the Sales table at this stage. Since the matrix visualization has already been selected, you’ll need to click on the quick measure icon. The quick measure icon is found at the top-right side and it has a lightning bolt sign.
From the Calculation dropdown menu that shows up on the next page, choose Average Per Category. Next, expand the Sales table, and drag the Sales Amount onto the Base Value bucket. Click on the dropdown menu, and select Average (Figure B).
Figure B
Expand your customer table, and drag the Country-Region onto the Category bucket (Figure C). After that, click OK.
Figure C
From Figure D, you’ll notice that the new quick measure is added to the Sales table by Power BI. However, it won’t be displayed by Power BI until you add it.
Figure D
Before moving on, you should change the default name. Here’s how to do that:
Figure E below shows you how to add the new measure to the matrix visualization.
The new measure will most likely work in the other visualization. From Figure F, you’ll see that the quick measure updates align with any changes made. For instance, the quick measure updates to accommodate changes made when the Country-Region field is removed, and City is added. You can also shorten the name to “Average Sale.”
Stage 2: Create a Data Set and Select the Data Set to be used in the Sankey Chart.
Application Channels | Initial Screening | Conduct Interviews | Employee Onboarding | Total Candidates |
Social Media | Short Listed | Final Interview | Hired | 32 |
Social Media | Short Listed | Final Interview | Not Hired | 400 |
Social Media | Short Listed | Knocked Out | 800 | |
Social Media | Knocked Out | 1100 | ||
Company Career Page | Short Listed | Final Interview | Hired | 20 |
Company Career Page | Short Listed | Final Interview | Not Hired | 250 |
Company Career Page | Short Listed | Knocked Out | 500 | |
Company Career Page | Knocked Out | 900 | ||
Events | Short Listed | Final Interview | Hired | 5 |
Events | Short Listed | Final Interview | Not Hired | 100 |
Events | Short Listed | Knocked Out | 200 | |
Events | Knocked Out | 350 | ||
Paper Media | Short Listed | Final Interview | Hired | 3 |
Paper Media | Short Listed | Final Interview | Not Hired | 80 |
Paper Media | Short Listed | Knocked Out | 135 | |
Paper Media | Knocked Out | 700 | ||
Employee Referrals | Short Listed | Final Interview | Hired | 10 |
Employee Referrals | Short Listed | Final Interview | Not Hired | 70 |
Employee Referrals | Short Listed | Knocked Out | 80 | |
Employee Referrals | Knocked Out | 110 | ||
Direct | Short Listed | Final Interview | Hired | 25 |
Direct | Short Listed | Final Interview | Not Hired | 150 |
Direct | Short Listed | Knocked Out | 425 | |
Direct | Knocked Out | 600 |
You’ll need to right-click on the quick measure in the field plane. After that, choose the “Edit” option to modify the DAX formula.
Time intelligence calculations supported by the quick measure are the same Period Last Year, Moving Total, Previous Period Total, and Year-to-Date Total.
Quick measure in Power BI is a calculation mode that enables the user to create quick measures without the need to write DAX code. It enables faster development of reports and eases the creation process for non-experts. It also helps to ascertain that calculations across multiple reports are consistent.
Creating an attractive dashboard in Power BI involves the use of a Sankey chart, and also similar visualizations. This visualization helps to effectively evaluate data.
Power BI quick measure can serve as an educational resource for users who are learning DAX. With Power BI quick measure, users can easily take a close look at generated DAX code and figure out the underlying logic.
Now you know how Power BI quick measure works, what data will you be representing with the tool?