<?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: How to calculate Complaint Status (New, Closed and WIP) for each month? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302004#M22568</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;: Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following your post to implement certain logic in my dataset. However, is there anyway to count distinct value of Compliant Nbr? In my dataset, i have duplicate complaint Nbr based on other dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Current Employee(in your dataset), it is similar to my New Status except that it is fetching all rows because of Countx function.&lt;/P&gt;&lt;P&gt;But i need to derive distinct count of complaint Nbr.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if this is possible. Thank you in advance!!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 18:52:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-17T18:52:52Z</dc:date>
    <item>
      <title>How to calculate Complaint Status (New, Closed and WIP) for each month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1301673#M22553</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Power BI and in need of calculating Status for each complaint Nbr.&lt;/P&gt;&lt;P&gt;Criteria:&lt;/P&gt;&lt;P&gt;New - Created in the current month (can have both open/Closed complaints)&lt;/P&gt;&lt;P&gt;WIP - Open Complaints created prior to current month (closed month is null)&lt;/P&gt;&lt;P&gt;Closed - Closed Complaints in that month (but not created in that month as it will come under New status)&lt;/P&gt;&lt;P&gt;Everything is based on the 1st day of new month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;I need to calculate "Status" field for each month as below using DAX function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample dataset for Jan 2019:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Complaint Nbr&amp;nbsp; CreatedMonth&amp;nbsp; ClosedMonth&amp;nbsp; &amp;nbsp;Status&lt;/P&gt;&lt;P&gt;C1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jan 2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jan 2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;New&lt;/P&gt;&lt;P&gt;C2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dec 2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WIP&lt;/P&gt;&lt;P&gt;C3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jan 2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; New&lt;/P&gt;&lt;P&gt;C4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dec 2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Jan 2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Closed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 16:09:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1301673#M22553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T16:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Complaint Status (New, Closed and WIP) for each month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1301719#M22554</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , refer if this blog can help&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 16:15:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1301719#M22554</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-08-17T16:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Complaint Status (New, Closed and WIP) for each month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302004#M22568</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;: Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following your post to implement certain logic in my dataset. However, is there anyway to count distinct value of Compliant Nbr? In my dataset, i have duplicate complaint Nbr based on other dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Current Employee(in your dataset), it is similar to my New Status except that it is fetching all rows because of Countx function.&lt;/P&gt;&lt;P&gt;But i need to derive distinct count of complaint Nbr.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if this is possible. Thank you in advance!!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 18:52:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302004#M22568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T18:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Complaint Status (New, Closed and WIP) for each month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302025#M22569</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;: Sorry, i just figured how to find distinct count in filtered table and it works now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 18:59:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302025#M22569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T18:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Complaint Status (New, Closed and WIP) for each month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302057#M22570</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;: Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing difficulty in finding a solution for Closed status. I tried using the below formula for the same. But it is not giving correct result as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For Closed :&lt;/STRONG&gt; Closed in the respective months but those complaints should not be created in the same month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Closed = calculate(DISTINCTCOUNT(Data[Complaint Nbr]),filter(Data,Month(Data[Creation Date])&amp;lt;&amp;gt; month(Data[Closure Date])) ,not(ISBLANK(Data[Closure Date])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindy help me on the same.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 19:23:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1302057#M22570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T19:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Complaint Status (New, Closed and WIP) for each month?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1321562#M23250</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="164769" data-lia-user-login="v-lid-msft" class="lia-mention lia-mention-user"&gt;v-lid-msft&lt;/a&gt;&amp;nbsp;: Refered your post and modified according to my case and it worked perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Carrying-Over-Open-Case-Amount-from-Previous-Month/m-p/1081682" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Carrying-Over-Open-Case-Amount-from-Previous-Month/m-p/1081682&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 06:37:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-Complaint-Status-New-Closed-and-WIP-for-each/m-p/1321562#M23250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-25T06:37:50Z</dc:date>
    </item>
  </channel>
</rss>

