<?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: Distinctcount on a dynamic period of time in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2333682#M58700</link>
    <description>&lt;P&gt;Hi Elofly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find link to a hopeful solution for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Hotel Bookings" href="https://drive.google.com/file/d/1k1zx52swBgy8FwXthweXaeowJNye1-iU/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1k1zx52swBgy8FwXthweXaeowJNye1-iU/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Feb 2022 14:53:23 GMT</pubDate>
    <dc:creator>Whitewater100</dc:creator>
    <dc:date>2022-02-11T14:53:23Z</dc:date>
    <item>
      <title>Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2333528#M58695</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to count the number of active properties I have during a certain period of time. (60 days).&lt;/P&gt;&lt;P&gt;That is to say, i want to count the number of property ID that I have from the first day of the month for the past 60 days. Count of property being those that have performed one reservation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have a table with&lt;/P&gt;&lt;P&gt;Booking date - Property ID&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to calculate number of active properties in June 2020 - that is to say count from 01/04/2020 to 01/06/2020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 13:35:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2333528#M58695</guid>
      <dc:creator>Elofly</dc:creator>
      <dc:date>2022-02-11T13:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2333682#M58700</link>
      <description>&lt;P&gt;Hi Elofly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find link to a hopeful solution for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Hotel Bookings" href="https://drive.google.com/file/d/1k1zx52swBgy8FwXthweXaeowJNye1-iU/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1k1zx52swBgy8FwXthweXaeowJNye1-iU/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:53:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2333682#M58700</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-11T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2334092#M58715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284743" data-lia-user-login="Elofly" class="lia-mention lia-mention-user"&gt;Elofly&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please calrify "&lt;SPAN&gt;&lt;EM&gt;Count of property being those that have performed one reservation&lt;/EM&gt;." Do you mean al least one reservation or you mean only one reservation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;do you have a date table connected to bookingdate column?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what kind of visual are going to use? A screenshot will be of great help.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 17:59:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2334092#M58715</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-11T17:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2335430#M58815</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;That was a good question tamerj1 had. I assumed you had all unique records in your example table. Can you mention which columns you use and how you count to determine if a property is active?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would teweaak the file I made for you if your approach is different than I imigained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 20:00:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2335430#M58815</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-13T20:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2337010#M58907</link>
      <description>&lt;P&gt;Hi Tamer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean at least one reservation in the next 60 days.&lt;/P&gt;&lt;P&gt;I have one table with all the bookings per HotelID and one table as a calendar.&lt;/P&gt;&lt;P&gt;I would like to use that kind of visual to see over time and every month how many unique properties were active:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 13:33:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2337010#M58907</guid>
      <dc:creator>Elofly</dc:creator>
      <dc:date>2022-02-14T13:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2337012#M58908</link>
      <description>&lt;P&gt;Thanks a lot for your help! You have been very useful.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 13:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2337012#M58908</guid>
      <dc:creator>Elofly</dc:creator>
      <dc:date>2022-02-14T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2337234#M58915</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I put together a file that answers your requirements...I believe. I used dummy data as none was supplied.&lt;/P&gt;&lt;P&gt;What's missing?&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1b0mgwnTdl6aNiPcbHdQxtLohxs4lvRmg/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1b0mgwnTdl6aNiPcbHdQxtLohxs4lvRmg/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 15:02:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2337234#M58915</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-02-14T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Distinctcount on a dynamic period of time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2355074#M59931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284743" data-lia-user-login="Elofly" class="lia-mention lia-mention-user"&gt;Elofly&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Could you tell me if your problem has been &lt;STRONG&gt;solved&lt;/STRONG&gt;? If it is, kindly &lt;EM&gt;&lt;STRONG&gt;Accept a helpful reply as the solution&lt;/STRONG&gt;&lt;/EM&gt;. More people will benefit from it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after &lt;STRONG&gt;removing sensitive data.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://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 - Microsoft Power BI Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt; How to provide sample data in the Power BI Forum - Microsoft Power BI Community &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Eyelyn Qin&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 06:59:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinctcount-on-a-dynamic-period-of-time/m-p/2355074#M59931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-23T06:59:40Z</dc:date>
    </item>
  </channel>
</rss>

