Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 @Stivl ,
using Power Query I would do this like so, two steps
Hopefully, this is what you are looking for.
Regards,
Tom
Hey @Stivl ,
using Power Query I would do this like so, two steps
Hopefully, this is what you are looking for.
Regards,
Tom
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
102 | |
99 | |
38 | |
37 |
User | Count |
---|---|
158 | |
125 | |
76 | |
74 | |
63 |