- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CSV Second Row is the Header and Split a collum based off the tabs into multiple columns
Good day,
I receive an automated CSV file daily on a SH Document library location.
1. The first row is a general message; when importing via WEB URL from SH, how do I make the second row my header?
2. I also have a dimensional column that I want to split into multiple columns based on the row/cell number of "TAB" (Country (O TAB), Region (1 TAB), City (2 TABS)). Here is an example of the value
Collumn: Location
Row1: South Africa
Row2: "TAB" Western Cape
Row2: "TAB" "TAB" Cape Town
Please Help with any ideas
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @icassiem Try this please
Make Second Row the Header:
Remove the first row in Power Query (Remove Rows > Remove Top Rows).
Promote the second row as headers (Transform > Use First Row as Headers).
Split "Location" Column by "TAB":
Replace "TAB" with a delimiter like | (Transform > Replace Values).
Split the column by the delimiter (Transform > Split Column > By Delimiter).
Trim spaces (Transform > Trim).
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @icassiem Try this please
Make Second Row the Header:
Remove the first row in Power Query (Remove Rows > Remove Top Rows).
Promote the second row as headers (Transform > Use First Row as Headers).
Split "Location" Column by "TAB":
Replace "TAB" with a delimiter like | (Transform > Replace Values).
Split the column by the delimiter (Transform > Split Column > By Delimiter).
Trim spaces (Transform > Trim).
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
07-16-2024 12:57 AM | |||
05-09-2024 09:04 AM | |||
09-04-2024 10:26 PM | |||
08-23-2024 03:33 AM | |||
07-17-2023 07:00 AM |
User | Count |
---|---|
48 | |
38 | |
33 | |
15 | |
10 |