<?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: Measure to get distinct countries from column holding a list of countries for each row in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3551794#M136648</link>
    <description>&lt;P&gt;Hi , Please see below&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;if you are looking for this then follow&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Nov 2023 05:20:18 GMT</pubDate>
    <dc:creator>Rupak_bi</dc:creator>
    <dc:date>2023-11-25T05:20:18Z</dc:date>
    <item>
      <title>Measure to get distinct countries from column holding a list of countries for each row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550322#M136567</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Could someone help with the below scenario:&lt;BR /&gt;I have a table similar to below which holds a list of countries for each row:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Group&lt;/TD&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1011&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;INDIA;CHINA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1038&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;INDIA;CHINA;ENGLAND;SRILANKA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5052&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;SWEDEN;FINLAND&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3033&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;SRILANKA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9800&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;SWEDEN;NORWAY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6500&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;NORWAY;FINLAND&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to create a measure that gives me the distinct country based on the filters applied for 'ID' or 'Group' columns.&lt;BR /&gt;&lt;BR /&gt;For example, if i apply the filter "Group = B", it should consider the 3 rows for group B and measure should give me the distinct&amp;nbsp; count as &lt;STRONG&gt;3.&amp;nbsp;&lt;/STRONG&gt;It will get the 3 distinct countries from the combination of those 3 rows (SWEDEN,NORWAY,FINLAND)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please help me here.&lt;BR /&gt;In the real scenario the list is much longer.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 07:32:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550322#M136567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-24T07:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to get distinct countries from column holding a list of countries for each row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550574#M136577</link>
      <description>&lt;P&gt;Is this something you are looking for?&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:03:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550574#M136577</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2023-11-24T10:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to get distinct countries from column holding a list of countries for each row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550625#M136583</link>
      <description>&lt;P&gt;Thanks.&lt;BR /&gt;But I want to get the distinct count of the countries from the column 'Country' for the selected filters.&lt;BR /&gt;It has to be &lt;STRONG&gt;"3"&lt;/STRONG&gt; &lt;SPAN&gt;when Group B is selected (SWEDEN,NORWAY,FINLAND) ,&lt;BR /&gt;&lt;STRONG&gt;"4" &lt;/STRONG&gt;&amp;nbsp;for Group A&amp;nbsp;(INDIA, CHINA, ENGLAND, SRILANKA)&lt;BR /&gt;and &lt;STRONG&gt;"1"&lt;/STRONG&gt; for Group C (Only SRILANKA).&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550625#M136583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-24T10:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to get distinct countries from column holding a list of countries for each row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550675#M136584</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the results as expected..&lt;/P&gt;&lt;P&gt;Firstly ., Need to Split the country column with a delimiter in power query editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Then create a measure..&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:57:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3550675#M136584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-24T10:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to get distinct countries from column holding a list of countries for each row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3551794#M136648</link>
      <description>&lt;P&gt;Hi , Please see below&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;if you are looking for this then follow&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 05:20:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-get-distinct-countries-from-column-holding-a-list-of/m-p/3551794#M136648</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2023-11-25T05:20:18Z</dc:date>
    </item>
  </channel>
</rss>

