# What should I check before setting relationship cardinality in Power BI?

Exam: DP-600 — Implementing Analytics Solutions Using Microsoft Fabric
Knowledge domain: Implement and manage semantic models (25–30%)
Updated: 2026-11-19T05:35:30.017283+00:00
HTML: https://learningpathx.com/faq/DP-600/dp600-relationship-key-cardinality-validation.html

## Also asked as

- How do I choose relationship cardinality from the actual keys in Power BI?
- How can I validate keys before creating a Power BI relationship?

Set cardinality from the actual key behavior and business grain. Use one-to-many when the dimension-side key is unique and fact-side keys can repeat; use one-to-one only when both sides are unique and keeping two tables has a clear purpose. Many-to-many must represent a real association or grain requirement.

Before creating the relationship:

1. Profile both columns for distinct values, duplicates, blanks, and compatible data types.
2. Verify that each dimension key identifies one intended member or version.
3. Find fact keys absent from the dimension and define the intended missing-member treatment.
4. Confirm the tables' grains and the direction in which filters should travel.

If a Customer dimension contains duplicate CustomerKey values, changing the relationship to many-to-many doesn't repair the uniqueness problem. Determine whether the source has duplicates, whether a version key is required, or whether the table represents a different grain. Correct that design deliberately.

Afterward, compare the unfiltered total, a known member, an unmatched key, and two simultaneous dimension filters with controlled source results. Include subtotals and grand totals: a model that loads successfully can still have incorrect semantics.

[Microsoft star-schema guidance](https://learn.microsoft.com/en-us/power-bi/guidance/star-schema). [Many-to-many guidance](https://learn.microsoft.com/en-us/power-bi/guidance/relationships-many-to-many).

Source: [DP-600: Designing Power BI Semantic Models and Relationships in Microsoft Fabric](https://learningpathx.com/news/dp-600-designing-power-bi-semantic-models-and-relationships-in-microsoft-fabric.html)
