<?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: Round number to get the whole part in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741012#M84236</link>
    <description>&lt;P&gt;I got it, I needed to use TRUNC ()!! Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 14:22:37 GMT</pubDate>
    <dc:creator>pagliaci</dc:creator>
    <dc:date>2022-09-01T14:22:37Z</dc:date>
    <item>
      <title>Round number to get the whole part</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2740905#M84230</link>
      <description>&lt;P&gt;Hi, I have 2 columns: Y is a decimal number, and "#maint. needed" should tell me how many actions I need to do in base on the number before decimals of the Y column&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#maint. needed = &lt;/SPAN&gt;&lt;SPAN&gt;LEFT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ZMPF&lt;/SPAN&gt;&lt;SPAN&gt;[Y]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What I want is this result:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;y= 0,005 --&amp;gt; # maint =0&lt;/P&gt;&lt;P&gt;y= 0,9 --&amp;gt; # maint =0&lt;/P&gt;&lt;P&gt;y= 1,8 --&amp;gt; # maint =1&lt;/P&gt;&lt;P&gt;y= 2,99 --&amp;gt; # maint =2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my maint column is doing, like the picture:&lt;/P&gt;&lt;P&gt;y= 0,005 --&amp;gt; # maint =5&lt;/P&gt;&lt;P&gt;y= 0,03 --&amp;gt; # maint =3&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;I suspect it does that because of the scientific terminology, but I don't know how to fix it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 13:39:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2740905#M84230</guid>
      <dc:creator>pagliaci</dc:creator>
      <dc:date>2022-09-01T13:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Round number to get the whole part</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741007#M84234</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329279" data-lia-user-login="pagliaci" class="lia-mention lia-mention-user"&gt;pagliaci&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use ROUNDDOWN function&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:20:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741007#M84234</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-01T14:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Round number to get the whole part</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741011#M84235</link>
      <description>&lt;P&gt;It doesn't work, I tried&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:21:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741011#M84235</guid>
      <dc:creator>pagliaci</dc:creator>
      <dc:date>2022-09-01T14:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Round number to get the whole part</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741012#M84236</link>
      <description>&lt;P&gt;I got it, I needed to use TRUNC ()!! Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:22:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741012#M84236</guid>
      <dc:creator>pagliaci</dc:creator>
      <dc:date>2022-09-01T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Round number to get the whole part</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741014#M84237</link>
      <description>&lt;P&gt;Did you check the data type?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:23:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Round-number-to-get-the-whole-part/m-p/2741014#M84237</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-01T14:23:46Z</dc:date>
    </item>
  </channel>
</rss>

