<?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: Distinct Count for Item = 0 and Alt  Item &amp;gt;0 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4692183#M179673</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="884738" data-lia-user-login="brockry1" class="lia-mention lia-mention-user"&gt;brockry1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I wanted to check if you had the opportunity to review the information provided by &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;. Please feel free to contact us if you have any further questions. If their response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 09:24:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-05-14T09:24:49Z</dc:date>
    <item>
      <title>Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4615332#M176623</link>
      <description>&lt;P&gt;I guess this is challenging because to date I have not found anyone that has solved this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to find a count of stores that are not carrying one of our main items but are carrying a group of alternative items that have been grouped in the data table.&amp;nbsp; In the attachment I am showing the store then all the items then a column that specices if it is a "Blockbuster SKU or an Alt SKU".&amp;nbsp; Again I'm trying to figure out a count of the stores not carrying the "Blockbuser SKU" but carrying the "Alt SKU"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this helps but this would be an example screen shot of the Items that fall with in the Alt SKU 483866.&amp;nbsp; &amp;nbsp;So in this example I would need stores not carrying Item Code "483866 but carrying the "Alt SKU 483866" and you can see which itms fall in this filter.&amp;nbsp; I am ok with trying to build one dax command that solves for just one item and I can adjust the remaining dax commands for each blockbuster item.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 21:03:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4615332#M176623</guid>
      <dc:creator>brockry1</dc:creator>
      <dc:date>2025-03-18T21:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4615372#M176626</link>
      <description>&lt;P&gt;What is the expected output, can you give a example&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 21:44:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4615372#M176626</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-03-18T21:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4615373#M176627</link>
      <description>&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>Tue, 18 Mar 2025 21:45:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4615373#M176627</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-18T21:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4616600#M176659</link>
      <description>&lt;P&gt;What I'm trying to figure out is if we have a situation where I have a store that is not carrying the "Main" SKU but carrying one of the "Alternative" SKUs.&amp;nbsp; The challenge is in some cases we can have where the store is carrying both or neither.&amp;nbsp; I have to examples below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;So here if the first column for "Clinics Carrying 483866 is 0 but the second column Clinics Carrying Alt SKU is 1 I want to bring back a measure that counts all those rows.&amp;nbsp; I have the dax codes for each item being carried.&amp;nbsp; Just now need to figure out a way to bring back the count of not carrying vs carrying.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I applied a filter to my example screen shot above to show the first column of all stores not carrying the main but carrying the alt and the total count is 33.&amp;nbsp; So that means out of over 700 stores we have 33 stores that are not carrying the main but carrying an alt.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:20:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4616600#M176659</guid>
      <dc:creator>brockry1</dc:creator>
      <dc:date>2025-03-19T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4616623#M176660</link>
      <description>&lt;P&gt;I'll do my best to try again using the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Sell-To-Customer&lt;/TD&gt;&lt;TD&gt;Clinics Carrying 483866&lt;/TD&gt;&lt;TD&gt;Clinics Carrying Alt 483866&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 2&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 4&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 6&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 7&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 8&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Store 9&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the Dax measures for each of those columns for store carrying.&amp;nbsp; I just need a way to get the count of the stores not carrying from the first column but carrying from the second column.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:32:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4616623#M176660</guid>
      <dc:creator>brockry1</dc:creator>
      <dc:date>2025-03-19T14:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4684639#M179421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="884738" data-lia-user-login="brockry1" class="lia-mention lia-mention-user"&gt;brockry1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for reaching out microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 11:33:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4684639#M179421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-08T11:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4692183#M179673</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="884738" data-lia-user-login="brockry1" class="lia-mention lia-mention-user"&gt;brockry1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I wanted to check if you had the opportunity to review the information provided by &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;. Please feel free to contact us if you have any further questions. If their response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 09:24:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4692183#M179673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-14T09:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count for Item = 0 and Alt  Item &gt;0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4718199#M180705</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="884738" data-lia-user-login="brockry1" class="lia-mention lia-mention-user"&gt;brockry1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please &lt;STRONG&gt;Accept it as a solution&lt;/STRONG&gt; and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' so others can find it easily.&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 10:41:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Distinct-Count-for-Item-0-and-Alt-Item-gt-0/m-p/4718199#M180705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-03T10:41:24Z</dc:date>
    </item>
  </channel>
</rss>

