Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there,
I have a messy text that has </...span/..div>... in it. I need remove those charaters. Below is the text that I need to clean, I also add the result that I want to archive. It's appreciated if you could help out on the soultion. thanks.
Text: <div class="ExternalClass2050E3CE38ED43F3B7CE1CA014A76EF2"><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0);"><span>Barbara likes reading, cooking, and travelling.</span><br></div></div>
Result: Barbara likes reading, cooking, and travelling.
Solved! Go to Solution.
No need to clean anything. Parse the HTML.
let
Source = Html.Table("<div class= ""ExternalClass2050E3CE38ED43F3B7CE1CA014A76EF2 ""><div style= ""font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0); ""><span>Barbara likes reading, cooking, and travelling.</span><br></div></div>",{{"Text","span"}})
in
Source
No need to clean anything. Parse the HTML.
let
Source = Html.Table("<div class= ""ExternalClass2050E3CE38ED43F3B7CE1CA014A76EF2 ""><div style= ""font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0); ""><span>Barbara likes reading, cooking, and travelling.</span><br></div></div>",{{"Text","span"}})
in
Source
It worked, thank you!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
79 | |
59 | |
36 | |
33 |
User | Count |
---|---|
92 | |
59 | |
59 | |
49 | |
41 |