3 Calculated Tables Flashcards

1
Q

What are calculated tables in Power BI?

A

Derived tables from existing ones with selected columns and calculated columns.

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

Provide an example of a calculated table.

A

Creating a ‘Calculated Food Sales’ table from a ‘food sales’ table.

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

List the selected columns for the calculated table example.

A
  • Category
  • Date
  • Quantity
  • Unit Price
  • Total Price
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the calculated columns in the calculated table.

A
  • Discounted Price
  • Total Cost
  • Profit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What DAX functions are used to create calculated tables?

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

Fill in the blank: The formula for Discounted Price is _______.

A

Total Price * 0.9

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

What is the formula for Total Cost?

A

Quantity * Unit Price

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

Why are calculated tables useful?

A
  • Data Organization
  • Performance
  • Data Modeling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain the purpose of the ADDCOLUMNS function.

A

Adds new calculated columns to an existing table or table expression.

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

What does the SELECTCOLUMNS function do?

A

Creates a new table by selecting specific columns from an existing table.

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

What should be considered for DAX optimization?

A
  • Size of data
  • Complexity of calculations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False: Calculated tables are re-calculated when the data model is refreshed.

A

True

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

What is a recommended practice for error handling in calculated columns?

A

Incorporate error handling functions like IFERROR.

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

How can calculated tables be used in relation to measures?

A

They can provide more flexible and powerful analysis.

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

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

A
  • IntelliSense
  • Syntax highlighting
How well did you know this?
1
Not at all
2
3
4
5
Perfectly