<?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: Date Difference based on a column filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771045#M182726</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="629920" data-lia-user-login="mgaut341" class="lia-mention lia-mention-user"&gt;mgaut341&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wait Times = &lt;BR /&gt;IF('CCHHS Mammo'[Service] = "Diagnostic",&lt;BR /&gt;DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),&lt;BR /&gt;IF('CCHHS Mammo'[Service] = "US Breast",&lt;BR /&gt;DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),&lt;BR /&gt;NULL&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 15:02:41 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2025-07-21T15:02:41Z</dc:date>
    <item>
      <title>Date Difference based on a column filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771025#M182724</link>
      <description>&lt;P&gt;I was able to get my date difference custom column, however I need it to take into account the type of service provided if there are multiple chart numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current formula is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Wait Times =&lt;/SPAN&gt; &lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'CCHHS Mammo'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Referred]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'CCHHS Mammo'&lt;/SPAN&gt;&lt;SPAN&gt;[Appointment]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;However, it is providing a date difference for chart number 23549 diagnostic service even though it doesnt have an appt date, since it is taking the appt date from 23549 US Breast service.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;How should I fix my formula to incorporate the service being provided?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 14:53:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771025#M182724</guid>
      <dc:creator>mgaut341</dc:creator>
      <dc:date>2025-07-21T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference based on a column filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771045#M182726</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="629920" data-lia-user-login="mgaut341" class="lia-mention lia-mention-user"&gt;mgaut341&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wait Times = &lt;BR /&gt;IF('CCHHS Mammo'[Service] = "Diagnostic",&lt;BR /&gt;DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),&lt;BR /&gt;IF('CCHHS Mammo'[Service] = "US Breast",&lt;BR /&gt;DATEDIFF('CCHHS Mammo'[Date Referred], 'CCHHS Mammo'[Appointment], MONTH),&lt;BR /&gt;NULL&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 15:02:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771045#M182726</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-07-21T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date Difference based on a column filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771088#M182729</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 15:19:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-Difference-based-on-a-column-filter/m-p/4771088#M182729</guid>
      <dc:creator>mgaut341</dc:creator>
      <dc:date>2025-07-21T15:19:14Z</dc:date>
    </item>
  </channel>
</rss>

