Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a colmn which contains HTML tags as an example: <p><strong>NEW IDEA</strong></p>
It would be great if we could just PARSE the text out from the HTML. So the end result of this line would be "NEW IDEA" (without the "" of course).
I have seen lots of examples, but can't find one that would work for me. Would I create a new column which have a DAX equation?
Thanks in advance. HEY Microsoft - you can parse out date from a long date field, can't you parse out html?
Solved! Go to Solution.
Hi @jtpiazzamn,
You can do this transformation in Power Query by extracting the text between delimiters and using advanced options to skip the first occurence of '>'.
I tried this and got "NEW IDEA" (without the "" of course). For your reference:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wiik1MDBOLgBTqRBOcUlRfl46RMTPNVzB08XVESKjjywFFYJqVYqNBQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Tags = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Tags", type text}}),
#"Extracted Text Between Delimiters" = Table.TransformColumns(#"Changed Type", {{"Tags", each Text.BetweenDelimiters(_, ">", "<", 1, 0), type text}})
in
#"Extracted Text Between Delimiters"
Works for you? Mark this post as a solution if it does!
Hi @jtpiazzamn,
You can do this transformation in Power Query by extracting the text between delimiters and using advanced options to skip the first occurence of '>'.
I tried this and got "NEW IDEA" (without the "" of course). For your reference:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wiik1MDBOLgBTqRBOcUlRfl46RMTPNVzB08XVESKjjywFFYJqVYqNBQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Tags = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Tags", type text}}),
#"Extracted Text Between Delimiters" = Table.TransformColumns(#"Changed Type", {{"Tags", each Text.BetweenDelimiters(_, ">", "<", 1, 0), type text}})
in
#"Extracted Text Between Delimiters"
Works for you? Mark this post as a solution if it does!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
111 | |
62 | |
53 | |
38 |