Forum Discussion
How to manipulate data as shown in Power Query
Hello everyone,
My company has provided me dumps of excel data which is in the below format,
All the records are sorted based on company but the company field is not available as you can see. I need to transform it as shown below.
| Name | Company | ID | Team | Start Date Time | End Date Time |
| Akash | ABC Software Solutions | 10 | Admin | 27/07/2021 14:04 | 26/07/2021 17:54 |
| Ani | ABC Software Solutions | 20 | Software | 27/07/2021 14:04 | 26/07/2021 17:54 |
| Shank | ABC Software Solutions | 30 | HR | 27/07/2021 14:04 | 26/07/2021 17:54 |
| Harish | ZZZ Hardware Solutions | 40 | Hardware | 27/07/2021 14:04 | 26/07/2021 17:54 |
| Harry | ZZZ Hardware Solutions | 50 | Hardware | 27/07/2021 14:04 | 26/07/2021 17:54 |
| Raj | MMM Labour Solutions | 11 | Household | 27/07/2021 14:04 | 26/07/2021 17:54 |
| Rocky | MMM Labour Solutions | 21 | Household | 27/07/2021 14:04 | 26/07/2021 17:54 |
Basically I just need to get all the company names that are provided as header to a column. Please share any idea or tips to achieve this.
Thanks,
Karthik
Anonymous
Pls see the attachment below
Anonymous see attached, tweak the step as you see fit.
✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
3 Replies
- ryan_mayuSuper User
- parry2kSuper User
Anonymous see attached, tweak the step as you see fit.
✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- AnonymousNot applicable