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
| Brand | Year | Amount |
|---|---|---|
| Velmo | 2024 | 350,000 |
| Velmo | 2025 | 450,000 |
| Kordan | 2024 | 450,000 |
| Kordan | 2025 | 550,000 |
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.
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.