<?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: Manipulating Tracking Data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941989#M10063</link>
    <description>If you want take count&lt;BR /&gt;Simply create measure&lt;BR /&gt;Measure&lt;BR /&gt;Var tab=summerize(table,table[id],"new", calculate(count(table[id]),filter(table,table[status]="new")),"started",calculate(count(table[id]),filter(table,table[status]="started")))&lt;BR /&gt;Return&lt;BR /&gt;Sumx(tab,if([new]&amp;gt;0 &amp;amp;&amp;amp; [started]&amp;gt;0,1,0))&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Pravin&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Feb 2020 03:59:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-21T03:59:28Z</dc:date>
    <item>
      <title>Manipulating Tracking Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941191#M10040</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table like the one below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Old&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Started&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Started&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Old&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Partially Done&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically what I want to be able to do is to see which IDs passed through the status 'Started' and are now at 'New'&lt;/P&gt;&lt;P&gt;So in my case, ID 1 and 2 would fit that criteria.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find the right query to do this, I can only find the previous status but I need to look through all historical statuses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Victoria&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Feb 2020 16:20:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941191#M10040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-20T16:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating Tracking Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941264#M10044</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you haven't mentioned the desired output, I have created a measure as follows to identify the IDs in the data which have "New" and "Started" as their statuses:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;1. GREEN highlight - This is the sample data used&lt;/P&gt;&lt;P&gt;2. RED highlight - This shows a table with "testCheck" measure using which it only displays the IDs with "New" and "Started" statuses&lt;/P&gt;&lt;P&gt;3. BLUE highlight - Measure created to achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps and works please give a Kudos and mark this as a solutions! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:21:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941264#M10044</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-02-20T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating Tracking Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941989#M10063</link>
      <description>If you want take count&lt;BR /&gt;Simply create measure&lt;BR /&gt;Measure&lt;BR /&gt;Var tab=summerize(table,table[id],"new", calculate(count(table[id]),filter(table,table[status]="new")),"started",calculate(count(table[id]),filter(table,table[status]="started")))&lt;BR /&gt;Return&lt;BR /&gt;Sumx(tab,if([new]&amp;gt;0 &amp;amp;&amp;amp; [started]&amp;gt;0,1,0))&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Pravin&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Feb 2020 03:59:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Manipulating-Tracking-Data/m-p/941989#M10063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-21T03:59:28Z</dc:date>
    </item>
  </channel>
</rss>

