Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I've got a table with product and starting/end date of marketing, like this :
| Product | start of marketing | End of marketing |
| Produit A | 01/01/2018 | 31/01/2018 |
| Produit A | 01/01/2019 | 31/01/2019 |
| Produit A | 01/01/2020 | 31/01/2020 |
| Produit A | 01/01/2021 | 31/01/2021 |
| Produit A | 01/01/2022 | 31/01/2022 |
| Produit B | 01/01/2018 | 31/01/2020 |
| Produit C | 01/01/2019 | 31/01/2023 |
I want to get this visualisation :
| active product | discontinued product | new product | |
| 2018 | 2 | 0 | 2 |
| 2019 | 3 | 0 | 1 |
| 2020 | 3 | 0 | 0 |
| 2021 | 2 | 1 | 0 |
| 2022 | 2 | 0 | 0 |
| 2023 | 1 | 1 | 0 |
I used a table of dates in years
I used COSSSJOIN function to obtain a table with for each year the existence of the product or not. But I cannot compare and obtain the desired variations between years (discontinued products or new products)
Solved! Go to Solution.
you can do the cross join in your measures automatically as long as you keep the tables disconnected.
see attached
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |