Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi All,
I have a scenario in which i am attempting to load a text file into Power Query. The first cell of the first column contains the column names that I need to use as headers.
How can I split the cell value by delimiter and use the resulting values as column names in Power Query?
Please assist.
Thank you!
Hello @Uday02 ,
If I have understood correctly, you can try replacing deliminator from coma to pipe "I".
Then try to load your text file. Before loading, select Custom delimeter option for pipe. You will see, column names are separated in preview: Load data.
Now, go to power query. -> Remove rows-> Remove top rows -> Remove top 1 row. -> Promote header -> rename header name.
(The top row can be removed in the source text file itself if you are allowed to)
Please let me know if this is not the desired solution.
Please provide the sample data in usable format, not as a screenshot.
User | Count |
---|---|
86 | |
75 | |
73 | |
70 | |
57 |
User | Count |
---|---|
98 | |
97 | |
92 | |
78 | |
70 |