<?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 Cumulative count for Distinct IDs along with slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-count-for-Distinct-IDs-along-with-slicer/m-p/377213#M156497</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need your help...!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;I have one scenario, where we have to show cumulative count for Disctinct IDs on year -Month. And it should display for last 2 Years, however count suppose to be taken from beginning of the date(Contains data from 2012) and it will filter the data based on slicer or Visual filter.&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;I can able to achive cumulative count by using below expression but slicer on Category is not working.&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&lt;FONT color="#0000FF"&gt;Measure = CALCULATE(DISTINCTCOUNT(Sheet1[Order ID]),FILTER(ALL(Sheet1),Sheet1[Order Date]&amp;lt;=max(Sheet1[Order Date])))&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;So, created another measure having below expression,&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;Measure = CALCULATE(DISTINCTCOUNT(Sheet1[Order ID]),FILTER(ALLSELECTED(Sheet1),Sheet1[Order Date]&amp;lt;=max(Sheet1[Order Date])))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;it is filtering the data based on slicer but count is taking from last 2 years only, this is not what we are expecting. Please find below screen shot for reference.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appricated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 18:16:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-15T18:16:49Z</dc:date>
    <item>
      <title>Cumulative count for Distinct IDs along with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-count-for-Distinct-IDs-along-with-slicer/m-p/377213#M156497</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need your help...!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;I have one scenario, where we have to show cumulative count for Disctinct IDs on year -Month. And it should display for last 2 Years, however count suppose to be taken from beginning of the date(Contains data from 2012) and it will filter the data based on slicer or Visual filter.&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;I can able to achive cumulative count by using below expression but slicer on Category is not working.&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&lt;FONT color="#0000FF"&gt;Measure = CALCULATE(DISTINCTCOUNT(Sheet1[Order ID]),FILTER(ALL(Sheet1),Sheet1[Order Date]&amp;lt;=max(Sheet1[Order Date])))&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;So, created another measure having below expression,&lt;/DIV&gt;&lt;DIV class="style-scope ytd-comment-renderer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;Measure = CALCULATE(DISTINCTCOUNT(Sheet1[Order ID]),FILTER(ALLSELECTED(Sheet1),Sheet1[Order Date]&amp;lt;=max(Sheet1[Order Date])))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;it is filtering the data based on slicer but count is taking from last 2 years only, this is not what we are expecting. Please find below screen shot for reference.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appricated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 18:16:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-count-for-Distinct-IDs-along-with-slicer/m-p/377213#M156497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T18:16:49Z</dc:date>
    </item>
  </channel>
</rss>

