Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I ve this type of records:
date=2020-07-28 time=11:35:29 user="user001" msg="Some String With Spaces" logid=100
date=2020-07-28 time=9:15:10 user="user002" msg="Another Text" logid=102
date=2020-07-27 time=10:55:23 user="user001" msg="The quick brown" logid=105
I want to split first line, and use the text before the = sign as headers and then split every row and use the text after the = sign as data. This is the expected result
date time user msg logid
2020-07-28 11:35:29 user001 Some String With Spaces 100
2020-07-28 9:15:10 user002 Another Text 102
2020-07-28 10:55:23 user001 The quick brown 105
Ane idea how to resolve this?
Solved! Go to Solution.
@BahntjeRuben
I saved your data as a text file and imported to into PBI, and did the transformation. Please check the steps and codes. This is dynamics, any # of columns and rows will work
You can download the file: HERE
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@BahntjeRuben
I saved your data as a text file and imported to into PBI, and did the transformation. Please check the steps and codes. This is dynamics, any # of columns and rows will work
You can download the file: HERE
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Must be an easier way than this but you could use Power Query:
I'm presuming "date=2020-07-28 time=11:35:29 user="user001" msg="Some String With Spaces" logid=100" is in one cell? if so,
Split by delimited "="
Then split "time", "user", "msg" and "logid" by delimited by Right most "Space".
The just remove the redundant columns and rename the remaining.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |