<?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 [JIRA]: How to get count of bugs that got reopened in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3985986#M156010</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm working on a Service Desk dashboard and trying to generate quality KPI for my team. At the moment, I need to know How many bugs got re-opened (transition from Closed to InProgress).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, I just want to store in a custom field the number of times certain transition is executed. (not just to measure total number of cases reopened but also number of times one case has been reopened) so I'd say, that field has to&lt;/SPAN&gt;&amp;nbsp;increase by 1 everytime a ticket is transitioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pulling data from Jira Service Desk (Service Project) and that is coming on a similar presentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Whats the best way to acheive this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 11:47:06 GMT</pubDate>
    <dc:creator>SergioHB</dc:creator>
    <dc:date>2024-06-11T11:47:06Z</dc:date>
    <item>
      <title>[JIRA]: How to get count of bugs that got reopened</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3985986#M156010</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm working on a Service Desk dashboard and trying to generate quality KPI for my team. At the moment, I need to know How many bugs got re-opened (transition from Closed to InProgress).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, I just want to store in a custom field the number of times certain transition is executed. (not just to measure total number of cases reopened but also number of times one case has been reopened) so I'd say, that field has to&lt;/SPAN&gt;&amp;nbsp;increase by 1 everytime a ticket is transitioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm pulling data from Jira Service Desk (Service Project) and that is coming on a similar presentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Whats the best way to acheive this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 11:47:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3985986#M156010</guid>
      <dc:creator>SergioHB</dc:creator>
      <dc:date>2024-06-11T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: [JIRA]: How to get count of bugs that got reopened</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3987251#M156011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="169345" data-lia-user-login="SergioHB" class="lia-mention lia-mention-user"&gt;SergioHB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can add a measure like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;REOPENED =
CALCULATE (
    COUNTROWS (
        FILTER ( 'Table', 'Table'[Request] = SELECTEDVALUE ( 'Table'[Request] ) )
    ),
    'Table'[Status] = "Closed"
) - 1
&lt;/LI-CODE&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired out put and pbix file without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ada Wang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;Accept it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 02:04:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3987251#M156011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-12T02:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: [JIRA]: How to get count of bugs that got reopened</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3988370#M156012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this, I'd say it works for counting on a request. But what if want to measure also the Total Number of Reopened cases? Using the same data I provided, we agreed on how many times each request was reopened but then need to measure by cases.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Does this makes sense to you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 11:10:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/3988370#M156012</guid>
      <dc:creator>SergioHB</dc:creator>
      <dc:date>2024-06-12T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: [JIRA]: How to get count of bugs that got reopened</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/4001168#M156013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="169345" data-lia-user-login="SergioHB" class="lia-mention lia-mention-user"&gt;SergioHB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Add measures like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;case_closed_once = 
VAR _number =
    IF ( [REOPENED] &amp;gt; 0, 1, 0 )
VAR _closed =
    CALCULATE (
        DISTINCTCOUNT ( 'Table'[Request] ),
        FILTER ( 'Table', _number = 0 )
    )
RETURN
    _closed
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;count_no_reopended = 
SUMX ( VALUES ( 'Table'[Request] ), [case_closed_once] )
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Total Cases Reopended = 
VAR _all = DISTINCTCOUNT('Table'[Request])
RETURN
_all-[count_no_reopended]&lt;/LI-CODE&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired out put and pbix file without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ada Wang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;Accept it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 05:45:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/JIRA-How-to-get-count-of-bugs-that-got-reopened/m-p/4001168#M156013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-20T05:45:59Z</dc:date>
    </item>
  </channel>
</rss>

