<?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: Unproductive customer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4863015#M185486</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687778" data-lia-user-login="Vidya_0505" class="lia-mention lia-mention-user"&gt;Vidya_0505&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Oct 2025 04:09:34 GMT</pubDate>
    <dc:creator>v-nmadadi-msft</dc:creator>
    <dc:date>2025-10-31T04:09:34Z</dc:date>
    <item>
      <title>Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4859864#M185379</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my Power BI report, we have only demention columns (e.g Customer name , code and location) and las invoice date(taken max invoice date from sales fact table). in this report we want to show only unproductive customer, means they has not made any sales in the selected date range. Example: (if we select date range in the slicer, 1s Sept to 30th sept) Customer 001 status is delivered then they are productive customer and customer status is cancelled, returned the they're unproductive customer.&amp;nbsp; want to show only unproductive customer. Tried creating DAX but it's not working. Can anyone please help?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 18:05:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4859864#M185379</guid>
      <dc:creator>Vidya_0505</dc:creator>
      <dc:date>2025-10-27T18:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4859908#M185382</link>
      <description>&lt;P&gt;To report on things that are not there you need to use disconnected tables and/or crossjoins.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question. &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 18:55:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4859908#M185382</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-10-27T18:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4860616#M185401</link>
      <description>&lt;P&gt;Unproductive Customers =&lt;BR /&gt;VAR MaxInvoiceDate = MAX('Sales'[Invoice Date])&lt;BR /&gt;VAR SelectedStart = MIN('Date'[Date])&lt;BR /&gt;VAR SelectedEnd = MAX('Date'[Date])&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;NOT(ISBLANK(MaxInvoiceDate)) &amp;amp;&amp;amp;&lt;BR /&gt;MaxInvoiceDate &amp;gt;= SelectedStart &amp;amp;&amp;amp;&lt;BR /&gt;MaxInvoiceDate &amp;lt;= SelectedEnd &amp;amp;&amp;amp;&lt;BR /&gt;[Status] IN {"Cancelled", "Returned"},&lt;BR /&gt;1,&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then add a visual-level filter showing only where this measure = 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this answer helped, please click Kudos or mark as Solution.&lt;BR /&gt;-Kedar&lt;BR /&gt;LinkedIn: &lt;A href="https://www.linkedin.com/in/kedar-pande" target="_blank"&gt;https://www.linkedin.com/in/kedar-pande&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 13:02:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4860616#M185401</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2025-10-28T13:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4863015#M185486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687778" data-lia-user-login="Vidya_0505" class="lia-mention lia-mention-user"&gt;Vidya_0505&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 04:09:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4863015#M185486</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-10-31T04:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4864924#M185533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687778" data-lia-user-login="Vidya_0505" class="lia-mention lia-mention-user"&gt;Vidya_0505&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 11:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4864924#M185533</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-11-03T11:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4878818#M185904</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;The Unproductive customer report, we have to show the customer who has not done any sales in the selected month and full returned invoice.&amp;nbsp; Here customer code is having both partial return and full return. If the document status is full return then only he is unproductive customer. if the customer is having partial and full return then he is productive custome. I tried creating measure. It's not&amp;nbsp; working as expected, it's giving both results (Partial and full) I need to show only full returned customer details. Please check below measure and help me to do modifications.&lt;BR /&gt;UnproductiveCustomerFlag =&lt;BR /&gt;Var Invoicecount =&lt;BR /&gt;canculate(&amp;nbsp;&lt;BR /&gt;distinctcount(fact secondary sales[ sal cashmemo no]),&lt;BR /&gt;fact secondary sales{key_flag] &amp;lt;&amp;gt;"PAYM"&lt;BR /&gt;)&lt;BR /&gt;Var FullReturnCount =&lt;/P&gt;&lt;P&gt;calculate(&lt;BR /&gt;Distinctcount(fact secondary sales[ sal cashmemo no]),&lt;BR /&gt;fact secondary sales{key_flag] &amp;lt;&amp;gt;"PAYM",&lt;/P&gt;&lt;P&gt;fact secondary sales[document status code] ="CM-0404",&lt;BR /&gt;Dim_cashmemo_type[Cashmemo type desc] ="full Return"&lt;BR /&gt;)&lt;BR /&gt;varPartalReturncount =&lt;/P&gt;&lt;P&gt;fact secondary sales[ sal cashmemo no]),&lt;BR /&gt;fact secondary sales{key_flag] &amp;lt;&amp;gt;"PAYM",&lt;BR /&gt;fact secondary sales[document status code] ="CM-0404",&lt;/P&gt;&lt;P&gt;Dim_cashmemo_type[Cashmemo type desc] ="Partial Return"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;IF( invoicecount .0 &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;FullReturncount &amp;gt;0&amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;PartialReturnCount =0,&lt;/P&gt;&lt;P&gt;1,0)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 16:29:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4878818#M185904</guid>
      <dc:creator>Vidya_0505</dc:creator>
      <dc:date>2025-11-18T16:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unproductive customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4880740#M185963</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="687778" data-lia-user-login="Vidya_0505" class="lia-mention lia-mention-user"&gt;Vidya_0505&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Please provide sample data that covers your issue or question&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;completely&lt;/STRONG&gt;, in a&amp;nbsp;&lt;STRONG&gt;usable&lt;/STRONG&gt;&amp;nbsp;format (not as a screenshot).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Do not include sensitive information. Do not include anything that is unrelated to the issue or question.&lt;/P&gt;
&lt;P&gt;Please show the expected outcome based on the sample data you provided.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN data-teams="true"&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 08:49:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unproductive-customer/m-p/4880740#M185963</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-11-20T08:49:15Z</dc:date>
    </item>
  </channel>
</rss>

