<?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 with multiple ISBLANK in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017656#M13117</link>
    <description>Sometimes, depending on the data, which is why it is extremely helpful to see it, you need to do something like &amp;lt;&amp;gt; "" or = "null" or something along those lines.</description>
    <pubDate>Thu, 09 Apr 2020 13:28:15 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-04-09T13:28:15Z</dc:date>
    <item>
      <title>DateDiff with multiple ISBLANK</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017632#M13112</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could somebody please help me to convert my SQL to DAX below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(case when DateDiff(month, @ReportPeriodStartDate, TDate) &amp;lt; 0 AND&lt;/P&gt;&lt;P&gt;DateDiff(month, @ReportPeriodStartDate, Isnull(WDate, IsNull(CDate, @ReportDate))) &amp;gt; 0 then 1 else 0 end)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIM = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR ReportPeriodStartDate = DATEADD(vwtest[DateUpdated],-1,MONTH)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF(DATEDIFF(ReportPeriodStartDate, vwtest[TDate],MONTH) &amp;lt; 0 &amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATEDIFF(ReportPeriodStartDate,ISBLANK(vwtest[WDate]),ISBLANK(vwtest[DateU],MONTH) &amp;gt; 0,1,0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Its not displaying correctly. Its the isnulls that I'm struggling to convert I think&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Liam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Apr 2020 13:19:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017632#M13112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-09T13:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: DateDiff with multiple ISBLANK</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017648#M13115</link>
      <description>&lt;P&gt;Please don't just post SQL and ask "how do I do this in DAX?"&amp;nbsp;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample data, expected result.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 13:22:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017648#M13115</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-04-09T13:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: DateDiff with multiple ISBLANK</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017650#M13116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was DAX also. The question was mainly around null values&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 13:24:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017650#M13116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-09T13:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: DateDiff with multiple ISBLANK</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017656#M13117</link>
      <description>Sometimes, depending on the data, which is why it is extremely helpful to see it, you need to do something like &amp;lt;&amp;gt; "" or = "null" or something along those lines.</description>
      <pubDate>Thu, 09 Apr 2020 13:28:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1017656#M13117</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-04-09T13:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: DateDiff with multiple ISBLANK</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1019272#M13142</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;, I doubt your the usage of is blank in place of isnull, From March release power bi supported coalesce , please use that&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 09:06:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DateDiff-with-multiple-ISBLANK/m-p/1019272#M13142</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-04-10T09:06:00Z</dc:date>
    </item>
  </channel>
</rss>

