<?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: Count of total dates per day in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3748609#M50184</link>
    <description>&lt;P&gt;Sorry for reopening this topic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX formula works great and thanks a lot for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way we can use it in the same table instead of creating new table. I have several columns in "Table" which needs to be added in "Table2". That is i have created a "Table view" underneath the graph and it wont work by clicking the graph as both are seperate table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 10:54:47 GMT</pubDate>
    <dc:creator>jimpatel</dc:creator>
    <dc:date>2024-03-07T10:54:47Z</dc:date>
    <item>
      <title>Count of total dates per day</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3745643#M50123</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for looking at my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to do the below logic in power bi, Any idea will be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have "Item","Date1" and "Date2" column and i would like to get result in "Number of Date1" and "Number of Date 2" please. The logic is i wanted to count how many date1 and date 2 is falling in there respective date. I would like to create chart something like that as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimpatel_0-1709717932002.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055092iDFD2C66F7732AA41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jimpatel_0-1709717932002.png" alt="jimpatel_0-1709717932002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 09:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3745643#M50123</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-03-06T09:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count of total dates per day</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3747187#M50161</link>
      <description>&lt;P&gt;You would want to rearrange your data into a usable format, for example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1709763796708.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055465i2DF99F398AD0BC15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1709763796708.png" alt="lbendlin_0-1709763796708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then the line chart is simple&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_1-1709763868906.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055466i613577E0E5A497D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_1-1709763868906.png" alt="lbendlin_1-1709763868906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 22:24:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3747187#M50161</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-06T22:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count of total dates per day</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3747967#M50170</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/413988"&gt;@jimpatel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated table – this column is the X-axis, which can contain all the de-emphasized data of Date1 and Date2.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 =
var _table=
DISTINCT('Table'[Date1])
var _table2=
DISTINCT('Table'[Date2])
var _table3=
UNION(_table,_table2)
return
CALENDAR(
    MINX(_table3,[Date1]),MAXX(_table3,[Date1]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1709794140949.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055727iBF9DE6A2DE29B454/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1709794140949.png" alt="vyangliumsft_0-1709794140949.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Create measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Number of Date1 =
COUNTX(
    FILTER(ALL('Table'),'Table'[Date1]=MAX('Table 2'[Date])),[Item])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Number of Date2 =
 COUNTX(
    FILTER(ALL('Table'),
    'Table'[Date2]=MAX('Table 2'[Date])),[Item])&lt;/LI-CODE&gt;
&lt;P&gt;3. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1709794140959.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1055728i1797C4E5EF4EAAEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyangliumsft_1-1709794140959.png" alt="vyangliumsft_1-1709794140959.png" /&gt;&lt;/span&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;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 06:50:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3747967#M50170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-07T06:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count of total dates per day</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3748609#M50184</link>
      <description>&lt;P&gt;Sorry for reopening this topic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX formula works great and thanks a lot for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way we can use it in the same table instead of creating new table. I have several columns in "Table" which needs to be added in "Table2". That is i have created a "Table view" underneath the graph and it wont work by clicking the graph as both are seperate table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea please&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 10:54:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Count-of-total-dates-per-day/m-p/3748609#M50184</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-03-07T10:54:47Z</dc:date>
    </item>
  </channel>
</rss>

