Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hi,
I have the text string as below from html table.
It has no delimiter, please help me to extrac them into columns as below:
Problem:
Contract: ABCLocation: USADate Start: 2020Date End: 2021Requester: Mr SmithCode: 01
Contract: XYZLocation: AmerciaSDate Start: 01/07/2019Date End: 01/01/2022Requester: Jim BoCode: 0100
Required solution:
Contract Requester Location
ABC Mr Smith USA
XYZ Jim Bo Amercia
I have tried this solution but my dax knowledge is limited and cant make it works.
thanks in advance.
Solved! Go to Solution.
@Anonymous Try these DAX columns:
Contract =
VAR __Start = SEARCH(" ",[Column]) + 1
VAR __End = SEARCH("Location:",[Column])
RETURN
MID([Column],__Start,__End - __Start)
Requestor =
VAR __Start = SEARCH("Requester: ",[Column]) + LEN("Requester: ")
VAR __End = SEARCH("Code:",[Column])
RETURN
MID([Column],__Start,__End - __Start)
Location =
VAR __Start = SEARCH("Location: ",[Column]) + LEN("Location: ")
VAR __End = SEARCH("Date Start:",[Column])
RETURN
MID([Column],__Start,__End - __Start)
@Anonymous Try these DAX columns:
Contract =
VAR __Start = SEARCH(" ",[Column]) + 1
VAR __End = SEARCH("Location:",[Column])
RETURN
MID([Column],__Start,__End - __Start)
Requestor =
VAR __Start = SEARCH("Requester: ",[Column]) + LEN("Requester: ")
VAR __End = SEARCH("Code:",[Column])
RETURN
MID([Column],__Start,__End - __Start)
Location =
VAR __Start = SEARCH("Location: ",[Column]) + LEN("Location: ")
VAR __End = SEARCH("Date Start:",[Column])
RETURN
MID([Column],__Start,__End - __Start)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 20 | |
| 12 | |
| 11 |