5 DAX Functions Flashcards

1
Q

What is the primary difference between DAX and Excel functions?

A

DAX functions work with tables and columns, not individual cells.

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

Where do DAX functions operate?

A

On the data within your Power BI data model, which can include multiple tables with relationships.

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

What is crucial for writing DAX expressions?

A

Correct syntax.

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

What features does the DAX editor in Power BI Desktop offer?

A

IntelliSense, syntax highlighting, and formula validation.

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

What does the function ISBLANK do?

A

Checks if a value is blank.

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

What does the function ISERROR do?

A

Checks if an expression results in an error.

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

How do iterator functions work in DAX?

A

By iterating over each row in a table and performing a calculation on that row.

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

Name three examples of iterator functions.

A
  • RANKX
  • FILTER
  • COUNTROWS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the YEAR function do?

A

Extracts the year from a date.

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

What does the MONTH function do?

A

Extracts the month from a date.

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

What does the DAY function do?

A

Extracts the day from a date.

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

What does the NOW function return?

A

The current date and time.

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

What does the EOMONTH function return?

A

The last day of the month.

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

What does the FIND function do?

A

Finds the position of a text string within another text string.

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

What does the REPLACE function do?

A

Replaces part of a text string with another text string.

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

What does the TRIM function do?

A

Removes leading and trailing spaces from a text string.

17
Q

What does the UPPER function do?

A

Converts all characters in a text string to uppercase.

18
Q

What does the AVERAGE function calculate?

A

The average of a set of values.

19
Q

What does the COUNT function do?

A

Counts the number of rows in a table or non-blank values in a column.

20
Q

What does the DISTINCTCOUNT function do?

A

Counts the number of distinct values in a column.

21
Q

What does the ROUND function do?

A

Rounds a number to a specified number of digits.

22
Q

What does the TRUNC function do?

A

Truncates a number to an integer.

23
Q

What does the INT function return?

A

The integer portion of a number.

24
Q

What do information functions provide information about?

A

Values, columns, or tables.

25
Q

Give an example of an information function.

A
  • ISNUMBER
  • ISTEXT
  • HASONEVALUE
26
Q

What do filter functions do?

A

Filter tables and return a subset of data.

27
Q

Name three examples of filter functions.

A
  • FILTER
  • ALL
  • ALLEXCEPT
28
Q

What do table manipulation functions work with?

A

Entire tables.

29
Q

Name three examples of table manipulation functions.

A
  • UNION
  • INTERSECT
  • EXCEPT