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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a dataset where all atributes are in one column, and all values are in a second column.
For my data to work, I now need to add a third column with the ID of those responses.
My data looks like this: (blurred for privacy)
(ID no. 2 is missing but all other numbers are sequential.)
My data has the ID of the response in the attribute field, followed by 21 lines of data before going on to the next response.
How do I create a third column of data that includes the relevant ID? How can I get this ID duplicated into a third column a certain amount of times before picking up the next ID and duplicating again (and so on.) Thank you so much!
Solved! Go to Solution.
Hey @Anonymous ,
using Power Query I would do this like so, two steps
Hopefully, this is what you are looking for.
Regards,
Tom
Hey @Anonymous ,
using Power Query I would do this like so, two steps
Hopefully, this is what you are looking for.
Regards,
Tom
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.