2 Cardinality Flashcards

1
Q

What is the importance of relationships in Power BI?

A

Relationships ensure data integrity by enforcing referential integrity, enabling data exploration from multiple tables, and providing the basis for interactive filtering and slicing in reports.

Relationships allow users to drill down into data and answer specific questions.

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

Define ‘One-to-Many’ cardinality in the context of Power BI.

A

One row in Table A can be related to many rows in Table B, but each row in Table B is related to only one row in Table A.

This concept can also be viewed from the perspective of ‘Many-to-One’.

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

Give an example of ‘One-to-Many’ cardinality.

A

One customer can have many orders.

This illustrates how a single entity (customer) can relate to multiple instances of another entity (orders).

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

Give an example of ‘One-to-One’ cardinality.

A

One employee has one employee ID.

This shows a unique relationship between two entities.

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

Give an example of ‘Many-to-Many’ cardinality.

A

One student can enroll in many courses, and one course can have many students.

This demonstrates the complexity of relationships in data modeling.

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

What is the ‘Both’ cross-filter direction in Power BI?

A

The ‘Both’ direction allows filtering to occur in both directions between related tables.

While useful, it can impact performance with large datasets.

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

What is generally recommended regarding cross-filter direction?

A

‘Single’ direction is generally recommended unless bidirectional filtering is absolutely necessary.

This helps maintain performance and clarity in data relationships.

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

What is the significance of the Relationship View in Power BI?

A

The Relationship View is important for visualizing and managing relationships between tables.

It provides a clear overview of how data is interconnected.

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

What is the autodetect feature in Power BI?

A

The autodetect feature helps identify and create relationships automatically between tables.

While beneficial, it has limitations and may not always produce the desired relationships.

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

How can existing relationships in Power BI be edited?

A

Existing relationships can be edited by changing cardinality and cross-filter direction.

This allows for customization based on data requirements.

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

What are some data modeling best practices in Power BI?

A

Best practices include using descriptive column names, ensuring data consistency, and using a star schema (fact table and dimension tables).

These practices enhance clarity and usability in data models.

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

Fill in the blank: Relationships in Power BI enable users to ______ data from multiple tables simultaneously.

A

explore

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

True or False: ‘Many-to-One’ and ‘One-to-Many’ cardinalities are different.

A

False

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