Introduction to Writing DAX formulas Flashcards

1
Q

What is the meaning of DAX?

A

Data Analysis Expressions

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

What three types of calculations can be added to your semantic model through DAX?

A

Calculated Tables
Calculated Columns
Measures

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

Calculated Table formula can _____ or ______

A

Duplicate or transform existing model data
Create a series of data to produce a new table.

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

Calculated table data is always imported into your model, so it increases the model storage size and can prolong data refresh time.

A

True

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

A calculated table can’t connect to external data; you need to use ______ to accomplish that task.

A

Power Query

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

Calculated tables can be useful in various scenarios:

A

Date tables
Role-playing dimensions
What-if analysis

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

____________ are required to apply special time filters known as time intelligence.

A

Data Tables

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

DAX time intelligence functions only work correctly when a date table is set up.

A

True

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

When your source data doesn’t include a date table, you can create one as calculated tables by using the ________ or ________ DAX functions.

A

CALENDAR or CALENDARAUTO

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

When two model tables have multiple relationships?

A

Role-playing dimensions

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

Microsoft Power BI models only allow ____ active relationship between tables, which in the model diagram is indicated as a _______.

A

One, solid line

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

The active relationship is used by default to _______.

A

Propagate filters

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

Any remaining relationships between the two tables are ________.

A

inactive

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

Inactive relationships are only used when they’re expressly requested in a calculated formula by using the ___________ DAX function.

A

USERELATIONSHIP

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

Allow report users to select or filter by values that are stored in the calculated table.

A

What-if parameters

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

What-if calculated tables are sometimes called __________.

A

disconnected tables

16
Q

The formula is evaluated for each table row and it returns a single value.

A

Calculated Columns

17
Q

The formula is concerned with achieving summarization over model data.

A

Measures

18
Q

Similar to a calculated column, the formula must return a single value.

A

Measures

19
Q

Unlike calculated columns, which are evaluated at data refresh time, measures are ______________. Their results are never stored in the model.

A

evaluated at query time

20
Q

Measures can be describe as ________ and _______ measures

A

Explicit and Implicit

21
Q

Columns that can be summarized by visuals in simplistic ways, like count, sum, minimum, maximum, and so on.

A

Implicit measures

22
Q

Model calculations that are written in DAX and are commonly referred to as simply measures.

A

Explicit