<?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: Link date_start and date_end to calender table in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3459094#M44800</link>
    <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/528104"&gt;@noobtopowerbi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;If these also don't help, please share more detailed information and description to help us clarify your scenario to test.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 08:56:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-04T08:56:09Z</dc:date>
    <item>
      <title>Link date_start and date_end to calender table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3453618#M44748</link>
      <description>&lt;P&gt;In a matrix I want to count all id's per month and year that are between date_start and date_end.&lt;/P&gt;&lt;P&gt;So when date_start is 2023/08/23 and date_end is 2023/11/15 than august should count 1, sept should could 1, oct should count one and nov should count one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chatgtp told met to link both date_start and date_end to the same date field in a calender table. However I don't get the correct result. Only august counts 1.&lt;BR /&gt;How to solve this ?&lt;BR /&gt;I am sure more members had this question, but I cannot find a correct answer.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 13:54:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3453618#M44748</guid>
      <dc:creator>noobtopowerbi</dc:creator>
      <dc:date>2023-09-29T13:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Link date_start and date_end to calender table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3453719#M44750</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/528104"&gt;@noobtopowerbi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Take a look at these two Quick Measures as I think you want something like them.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to be specific without knowing your data. If we are just talking about a Dates table or something, then here's a guess:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
  VAR __MinDate = MIN('Table'[Date])
  VAR __MaxDate = MAX('Table'[Date])
  VAR __Table = 
    ADDCOLUMNS(
      FILTER( 'Table', [Date] &amp;gt;= __MinDate &amp;amp;&amp;amp; [Date] &amp;lt;= __MaxDate ),
      "__Month", MONTH( [Date])
    )
  VAR __Table1 = SUMMARIZE( __Table, [__Month] )
  VAR __Result = COUNTROWS( __Table1 )
RETURN
  __Result&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Sep 2023 14:47:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3453719#M44750</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-09-29T14:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Link date_start and date_end to calender table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3459094#M44800</link>
      <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/528104"&gt;@noobtopowerbi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;If these also don't help, please share more detailed information and description to help us clarify your scenario to test.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 08:56:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Link-date-start-and-date-end-to-calender-table/m-p/3459094#M44800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-04T08:56:09Z</dc:date>
    </item>
  </channel>
</rss>

