Forum Discussion
Xlookup from string
- Anonymous1 year ago
Thank you uzuntasgokberk
Hi, danishwahab
You can do this in Power Query in Power BI. Here are the detailed steps:
First I have the following dataset:
To open the Advanced Editor:
Copy the following M code into the Advanced Editor:
ExtractText = Table.AddColumn(#"Changed Type", "Extracted Text", each Text.BetweenDelimiters(_[State],Text.From( _[Raw Data Value]) & "=",";"))The results are as follows:
I have uploaded the PBIX file I used for this post below.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you uzuntasgokberk
Hi, danishwahab
You can do this in Power Query in Power BI. Here are the detailed steps:
First I have the following dataset:
To open the Advanced Editor:
Copy the following M code into the Advanced Editor:
ExtractText = Table.AddColumn(#"Changed Type", "Extracted Text", each Text.BetweenDelimiters(_[State],Text.From( _[Raw Data Value]) & "=",";"))
The results are as follows:
I have uploaded the PBIX file I used for this post below.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- danishwahab1 year agoHelper I
Thank you Anonymous ,
This worked perfectly as expected. Thanks for all your efforts and help in this.
Thanks!