Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi all,
Thanks for looking. I’ve already tried the customer column “HTML.Table” it’s it’s still really messy. In short, I need help converting something similar to the following:
"<div class=""ExternalClass9254C4569EB64875A3EF9B11D59EE81C""><div style=""font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0);""><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;""><span style=""font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444;"">EDRM@Work consultant completed testing and confirmed additional work needs to be completed
and charged for. </span></p><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background-color:rgba(255, 226, 223, 0.5);""><span style=""font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444;"">Business continued with UAT? and liasing with project team and
issues encountered all parties continued to work together to resolve. </span></p><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background-color:rgba(255, 226, 223, 0.5);""><span style=""font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444;"">Scanner issue requires instructions from Test on how to configure to work with the software, but this will only give CSU one working scanner.  The other scanners are not compatible with Windows 10 following the upgrade from Win 7 to Win 10. </span></p><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background-color:rgba(255, 226, 223, 0.5);""><span style=""font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444;"">Continued to feedback the ongoing test issues and new issues to Test with zero or slow and poor response on the problems being encountered</span></p><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background-color:rgba(255, 226, 223, 0.5);""><span style=""font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444;"">Continue to endeavour to get Test to provide free
consultancy to assist IT in configuring the settings globally for users and all
the other issues raised as a result of the testing.?</span></p><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background-color:rgba(255, 226, 223, 0.5);""><span style=""font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444;"">Review of the major issues raised in testing took place with IT.  PM will be issuing an Exception Report to PCC Governance, with options on the best way forward. as </span><span style=""color:rgb(68, 68, 68);font-family:"Segoe UI", sans-serif;font-size:10pt;"">Go Live date of 7/8 August is not looking feasible, but Test
have advised the next available date for Go Live would be January 2021!</span></p><p style=""margin-right:0cm;margin-left:0cm;font-size:12pt;font-family:"Times New Roman", serif;margin-top:0cm;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;background-color:rgba(255, 226, 223, 0.5);""><br></p><br></div></div>"
Into this:
"EDRM@Work consultant completed testing and confirmed additional work needs to be completed and charged for. Business continued with UAT and liasing with project team and issues encountered all parties continued to work together to resolve. Scanner issue requires instructions from Test on how to configure to work with the software, but this will only give CSU one working scanner. The other scanners are not compatible with Windows 10 following the upgrade from Win 7 to Win 10. Continued to feedback the ongoing test issues and new issues to Test with zero or slow and poor response on the problems being encountered. Continue to endeavour to get Test to provide free consultancy to assist IT in configuring the settings globally for users and all the other issues raised as a result of the testing. Review of the major issues raised in testing took place with IT. PM will be issuing an Exception Report to PCC Governance, with options on the best way forward. as Go Live date of 7/8 August is not looking feasible, but Test have advised the next available date for Go Live would be January 2021!"
I can't seem to figure out a way to get it convert nicely. Any suggestions would be be welcomed.
Solved! Go to Solution.
Hi @Anonymous ,
Try this code:
Text.Combine(List.Transform(Html.Table([Column1], {{"div", "span"}})[div], each Text.Clean(_)), " ")
HI @camargos88 I hope you can help me here. I have a same issue where I want to remove html tag. but I use the formula provided by you its giving me blank
Can you please advise what I am missing here.
Hey That's kinda odd, I can see on your screenshot that that has worked for you, however, with my data it's throwing in "_x000D_" (4 times) here and there? apart from that, it works perfectly. Any suggestions on how to avoid it adding"_x000D_" or shall I just use a find and replace to shift it?
Actually yeah, Just checking and this was an issue my end. Thanks for the brilliant solution.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
27 | |
12 | |
12 | |
11 | |
9 |
User | Count |
---|---|
53 | |
30 | |
15 | |
14 | |
13 |