<?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: Countif Contain Text from Other Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2563822#M73006</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397217" data-lia-user-login="Seum" class="lia-mention lia-mention-user"&gt;Seum&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess these are not just letters, they can be any text with any number of letters? But they are always separated&amp;nbsp;with comma?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 12:16:07 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-06-07T12:16:07Z</dc:date>
    <item>
      <title>Countif Contain Text from Other Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2558063#M72700</link>
      <description>&lt;P&gt;I have a table of raw data, like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Now I want to create a new DAX Measure to count the below table:&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;Please suggest new measure DAX Code or any other new process&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 14:03:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2558063#M72700</guid>
      <dc:creator>Seum</dc:creator>
      <dc:date>2022-06-03T14:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Countif Contain Text from Other Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2558417#M72720</link>
      <description>&lt;P&gt;It's an easy task but you have to change your data model. In Power Query use the transformations to have one letter per row, no commas. Best transformations are split column on delimiter and then unpivot. This will give you the format of data you need.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 17:28:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2558417#M72720</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-06-03T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Countif Contain Text from Other Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2562996#M72963</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397217" data-lia-user-login="Seum" class="lia-mention lia-mention-user"&gt;Seum&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may try this solution.&lt;/P&gt;
&lt;P&gt;1 Unpivot your table columns in Power Query Editor(Transform data) and remove unnecessary columns, then you will get a Product table&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2 Create a Calculated column with the following dax formula&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;alphabet = SELECTCOLUMNS( GENERATESERIES(UNICODE("A"),UNICODE("Z")),"Character",UNICHAR([Value]))

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Build one-many relationship for these two tables&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3 Create a Measure to count the characters&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;COUNT =
VAR res =
    CALCULATE ( COUNT ( 'Table'[Product] ), VALUES ( 'Table'[Product] ) )
RETURN
    IF ( ISBLANK ( res ), 0, res )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you will get the desired result.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, attached the sample pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider&lt;STRONG&gt; Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _ Caiyun&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 07:01:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2562996#M72963</guid>
      <dc:creator>v-cazheng-msft</dc:creator>
      <dc:date>2022-06-07T07:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Countif Contain Text from Other Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2563822#M73006</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397217" data-lia-user-login="Seum" class="lia-mention lia-mention-user"&gt;Seum&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess these are not just letters, they can be any text with any number of letters? But they are always separated&amp;nbsp;with comma?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 12:16:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Countif-Contain-Text-from-Other-Column/m-p/2563822#M73006</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-07T12:16:07Z</dc:date>
    </item>
  </channel>
</rss>

