<?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: Datediff slicer not correct in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3976399#M154177</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718384" data-lia-user-login="J918" class="lia-mention lia-mention-user"&gt;J918&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are really glad to know that the problem has been solved. We're also glad that you've shared your solution in the community, it's very helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please consider accepting your post as a solution to help other members find solutions faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Certainly, if there is anything else we can do for you, please do not hesitate to contact us.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Leroy Lu&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 07:46:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-06T07:46:16Z</dc:date>
    <item>
      <title>Datediff slicer not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3962009#M153724</link>
      <description>&lt;P&gt;I have this DAX code to show how many minutes a process ran:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Process Time Minutes =&lt;/SPAN&gt; &lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;META&lt;/SPAN&gt;&lt;SPAN&gt;[PROCESS_START_TIME]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;META&lt;/SPAN&gt;&lt;SPAN&gt;[PROCESS_END_TIME]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;MINUTE&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;I then put a slicer:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;However, it's showing anything less than 1 minute, but more than 1 second as 1 minute.&amp;nbsp; If I have the minimum time on 1, it should not show any rows less than 1 minute.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, these rows are returned with the slicer above applied, but shouldn't.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 May 2024 18:51:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3962009#M153724</guid>
      <dc:creator>J918</dc:creator>
      <dc:date>2024-05-30T18:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Datediff slicer not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3962023#M153726</link>
      <description>&lt;P&gt;I figured it out.&amp;nbsp; Changed my DAX to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Process Time Minutes =&lt;/SPAN&gt; &lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;META&lt;/SPAN&gt;&lt;SPAN&gt;[PROCESS_START_TIME]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;META&lt;/SPAN&gt;&lt;SPAN&gt;[PROCESS_END_TIME]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;SECOND&lt;/SPAN&gt;&lt;SPAN&gt;) / &lt;/SPAN&gt;&lt;SPAN&gt;60&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 May 2024 19:03:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3962023#M153726</guid>
      <dc:creator>J918</dc:creator>
      <dc:date>2024-05-30T19:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Datediff slicer not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3962177#M153732</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718384" data-lia-user-login="J918" class="lia-mention lia-mention-user"&gt;J918&lt;/a&gt;&amp;nbsp;- The slicer is turning the correct values for what you are doing. In order for this to work, you will need to turn your column into an integer for minutes, try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DATEDIFF(META[PROCESS_START_TIME], META[PROCESS_END_TIME], SECOND) / 60&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this works, please accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 20:39:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3962177#M153732</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-05-30T20:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Datediff slicer not correct</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3976399#M154177</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718384" data-lia-user-login="J918" class="lia-mention lia-mention-user"&gt;J918&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are really glad to know that the problem has been solved. We're also glad that you've shared your solution in the community, it's very helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please consider accepting your post as a solution to help other members find solutions faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Certainly, if there is anything else we can do for you, please do not hesitate to contact us.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Leroy Lu&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 07:46:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Datediff-slicer-not-correct/m-p/3976399#M154177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-06T07:46:16Z</dc:date>
    </item>
  </channel>
</rss>

