Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all,
My question is below. I have two tables connected to each other with "Order" column and many-to many relationship. I want to get a new table shown as below. Is there any way to have it? I am a newbie so, if it is a dumb question, sorry about that.
Thanks in advance.
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new table.
GENERATE function (DAX) - DAX | Microsoft Learn
Expected result table =
GENERATE('Table 1', SUMMARIZE('Table 2', 'Table 2'[Operation]))
Hi @CKK
You can use Merge to achieve this effect.
Delete the Order column
Is this the result you expect?
For more details, you can read related document link: Merge queries overview - Power Query | Microsoft Learn
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @CKK
You can use Merge to achieve this effect.
Delete the Order column
Is this the result you expect?
For more details, you can read related document link: Merge queries overview - Power Query | Microsoft Learn
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new table.
GENERATE function (DAX) - DAX | Microsoft Learn
Expected result table =
GENERATE('Table 1', SUMMARIZE('Table 2', 'Table 2'[Operation]))
Hi @CKK
No need to be sorry, create three tables instead. Avoid Many to Many relationships.
Table1 unique parts
Table 2 unique operations
Table 3 Orders
Join Table1 and Table2 to Table3 using One-Many relationship.
You do not need to create a combined table, what is it you want to do with combined table?
Problems with combined table
- Additional storage.
- Slow refresh time.
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 |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |