2 Calculated Columns using DAX .docx Flashcards

1
Q

What is the purpose of Calculated Columns in Power BI?

A

Add new columns to existing tables based on specific needs

Calculated Columns enhance data analysis by providing additional calculated data points.

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

What formula language is used to create Calculated Columns?

A

DAX

DAX stands for Data Analysis Expressions, a powerful formula language in Power BI.

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

What is the first step to create a Calculated Column in Power BI?

A

Access the table view

This step involves navigating to the specific table where the new column will be added.

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

What option must you select to create a new column?

A

New Column

This option can be accessed through a menu or an icon in Power BI.

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

What must be defined after naming a new column?

A

DAX formula

The formula defines the calculation that will populate the new column.

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

Fill in the blank: A common example of a calculated column is ‘DaysTakenToShip’, which uses the _______ function.

A

DATEDIFF

This function calculates the difference between two date columns.

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

What is meant by ‘Row Context’ in Calculated Columns?

A

Calculated for each row in the table

The DAX formula is evaluated independently for every single row.

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

Why is it important to ensure data types are compatible in DAX formulas?

A

To achieve the desired outcome

For example, using DATEDIFF requires date type columns.

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

What performance consideration should be taken into account when using Calculated Columns?

A

Excessive use can impact performance

Calculated Columns are stored in memory, which can affect the overall efficiency of the Power BI model.

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

When might measures be preferred over Calculated Columns?

A

For aggregations

Measures can be more efficient for certain types of analysis.

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

What types of functions are available in DAX beyond DATEDIFF?

A

Mathematical, logical, text, and date functions

These functions provide extensive capabilities for data manipulation.

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

What features does the formula bar in Power BI Desktop offer?

A

IntelliSense and syntax highlighting

These features assist users in writing DAX formulas more effectively.

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

True or False: Error handling functions like IFERROR can be used in Calculated Column formulas.

A

True

These functions help manage potential errors in the calculations.

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