6 DAX Expression Functions Flashcards

1
Q

What is the purpose of Time Intelligence functions in DAX?

A

To analyze trends, seasonality, and performance over time and compare data across different periods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the DAX function FIRSTDATE do?

A

Gets the first date in a period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the DAX function LASTDATE do?

A

Gets the last date in a period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the PARALLELPERIOD function?

A

To compare a period to a previous period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the SAMEPERIODLASTYEAR function return?

A

The same period from the previous year

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do the TOTALQTD and TOTALMTD functions calculate?

A

Totals for quarter-to-date and month-to-date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a moving average in DAX?

A

A calculation that averages values over a specified period

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why is having a dedicated date table important in DAX?

A

For optimal time intelligence calculations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the difference between measures and calculated columns in DAX?

A

Measures perform aggregations based on filter context; calculated columns operate on a row-by-row basis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the DISTINCTCOUNT function do?

A

Counts only unique values in a column, ignoring duplicates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between COUNT and COUNTA?

A

COUNT counts numbers; COUNTA counts non-blank values, including text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are iterator functions in DAX?

A

Functions like SUMX and AVERAGEX that perform calculations row-by-row before aggregating

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Fill in the blank: The SAMEPERIODLASTYEAR function is used to retrieve data from the _______ year.

A

previous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: COUNT function in DAX counts both numbers and text values.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What can DAX functions for time intelligence help identify?

A

Trends, forecasting future performance, and understanding KPIs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

List three examples of time intelligence functions in DAX.

A
  • FIRSTDATE
  • LASTDATE
  • SAMEPERIODLASTYEAR
17
Q

What is the function of AVERAGEX in calculating moving averages?

A

Calculates the average over a specified set of data points