<?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 YTD of results of monthly unique user count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345338#M125590</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;I have a situation&lt;BR /&gt;Table name : app_interaction&lt;BR /&gt;Columns: appname, activity, userid, created_on(date)&lt;/P&gt;&lt;P&gt;Now I want to bulid the table visual with year, month, distinct count(userid) as count of unique IDs , and next I want I want calculate the total YTD of unique user IDs,&lt;/P&gt;&lt;P&gt;Here while calculating&lt;BR /&gt;If Jan has 12 unique users and Feb has 10 unique&lt;/P&gt;&lt;P&gt;So YTD I need is 32 because I have the monthly cost/user to be multiplied to the value 32&lt;/P&gt;&lt;P&gt;The problem is it's giving me the less than the 32. As it's removing the number of common users in two months&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help me to do this&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jul 2023 18:31:48 GMT</pubDate>
    <dc:creator>mgr13</dc:creator>
    <dc:date>2023-07-23T18:31:48Z</dc:date>
    <item>
      <title>YTD of results of monthly unique user count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345338#M125590</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I have a situation&lt;BR /&gt;Table name : app_interaction&lt;BR /&gt;Columns: appname, activity, userid, created_on(date)&lt;/P&gt;&lt;P&gt;Now I want to bulid the table visual with year, month, distinct count(userid) as count of unique IDs , and next I want I want calculate the total YTD of unique user IDs,&lt;/P&gt;&lt;P&gt;Here while calculating&lt;BR /&gt;If Jan has 12 unique users and Feb has 10 unique&lt;/P&gt;&lt;P&gt;So YTD I need is 32 because I have the monthly cost/user to be multiplied to the value 32&lt;/P&gt;&lt;P&gt;The problem is it's giving me the less than the 32. As it's removing the number of common users in two months&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help me to do this&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 18:31:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345338#M125590</guid>
      <dc:creator>mgr13</dc:creator>
      <dc:date>2023-07-23T18:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD of results of monthly unique user count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345482#M125603</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593111" data-lia-user-login="mgr13" class="lia-mention lia-mention-user"&gt;mgr13&lt;/a&gt;- Check this out, let me know if this works.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YTD Unique User IDs = 
    CALCULATE(
        DISTINCTCOUNT('app_interaction'[userid]),
        CALCULATETABLE(
            VALUES('app_interaction'[userid]),
            DATESYTD('app_interaction'[created_on])
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;I've hypothetically established this DAX measure, but without much clarity regarding your datasets. If this doesn't serve your needs, I recommend you share a sample dataset. This will give me a more comprehensive understanding of your data structure, enabling me to devise a more suitable solution. Cheers&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 23:57:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345482#M125603</guid>
      <dc:creator>Manoj_Nair</dc:creator>
      <dc:date>2023-07-23T23:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: YTD of results of monthly unique user count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345952#M125635</link>
      <description>&lt;P&gt;Thanks for sharing ur insignt &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477147" data-lia-user-login="Manoj_Nair" class="lia-mention lia-mention-user"&gt;Manoj_Nair&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the dax code that you have given&amp;nbsp; but it's giving the same as unique user IDs&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; but what I need is the Excel image I&amp;nbsp; shown&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; here I am providing the pic of a data sample&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; could you refer thes information and provide me some guidance if possible&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 07:59:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3345952#M125635</guid>
      <dc:creator>mgr13</dc:creator>
      <dc:date>2023-07-24T07:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: YTD of results of monthly unique user count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3348166#M125718</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="593111" data-lia-user-login="mgr13" class="lia-mention lia-mention-user"&gt;mgr13&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to the following measure&lt;/P&gt;
&lt;P&gt;Sample data&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = var a=SUMMARIZE(ALLSELECTED(app_interaction),app_interaction[created_on].[Year],app_interaction[created_on].[MonthNo],"Distinct",CALCULATE(DISTINCTCOUNT(app_interaction[userid])))
return IF(DISTINCTCOUNT(app_interaction[userid])&amp;lt;&amp;gt;BLANK(),SUMX(FILTER(a,[created_on].[Year] in VALUES(app_interaction[created_on].[Year])&amp;amp;&amp;amp;[created_on].[MonthNo]&amp;lt;=SELECTEDVALUE(app_interaction[created_on].[MonthNo])),[Distinct]))&lt;/LI-CODE&gt;
&lt;P&gt;Output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Yolo Zhu&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/I&gt;, then please consider&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/I&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 07:28:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3348166#M125718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-25T07:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: YTD of results of monthly unique user count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3358559#M126242</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;I have a question&lt;/P&gt;&lt;P&gt;For the above data&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to calculate the past 90 day unique users for every month and the next colum I need to do the YTD of the above in a table visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 19:35:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3358559#M126242</guid>
      <dc:creator>mgr13</dc:creator>
      <dc:date>2023-07-31T19:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD of results of monthly unique user count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3363869#M126473</link>
      <description>&lt;P&gt;Any one please help me out for this&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 14:34:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-of-results-of-monthly-unique-user-count/m-p/3363869#M126473</guid>
      <dc:creator>mgr13</dc:creator>
      <dc:date>2023-08-03T14:34:00Z</dc:date>
    </item>
  </channel>
</rss>

