从Power BI中的列当前数据集中删除所有HTML标记

时间:2016-04-06 12:18:28

标签: powerbi powerquery

以下是关于列中文本格式的查询作为其值。

方案是

我有一个Power BI数据集,其中包含HTML标记。 现在我想从列值中删除所有HTML标记,并仅保留纯文本。

以下是更好理解的例子 -    Column1 ="

<ul style="margin-top:0in;margin-bottom:0in;margin-left:0.375in;unicode-bidi:embed;direction:ltr;"></ul></ul><p>
Number of products sold</p><p>2000</p><p>This is for the month of January</p>

&#34;

现在所需的格式化文本应为 -

  

销售的产品数量2000这是1月份

我听说我们可以使用Power Query进行操作,但我对此并不了解,有人可以指导我吗?

2 个答案:

答案 0 :(得分:1)

您可以使用:

/usr/lib/tuned/throughput-performance/tuned.conf

确保逃脱&#34;字符为&#34;&#34;

答案 1 :(得分:0)

Html.Table([此处您的列名],{{“ text”,“:root”}}){0} [text]