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
Hi,
I have 4 tables in powerbi.
Each table contains "ORDER ID" data colunm (But Order ID data colunm is having different title in all 4 table)
I need to create separate table in which distinct ORDER IDs to be shown in single colunm. Pls help with M code in powerbi query editor (not DAX)
Pls help,
Thanks in advance.
Solved! Go to Solution.
Hi @MEHUL123 ,
You can try below Query:
let
Source =
Table.FromColumns(
{
List.Distinct(
List.Combine(
{
Table1[OrderIdName1],
Table2[OrderIdName2],
Table3[OrderIdName3],
...
}
)
)
},
{"ORDER ID"}
)
in
Source
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Hi @MEHUL123 ,
You can try below Query:
let
Source =
Table.FromColumns(
{
List.Distinct(
List.Combine(
{
Table1[OrderIdName1],
Table2[OrderIdName2],
Table3[OrderIdName3],
...
}
)
)
},
{"ORDER ID"}
)
in
Source
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
20 | |
13 | |
10 | |
9 | |
7 |
User | Count |
---|---|
39 | |
27 | |
16 | |
15 | |
10 |