<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text to Percentage in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3246875#M119647</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Please try the below code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NewColumn =&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF (&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ISBLANK ( [Value] ),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BLANK (),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF (&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[Value] = "&amp;gt;95%",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"&amp;gt;95%",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF (&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[Value] &amp;lt;= 1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FORMAT ( [Value] * 100, "0.00%" ),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FORMAT ( [Value], "0.00%" )&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ajith Prasath&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 08:20:19 GMT</pubDate>
    <dc:creator>AjithPrasath</dc:creator>
    <dc:date>2023-05-22T08:20:19Z</dc:date>
    <item>
      <title>Text to Percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3246328#M119603</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;Please help me to solve this problem.&amp;nbsp; There are including percentages( 0.96 ) and numbers (3100) in a column. So, i want to convert&amp;nbsp; percenatage 0.96 to 96%. Therefore, I add custum column with below formula.&lt;/P&gt;&lt;P&gt;if [Value] = null then null else if [Value]="&amp;gt;95%" then "&amp;gt;95%" else if [Value] &amp;lt;= 1 then Number.ToText([Value] * 100) &amp;amp; "%" else Number.ToText([Value])&lt;/P&gt;&lt;P&gt;The result is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; From&amp;nbsp; &amp;nbsp;to&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It is worked in some percentage but I have a problem in some results like 7.00000000007%, 55.00000000007 and 19.9.000000000%, 3.500000004%&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Best Regards,&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 03:13:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3246328#M119603</guid>
      <dc:creator>slam</dc:creator>
      <dc:date>2023-05-22T03:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Text to Percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3246875#M119647</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Please try the below code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NewColumn =&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF (&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ISBLANK ( [Value] ),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BLANK (),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF (&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[Value] = "&amp;gt;95%",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"&amp;gt;95%",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF (&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[Value] &amp;lt;= 1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FORMAT ( [Value] * 100, "0.00%" ),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FORMAT ( [Value], "0.00%" )&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ajith Prasath&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:20:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3246875#M119647</guid>
      <dc:creator>AjithPrasath</dc:creator>
      <dc:date>2023-05-22T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text to Percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3248070#M119758</link>
      <description>&lt;P&gt;Thank you very much for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 15:25:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Text-to-Percentage/m-p/3248070#M119758</guid>
      <dc:creator>slam</dc:creator>
      <dc:date>2023-05-22T15:25:38Z</dc:date>
    </item>
  </channel>
</rss>

