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
I have a set of data that needs to take several columns bring them all in to one column but also then to copy the data from the other columns that they match and copy it down.
The data initially reads like this:
Date 1 | Date 2 | Date 3 | ||||||||||
XX234 | XX235 | XX236 | XX279 | 21/11/2022 | 22/11/2022 | 23/11/2022 | ||||||
XY236 | XZ235 | YX236 | XT279 | 22/11/2022 | 26/11/2022 | 31/11/2022 | ||||||
XB234 | XB235 | XX238 | XV279 | 21/11/2022 | 24/11/2022 | 25/11/2022 | ||||||
RX244 | RX235 | YX236 | PX279 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
And it needs to ready like this
Date 1 | Date 2 | Date 3 | ||||
XX234 | 21/11/2022 | 22/11/2022 | 23/11/2022 | |||
XY236 | 22/11/2022 | 26/11/2022 | 31/11/2022 | |||
XB234 | 21/11/2022 | 24/11/2022 | 25/11/2022 | |||
RX244 | 22/11/2022 | 23/11/2022 | 23/11/2022 | |||
XX235 | 21/11/2022 | 22/11/2022 | 23/11/2022 | |||
XZ235 | 22/11/2022 | 26/11/2022 | 31/11/2022 | |||
XB235 | 21/11/2022 | 24/11/2022 | 25/11/2022 | |||
RX235 | 22/11/2022 | 23/11/2022 | 23/11/2022 | |||
XX236 | 21/11/2022 | 22/11/2022 | 23/11/2022 | |||
YX236 | 22/11/2022 | 26/11/2022 | 31/11/2022 | |||
XX238 | 21/11/2022 | 24/11/2022 | 25/11/2022 | |||
YX236 | 22/11/2022 | 23/11/2022 | 23/11/2022 | |||
XX279 | 21/11/2022 | 22/11/2022 | 23/11/2022 | |||
XT279 | 22/11/2022 | 26/11/2022 | 31/11/2022 | |||
XV279 | 21/11/2022 | 24/11/2022 | 25/11/2022 | |||
PX279 | 22/11/2022 | 23/11/2022 | 23/11/2022 |
Column 2-4 is moved down sequentially with the dates information then also copied down in to the columns to maintain the relationship.
Solved! Go to Solution.
Thanks for the help
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 |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |