<?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 Measure that counts distinct values in column with slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070327#M106512</link>
    <description>&lt;P&gt;Hello -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with 2 columns,&amp;nbsp; "warehouse" and "part number" below . I need to slicer filter by warehouse and see the distinct count of part numbers in that column filktered by the selected warehouse. when Slicer is on BR card value should read 2. When VV is selected it should read 1. Any help would be apreciated.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Warehouse&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Part number&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BR&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BR&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 21:56:35 GMT</pubDate>
    <dc:creator>A-Aron</dc:creator>
    <dc:date>2023-02-08T21:56:35Z</dc:date>
    <item>
      <title>Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070327#M106512</link>
      <description>&lt;P&gt;Hello -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with 2 columns,&amp;nbsp; "warehouse" and "part number" below . I need to slicer filter by warehouse and see the distinct count of part numbers in that column filktered by the selected warehouse. when Slicer is on BR card value should read 2. When VV is selected it should read 1. Any help would be apreciated.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Warehouse&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Part number&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BR&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BR&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VV&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 21:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070327#M106512</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2023-02-08T21:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070333#M106516</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417577" data-lia-user-login="A-Aron" class="lia-mention lia-mention-user"&gt;A-Aron&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;try to&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1) create a table visual with column Warehouse and&amp;nbsp;Part number.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2) Choose disctinct count for&amp;nbsp;Part number.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;3) Create a slicer with Warehouse column.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then you shall get what you need, or?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:01:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070333#M106516</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-08T22:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070339#M106517</link>
      <description>&lt;P&gt;Hello FreemanZ -&lt;/P&gt;&lt;P&gt;i have a slicer for filtering and a card as a visual, im looking for a measure that will allow distinct count of part number column and can be filtered by warehouse using slicer. is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:04:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070339#M106517</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2023-02-08T22:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070352#M106518</link>
      <description>&lt;P&gt;that method is generating an unexpected value. there are more distinct values than the standard count(distinct) choice is showing&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:13:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070352#M106518</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2023-02-08T22:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070398#M106528</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417577" data-lia-user-login="A-Aron" class="lia-mention lia-mention-user"&gt;A-Aron&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;yes. try to&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1) create a slicer with warehouse column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2) feed a card visual with a measure like:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;measure = DISTINCTCOUNT(TableName[part number])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;then you get what you expect, or?&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:41:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070398#M106528</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-08T22:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070410#M106530</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried this among other solutions but the value is not correct. the dataset has other columns causing the distinct count to be altered. i am hoping i can use a measure to look at only count of unique part numbers by warehouse. sorry if i cannot explain clearly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:47:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070410#M106530</guid>
      <dc:creator>A-Aron</dc:creator>
      <dc:date>2023-02-08T22:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Measure that counts distinct values in column with slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070417#M106531</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417577" data-lia-user-login="A-Aron" class="lia-mention lia-mention-user"&gt;A-Aron&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;SPAN&gt;how about:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;measure =&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DISTINCTCOUNT(TableName[part number]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;ALL(TableName),&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;VALUES(&lt;/SPAN&gt;&lt;SPAN&gt;TableName[&lt;/SPAN&gt;&lt;SPAN&gt;warehouse&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:51:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-that-counts-distinct-values-in-column-with-slicer/m-p/3070417#M106531</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-08T22:51:23Z</dc:date>
    </item>
  </channel>
</rss>

