Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear all,
I have a set of data that contains multiple rows for a person (recording_session_label). I would like to have just one row for each user (recording_session_label) and all data related to that recording_session_label in a separate columns.
My data looks like this. However, it contains a few thousand rows.
I would really appreciate some help. Please let me know if you need further information or data sets.
Best,
JN
Solved! Go to Solution.
Thank you all for looking into this. A simple number index would be ok.
However, I could also do it manually with a pivot and copy paste. I initially thought this might be easy to code. So, no need to work on it. Thanks again
So you would have the last 8 columns repeated for as many rows that you have that are duplicated for a user?
Generally, that's not a very good idea at all. Why do you think you want to do that?
Hello Greg,
Exactly like this. I want to do some spss data analysis and need just one row for each user.
Best,
JN
Hmm, I've got nothing. @ImkeF and/or @MarcelBeug might have something.
Agree with @Greg_Deckler, this is very un-PowerBI-ish.
How shall your you new column names be? Every column needs a unique name, so do you want a simple number index for each row?
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Thank you all for looking into this. A simple number index would be ok.
However, I could also do it manually with a pivot and copy paste. I initially thought this might be easy to code. So, no need to work on it. Thanks again
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
80 | |
66 | |
62 |
User | Count |
---|---|
145 | |
111 | |
104 | |
84 | |
64 |