March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello.
I am trying to link a relationship between 1) column headers in table 1 and 2) Column in table 2. For example:
Table 1:
Date | A | B | C | D | E |
4/20/2020 | 1.98 | 9.41 | 1.57 | 14.32 | 3.02 |
4/17/2020 | 1.92 | 8.98 | 1.57 | 14.20 | 3.10 |
4/16/2020 | 1.89 | 8.74 | 1.53 | 14.12 | 3.06 |
4/15/2020 | 1.88 | 8.80 | 1.50 | 14.10 | 3.03 |
4/14/2020 | 1.90 | 8.80 | 1.48 | 13.98 | 2.98 |
4/13/2020 | 1.88 | 8.81 | 1.48 | 13.34 | 2.96 |
4/10/2020 | 1.90 | 8.98 | 1.52 | 13.10 | 2.96 |
4/9/2020 | 1.92 | 9.14 | 1.50 | 12.82 | 2.95 |
4/8/2020 | 1.89 | 8.82 | 1.45 | 12.76 | 2.95 |
4/7/2020 | 1.90 | 8.80 | 1.45 | 12.66 | 2.99 |
Table 2:
Ticker | Company name | Country |
A | AAA | United States |
B | BBB | Canada |
C | CCC | Mexico |
D | DDD | Brazil |
E | EEE | Malaysia |
How do i go about building this relationship? This is such that i can create a line graph in based on tickers in Table 1 and slice it by country for example.
Thank you
Solved! Go to Solution.
@Anonymous you have to unpivot your first table, in query editor, select date column, right click and then unpivot other columns, it will add attribute and value, and attribute will be your A/B/C...value and now you will able to set the relationship.
I would ❤ Kudos 🙂 if my solution helped. ?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous you have to unpivot your first table, in query editor, select date column, right click and then unpivot other columns, it will add attribute and value, and attribute will be your A/B/C...value and now you will able to set the relationship.
I would ❤ Kudos 🙂 if my solution helped. ?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
157 | |
97 | |
79 | |
69 |