<?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 Counting with time table and DATESMTD in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2716839#M82724</link>
    <description>&lt;P&gt;Hi !&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am working on a database containing different lines, each one referencing to a requests. I am trying to figure out how many request I add for a day or a month...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I first create a "time table" and linked it to my own table and everything looks fine.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried a DAX expression to get the number of issues opened by month:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Nb_isses_opned = CALCULATE(COUNTA('Table FollowUp'[Créé]), DATESMTD('Table Date'[Date]))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And it seems that Nb_issues_opened is empty and I can't figure out why...&lt;BR /&gt;&lt;BR /&gt;Any help ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 22 Aug 2022 11:49:15 GMT</pubDate>
    <dc:creator>JujuT</dc:creator>
    <dc:date>2022-08-22T11:49:15Z</dc:date>
    <item>
      <title>Counting with time table and DATESMTD</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2716839#M82724</link>
      <description>&lt;P&gt;Hi !&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am working on a database containing different lines, each one referencing to a requests. I am trying to figure out how many request I add for a day or a month...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I first create a "time table" and linked it to my own table and everything looks fine.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried a DAX expression to get the number of issues opened by month:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Nb_isses_opned = CALCULATE(COUNTA('Table FollowUp'[Créé]), DATESMTD('Table Date'[Date]))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And it seems that Nb_issues_opened is empty and I can't figure out why...&lt;BR /&gt;&lt;BR /&gt;Any help ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:49:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2716839#M82724</guid>
      <dc:creator>JujuT</dc:creator>
      <dc:date>2022-08-22T11:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Counting with time table and DATESMTD</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2717054#M82733</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430188" data-lia-user-login="JujuT" class="lia-mention lia-mention-user"&gt;JujuT&lt;/a&gt;&amp;nbsp;You may find this helpful - &lt;A href="https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 12:43:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2717054#M82733</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-08-22T12:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Counting with time table and DATESMTD</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2734523#M83844</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430188" data-lia-user-login="JujuT" class="lia-mention lia-mention-user"&gt;JujuT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please make sure the related columns 'Table Date'[Date] and 'Table FollowUp' [Date] are in same data format, Date or Datetime. If they are in Datetime please make sure 'Table Date'[Date]&amp;nbsp; contains the time in&amp;nbsp;'Table FollowUp' [Date].&lt;/P&gt;
&lt;P&gt;By default, date table only have time 12:00:00, you need to expand it.&lt;/P&gt;
&lt;P&gt;How did you create&amp;nbsp;'Table Date', by dax or M query? DATESMTD() should be time intelligence function, I suggest you to create date table with continuous date by CALENDAR() or CALENDARAUTO().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 08:26:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-with-time-table-and-DATESMTD/m-p/2734523#M83844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-30T08:26:51Z</dc:date>
    </item>
  </channel>
</rss>

