Chapter 4
Chapter 4
DA X F U N C T I O N S I N P OW E R B I
SUMX(
FILTER(
<table>,
<filter>),
<expression>)
SUMX(
FILTER(
<table>,
<filter>), Total Costs East
Region Total Costs
<expression>)
SUMX
Central $501,239.89
Total Costs East SUMX =
East $678,781.24 $678,781.24
SUMX(
FILTER( South $391,721.91
Fact_Orders, West $725,457.82
Fact_Orders[Region] = "East"),
Fact_Orders[Sales] - Fact_Orders[Profit])
TOTAL $2,297,200.86 $678,781.24
OR Product[Color] IN
IN { } condition {"Red", "Blue",
for each row "Gold"}
Carl Rosseel
Curriculum Manager
DAX stands for Data Analysis eXpressions
DAX formulas are used in: Context in DAX Formulas:
FILTER()
CROSSFILTER()