filmov
tv
What is Primary Key , Foregin Key when to use it | what is single and both side direction

Показать описание
In Power BI, a primary key is a unique identifier that is assigned to each record in a table and distinguishes it from all other records in the same table. A primary key is typically used to establish relationships between tables and ensure data integrity within the data model.
A foreign key, on the other hand, is a field that is used to reference the primary key of another table. The foreign key establishes a relationship between two tables and allows data from the related tables to be combined and analyzed together.
Cross-filter direction refers to the direction in which a filter is applied in a relationship between two tables. There are two possible directions for cross-filtering in Power BI: "Single" and "Both".
"Single" direction means that filtering one table will only affect the data in that table and not in the related table.
"Both" direction means that filtering one table will affect both the data in that table and the data in the related table.
Cardinality refers to the number of unique values in a column of a table and the relationship between those values and the values in another column of another table. There are four types of cardinality in Power BI:
One to One (1:1)
One to Many (1:N)
Many to One (N:1)
Many to Many (N:N)
The cardinality of a relationship determines how the data from related tables will be combined and how filters will be applied between the tables.
**********FOLLOW ON**************
______________________
POWER BI
Excel formula
Pivot Table
Gyan On Tube Excel
A foreign key, on the other hand, is a field that is used to reference the primary key of another table. The foreign key establishes a relationship between two tables and allows data from the related tables to be combined and analyzed together.
Cross-filter direction refers to the direction in which a filter is applied in a relationship between two tables. There are two possible directions for cross-filtering in Power BI: "Single" and "Both".
"Single" direction means that filtering one table will only affect the data in that table and not in the related table.
"Both" direction means that filtering one table will affect both the data in that table and the data in the related table.
Cardinality refers to the number of unique values in a column of a table and the relationship between those values and the values in another column of another table. There are four types of cardinality in Power BI:
One to One (1:1)
One to Many (1:N)
Many to One (N:1)
Many to Many (N:N)
The cardinality of a relationship determines how the data from related tables will be combined and how filters will be applied between the tables.
**********FOLLOW ON**************
______________________
POWER BI
Excel formula
Pivot Table
Gyan On Tube Excel
Комментарии