Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have data that looks like below all in 1 table.
Horizontally, the values are not distinct.
Vertically, the values are not distinct.
1 {Title AND ID} can be in multiple rows,
1 {Title AND ID} can be in multiple columns,
AssigneeTitle1 | AssigneeID1 | AssigneeTitle2 | AssigneeID2 | AssigneeTitle3 | AssigneeID3 |
Nick M | 244 | Nick M | 244 | Nick M | 244 |
null | null | null | null | null | null |
null | null | null | null | null | null |
Nick M | 244 | Ken D | 344 | Mason W | 211 |
null | null | null | null | null | null |
null | null | null | null | null | null |
Ken D | 344 | null | null | Ken D | 344 |
null | null | null | null | null | null |
Mason W | 211 | null | null | Gary B | 225 |
How can I produce something like the following
Nick M | 244 |
Ken D | 344 |
Mason W | 211 |
Gary B | 225 |
Thank you
Solved! Go to Solution.
Hi @TimothyJames,
You can enter to query editor and do 'unpivot column' on these fields, then you can use attribute and value fields to accurately control which value is returned.
Unpivot columns - Power Query | Microsoft Docs
Regards,
Xiaoxin Sheng
Hi @TimothyJames,
You can enter to query editor and do 'unpivot column' on these fields, then you can use attribute and value fields to accurately control which value is returned.
Unpivot columns - Power Query | Microsoft Docs
Regards,
Xiaoxin Sheng
@amitchandak thanks for the reply, How do I do it if all the columns are in their own separate columns, but 1 table.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |