From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
DIVIDE DAX function - Power BI Tutorial
From the course: Advanced Power BI: DAX Language, Formulas, and Calculations
DIVIDE DAX function
- [Instructor] Another powerful DAX function is the DIVIDE function, which works very similarly to divide operator as a forward slash, except it gives us the option to add an alternative result for an undefined calculation. This function also makes division calculations cleaner and easier to read. Furthermore, it also has a better performance in DAX models than the division operator because it leverages the built-in efficiencies of Power BI. There are three parts to the DIVIDE function. The first part is the numerator. The second part is the denominator. And the third part is the alternative result for the measure to return if the numerator divided by the denominator returns an undefined result. The payment amount is going to be the same for each month in the loan model we're building in Power BI, assuming that we have a fixed interest rate over the entire course of the loan, which we do. The payment amount equals…
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
-
-
-
-
-
ALL DAX function5m 2s
-
(Locked)
POWER DAX function5m 37s
-
(Locked)
DIVIDE DAX function6m 22s
-
(Locked)
Variables in DAX formulas7m 4s
-
(Locked)
Iterator DAX functions and SUMX7m 9s
-
(Locked)
FILTER DAX function7m 15s
-
(Locked)
Challenge: Rate of change by commodity55s
-
(Locked)
Solution: Rate of change by commodity2m 37s
-
-
-