14.3A many-to-many relationship

Your management sets a sales target by brand and by year. It is stored in a “Targets” table, which does not know the products. How do you bring it together with your sales?

14.3.1When neither side is unique

Table Targets
BrandYearAmount
Velmo2024350,000
Velmo2025450,000
Kordan2024450,000
Kordan2025550,000
Table: Targets (4 rows)

This is a reproduction of the Power BI interface for teaching purposes. It differs from the real interface.

You want to relate “Targets” to Products by the brand. But Velmo appears twice in “Targets”, once per year, and twice in Products, once per model.

Neither of the two columns has unique values. Power BI then offers a many-to-many relationship, marked with a star on each side.

Tip

In a one-to-many relationship, each value on the “1” side is unique. Here, neither side is.

The rest of this lesson is part of izyDAX Pro

You have just read the first section. The next 2, their animations, the exercises and the summary are waiting for you with izyDAX Pro, in a single payment.