<?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: I want to count the tickets that are open and in progress in the latest selected date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199936#M116286</link>
    <description>&lt;P&gt;Got it to work by doing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of Status = &lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; MaxDate = &lt;/SPAN&gt;&lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(MAX(TICKET_DASHBOARD_GAVATAR_HISTORICAL[Date]), &lt;/SPAN&gt;&lt;SPAN class=""&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Calendar)) &lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;( SUMMARIZE( FILTER( TICKET_DASHBOARD_GAVATAR_HISTORICAL, TICKET_DASHBOARD_GAVATAR_HISTORICAL[Date] = MaxDate ), TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN class=""&gt;[CASEID]&lt;/SPAN&gt;&lt;SPAN&gt;, TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN class=""&gt;[Ticket Status 2]&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN class=""&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Calendar) ) RETURN &lt;/SPAN&gt;&lt;SPAN class=""&gt;COUNTAX&lt;/SPAN&gt;&lt;SPAN&gt;(a, TICKET_DASHBOARD_GAVATAR_HISTORICAL[Ticket Status &lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 11:40:38 GMT</pubDate>
    <dc:creator>DanielCarvalho</dc:creator>
    <dc:date>2023-04-21T11:40:38Z</dc:date>
    <item>
      <title>I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199885#M116278</link>
      <description>&lt;P&gt;Hello Community, currently&amp;nbsp; I have this measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count of Status = &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN&gt;[CASEID]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN&gt;[Ticket Status 2]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;COUNTAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN&gt;[Ticket Status 2]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Ticket Status 2 has 5 options = Open, In progress, On hold, Closed and blank&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My dashboard has diferent pages and one of those pages is OPEN &amp;amp; IN PROGRESS TICKETS and I have a card with this measure and with a filter to only count Open and In progress tickets. The problem is that when in my slicer I have current month selected, it is counting the tickets that from the begging of month to today have been in those 2 status even if they are now on another. I want it to only show me tickets that are still in that status as of TODAY. If i have another month selected I want to see the tickets in that were in that status on the last day of that month.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:00:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199885#M116278</guid>
      <dc:creator>DanielCarvalho</dc:creator>
      <dc:date>2023-04-21T11:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199901#M116279</link>
      <description>&lt;P&gt;Can you create a calculated column ?&lt;BR /&gt;&lt;BR /&gt;IF ticket staus 2 equals "Open" or "In porgress, give it a value of 1, if not 0 then use that as a filter on your card visual ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:09:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199901#M116279</guid>
      <dc:creator>scott_henderson</dc:creator>
      <dc:date>2023-04-21T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199912#M116281</link>
      <description>&lt;P&gt;Whilst I was looking at it now I realized what could be the problem but not yet the solution. The problem is that in my measure I am looking at a unique CASE ID only, but it is not looking at my latest entry for each one of those unique ids. Therefore if it is now in another status but he is looking at a line from an older date when it was in fact open, the he will be counting that ticket&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:18:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199912#M116281</guid>
      <dc:creator>DanielCarvalho</dc:creator>
      <dc:date>2023-04-21T11:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199915#M116283</link>
      <description>&lt;P&gt;Yep, makes sense, hence if you only want to count open or in progress, get another column in there and do your count on that column ?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:20:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199915#M116283</guid>
      <dc:creator>scott_henderson</dc:creator>
      <dc:date>2023-04-21T11:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199917#M116284</link>
      <description>&lt;P&gt;I will still have the same problem, as each ticket in my data repeats every single day, and I need it to always look at those tickets (CASE ID) in the latest available date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:22:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199917#M116284</guid>
      <dc:creator>DanielCarvalho</dc:creator>
      <dc:date>2023-04-21T11:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199922#M116285</link>
      <description>&lt;P&gt;Can you create a Summarize Table, using the pbi summarize function, summarize by latest date, case id and staus ?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/summarize-function-dax" target="_blank"&gt;https://learn.microsoft.com/en-us/dax/summarize-function-dax&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:26:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199922#M116285</guid>
      <dc:creator>scott_henderson</dc:creator>
      <dc:date>2023-04-21T11:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199936#M116286</link>
      <description>&lt;P&gt;Got it to work by doing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of Status = &lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; MaxDate = &lt;/SPAN&gt;&lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(MAX(TICKET_DASHBOARD_GAVATAR_HISTORICAL[Date]), &lt;/SPAN&gt;&lt;SPAN class=""&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Calendar)) &lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;a&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;( SUMMARIZE( FILTER( TICKET_DASHBOARD_GAVATAR_HISTORICAL, TICKET_DASHBOARD_GAVATAR_HISTORICAL[Date] = MaxDate ), TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN class=""&gt;[CASEID]&lt;/SPAN&gt;&lt;SPAN&gt;, TICKET_DASHBOARD_GAVATAR_HISTORICAL&lt;/SPAN&gt;&lt;SPAN class=""&gt;[Ticket Status 2]&lt;/SPAN&gt;&lt;SPAN&gt; ), &lt;/SPAN&gt;&lt;SPAN class=""&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(Calendar) ) RETURN &lt;/SPAN&gt;&lt;SPAN class=""&gt;COUNTAX&lt;/SPAN&gt;&lt;SPAN&gt;(a, TICKET_DASHBOARD_GAVATAR_HISTORICAL[Ticket Status &lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:40:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199936#M116286</guid>
      <dc:creator>DanielCarvalho</dc:creator>
      <dc:date>2023-04-21T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: I want to count the tickets that are open and in progress in the latest selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199944#M116287</link>
      <description>&lt;P&gt;Fantastic, Glad it worked : )&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:43:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-to-count-the-tickets-that-are-open-and-in-progress-in-the/m-p/3199944#M116287</guid>
      <dc:creator>scott_henderson</dc:creator>
      <dc:date>2023-04-21T11:43:10Z</dc:date>
    </item>
  </channel>
</rss>

