<?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: distinct Count of tour request numbers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701246#M143939</link>
    <description>&lt;P&gt;You dont need weekcolumn in specific as this information is picked up based on the WEEKNUM DAX function. Just the date column is required.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 12:35:25 GMT</pubDate>
    <dc:creator>nareshr89</dc:creator>
    <dc:date>2024-02-15T12:35:25Z</dc:date>
    <item>
      <title>distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701059#M143927</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;hello team,&lt;BR /&gt;I have Append-QMR table in power bi. i have TOUR_REQUEST_NO and WEEK_NO and INQUIRY_DATE_KEY and TERMINATION_YEAR columns in that table. the INQUIRY_DATE_KEY is related with DATE_KEY&amp;nbsp; column in M_INQ_DATE_D date table.In this table I have full date. I want to count the distinctcount of TOUR_REQUEST_NO created in in this week by taking refence INQUIRY_DATE_KEY .&lt;BR /&gt;&lt;BR /&gt;Im getting more trouble with the dax function&lt;BR /&gt;i have used&amp;nbsp;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DistinctCount_ThisWeek =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SP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append-QMR'&lt;/SPAN&gt;&lt;SPAN&gt;[INQUIRY_DATE_KEY]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;M_INQ_DATE_D&lt;/SPAN&gt;&lt;SPAN&gt;[FULL_DATE]&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)fucction&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Feb 2024 11:05:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701059#M143927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-15T11:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701203#M143935</link>
      <description>&lt;P&gt;Try this&amp;nbsp;DistinctCount_ThisWeek =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT('Append-QMR'[TOUR_REQUEST_NO]),&lt;BR /&gt;FILTER(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; WEEKNUM(M_INQ_DATE_D[FULL_DATE].[Date])=WEEKNUM(NOW())&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:11:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701203#M143935</guid>
      <dc:creator>nareshr89</dc:creator>
      <dc:date>2024-02-15T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701218#M143936</link>
      <description>&lt;P&gt;I tried this..one but in Date Table ..We do not have week column right?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:17:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701218#M143936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-15T12:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701246#M143939</link>
      <description>&lt;P&gt;You dont need weekcolumn in specific as this information is picked up based on the WEEKNUM DAX function. Just the date column is required.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:35:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701246#M143939</guid>
      <dc:creator>nareshr89</dc:creator>
      <dc:date>2024-02-15T12:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701786#M143971</link>
      <description>&lt;P&gt;the error is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 15:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3701786#M143971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-15T15:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3703152#M144025</link>
      <description>&lt;P&gt;Try this&amp;nbsp;DistinctCount_ThisWeek =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT('Append-QMR'[TOUR_REQUEST_NO]),WEEKNUM(&lt;SPAN&gt;'Append-QMR'&lt;/SPAN&gt;&lt;SPAN&gt;[INQUIRY_DATE_KEY].[Date])&lt;/SPAN&gt;&lt;SPAN&gt;=WEEKNUM(NOW())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;If it still doesn't work share a sample PBIX file.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 05:55:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3703152#M144025</guid>
      <dc:creator>nareshr89</dc:creator>
      <dc:date>2024-02-16T05:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3703203#M144031</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 06:27:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3703203#M144031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-16T06:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: distinct Count of tour request numbers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3703215#M144033</link>
      <description>&lt;P&gt;This is my model&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 06:31:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/distinct-Count-of-tour-request-numbers/m-p/3703215#M144033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-16T06:31:53Z</dc:date>
    </item>
  </channel>
</rss>

