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
Dear all,
Is it possible to combine data from 2 below tables:
I would like to compare "First Class" data from both tables, but as you can see the dates are in headers in table2. I cant manage to pivot any od the tables in order to get the "same" picture in both of them. Any suggestions on what would be the best approch?
I would like to get data orginized like below in column "Data from Table2".
Solved! Go to Solution.
Hi @MarkoG ,
Here is your Solution.
1. First unpivot Table 2 all the date columns in query editor as shown below.
2. Now after loading, go to table section, open table 2 and change data type of attribute to date.
3. Now go to table 1 and insert new column and use below dax to lookup
If this works, please accept as solution.
you can select the first 3 column in table 2 and unpivot other tables
then in table 1 and you use merge query function
press ctrl and choose columns , you can see number beside the column headers. Make sure the sequences are matching.
then expand the column
pls see the attachment below
Proud to be a Super User!
Thank you for the help, but the other post resolved my issue in a better way. Thank you again
Hi @MarkoG ,
Here is your Solution.
1. First unpivot Table 2 all the date columns in query editor as shown below.
2. Now after loading, go to table section, open table 2 and change data type of attribute to date.
3. Now go to table 1 and insert new column and use below dax to lookup
If this works, please accept as solution.
Great, this works perfectly. Thank you for the detailed pictures and explanaition
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 46 | |
| 44 | |
| 28 | |
| 19 |
| User | Count |
|---|---|
| 202 | |
| 131 | |
| 102 | |
| 71 | |
| 55 |