<?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: Converting in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3308202#M123587</link>
    <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you try below DAX for rounding column?&lt;BR /&gt;&lt;BR /&gt;Rounding = if('KPI Percentage'[KPI %]&amp;gt;1, 1, &amp;nbsp;if('KPI Percentage'[KPI %]&amp;lt;=1, 'KPI Percentage'[KPI %],0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Inogic Professional Services Division&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Drop an email at &lt;/SPAN&gt;&lt;A href="mailto:crm@inogic.com" target="_blank"&gt;crm@inogic.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Services:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.inogic.com/services/" target="_blank"&gt;http://www.inogic.com/services/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power Platform/Dynamics 365 CRM Tips and Tricks:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.inogic.com/blog/" target="_blank"&gt;http://www.inogic.com/blog/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 12:22:47 GMT</pubDate>
    <dc:creator>SamInogic</dc:creator>
    <dc:date>2023-06-29T12:22:47Z</dc:date>
    <item>
      <title>Converting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3308135#M123580</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please help with rounding the values :&lt;/P&gt;&lt;P&gt;Conditions:&lt;/P&gt;&lt;P&gt;KPI = 100%&amp;nbsp;should be 100%&lt;/P&gt;&lt;P&gt;KPI &amp;gt;100% should be 100%&lt;/P&gt;&lt;P&gt;KPI Infinity = should be 0%&amp;nbsp;&lt;/P&gt;&lt;P&gt;My dax:&amp;nbsp;&lt;SPAN&gt;Rounding = IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;('KPI'[KPI %]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'KPI'&lt;/SPAN&gt;&lt;SPAN&gt;[KPI %]&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;('KPI'[KPI %]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, 'KPI'[KPI %]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eventually,&amp;nbsp;KPI &amp;gt;100% should be 100% - not worked:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 11:38:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3308135#M123580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-29T11:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3308202#M123587</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you try below DAX for rounding column?&lt;BR /&gt;&lt;BR /&gt;Rounding = if('KPI Percentage'[KPI %]&amp;gt;1, 1, &amp;nbsp;if('KPI Percentage'[KPI %]&amp;lt;=1, 'KPI Percentage'[KPI %],0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Inogic Professional Services Division&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Drop an email at &lt;/SPAN&gt;&lt;A href="mailto:crm@inogic.com" target="_blank"&gt;crm@inogic.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Services:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.inogic.com/services/" target="_blank"&gt;http://www.inogic.com/services/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power Platform/Dynamics 365 CRM Tips and Tricks:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.inogic.com/blog/" target="_blank"&gt;http://www.inogic.com/blog/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 12:22:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3308202#M123587</guid>
      <dc:creator>SamInogic</dc:creator>
      <dc:date>2023-06-29T12:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Converting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3309765#M123676</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;But the condition KPI Infinity = should be 0% did not work.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If I don't have data for 2024 (Infinity), then it should show 0. Now it is - 100% Can you help?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 08:45:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3309765#M123676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-30T08:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3309907#M123683</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try below DAX expression as this will check if the KPI value is less than or equal to 0 then it will round it to 0%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rounding = if('KPI Percentage'[KPI %]&amp;lt;=0,0, if('KPI Percentage'[KPI %]&amp;gt;1, 1, &amp;nbsp;if('KPI Percentage'[KPI %]&amp;lt;=1, 'KPI Percentage'[KPI %],0)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Inogic Professional Services Division&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Drop an email at &lt;/SPAN&gt;&lt;A href="mailto:crm@inogic.com" target="_blank"&gt;crm@inogic.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Services:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.inogic.com/services/" target="_blank"&gt;http://www.inogic.com/services/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power Platform/Dynamics 365 CRM Tips and Tricks:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.inogic.com/blog/" target="_blank"&gt;http://www.inogic.com/blog/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 09:51:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting/m-p/3309907#M123683</guid>
      <dc:creator>SamInogic</dc:creator>
      <dc:date>2023-06-30T09:51:30Z</dc:date>
    </item>
  </channel>
</rss>

