Forum Discussion

TheKnall's avatar
TheKnall
Frequent Visitor
7 years ago
Solved

Get HTML code in textfile into 1 row in data model

Hi

I have a text file that I have loaded into Power BI. The text file contains a HTML code. 

When loaded into Power BI the text is devided into seperate rows. I want to use the html code in the custom visual.
But need all code in the same row, not devided by some sort of delimiter.

Here is some of the the HTML code:
<p class="ql-align-center"><strong>Activity Ratio</strong></p>
<p>&nbsp;</p>
<p><strong>What is it?</strong></p>
<p>This category is intended to measure how well a company manages various activities, particularly how efficiently it manages its various assets.</p>
<p>&nbsp;</p>
<p><strong>Why is it important?</strong></p>
<p>The ratios give an indication of ongoing operational performance- how effectively assets are used by the company.</p>

any tips on how to handle this with a clean approach, without doing many transformation steps ?

Thx!



1 Reply