From the course: Power BI Data Analyst Associate (PL-300) Cert Prep: Create Model Calculations Using DAX
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Statistical functions - Power BI Tutorial
From the course: Power BI Data Analyst Associate (PL-300) Cert Prep: Create Model Calculations Using DAX
Statistical functions
- To calculate distributions, probability, and other statistical outcomes, we use statistical functions in DAX. Let's go to our sample data. Here, we have a matrix that has category sales, and what we want to do here is look at some basic statistical functions. Functions such as median min/max are very straightforward to work with. We simply take a range or a column of data, plug it into the function, and I've done this here for median, min and max as examples for you in the solution file. So if you click on each measure, you're able to see how we're able to derive the value that is being shown in the matrix. Very simple, very straightforward, and there are some statistical functions that operate in that way. Let's look at our second example. In this scenario, what we want to rank is our sales by product category, and know which is the most profitable category. So we can easily determine this from our data,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Recap of functions2m 24s
-
(Locked)
Row and filter contexts6m 58s
-
(Locked)
Using the CALCULATE function2m 44s
-
(Locked)
Creating dates with CALENDAR and CALENDARAUTO3m 48s
-
(Locked)
Accessing related data with the RELATED function2m 22s
-
(Locked)
Overriding default relationships with functions2m 44s
-
(Locked)
Time-intelligence functions4m 37s
-
(Locked)
Statistical functions3m 48s
-
(Locked)
-
-