Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Greetings!
I have raw data something similar to this.
L4,L12,L52,QTD,YTD are time periods to understand the sales momentum. I have created the output something similar to below.
Now I want to have competitor brand names (highlighted in blue in below screenshot) under each of these categories based on max sales under each of these categories. The desired output I want, should be something similar to below.
I could not bring the competitor names to the matrix. I have created a separate table with categories, brands and computed the sales value and ranks based on L4. I used =SWITCH(TRUE(),Selected time period = "L4", Lookup(brand table,rank table,1) to fetch the brands in the category but couldn't get the result. The relationship table below is for reference.
Kindly help me with this. Also kindly suggest if there is a better way to efficiently do this without creating additional tables.
Hi @Newell123456 ,
For your needs, can you provide a detailed test data model (delete sensitive information), because only know the specific field types and relationships in order to do further testing. Looking forward to your reply.
Best Regards,
Henry
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 46 |