<?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: Assistance with Dax formula for occurrence of character in column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3080421#M107328</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = LEN([Column A]) - LEN(SUBSTITUTE([Column A],";",""))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 23:17:42 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-02-14T23:17:42Z</dc:date>
    <item>
      <title>Assistance with Dax formula for occurrence of character in column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3080327#M107319</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an efficient Dax formula I can use to count the number of occurences of a particular special character in a column based on conditions? The column looks something like this:&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;Column A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Bill Murray&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;John Doe; Joe Biden; Bill Gates&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mark Twain; Paul Bunyan; Jack Black&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stevie Wonder; Erica Karros&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to the presence of the occasional blank cell, I need ensure that only cells with characters in them are counted, which led me to COUNTA() (not every cell has as a delimiter next to a user's name (e.g. if only one user is listed)). The logic I was considering involved firstly testing to ensure the cell wasn't blank, and then I needed to start counting the number of delimiters in each row with a base count of 1 (again to account for cells with text in them, but do not contain the delimiter in question). Hope that makes sense and appreciate the help, particularly if there's an easier way to do this. I didn't want to unpivot the column and count that way in Power Quert since the table is already too big.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pbrenneise&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 21:38:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3080327#M107319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-14T21:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Dax formula for occurrence of character in column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3080421#M107328</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = LEN([Column A]) - LEN(SUBSTITUTE([Column A],";",""))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 23:17:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3080421#M107328</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-02-14T23:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Dax formula for occurrence of character in column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3085213#M107781</link>
      <description>&lt;P&gt;That helped - appreciate the assistance!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 14:39:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-Dax-formula-for-occurrence-of-character-in/m-p/3085213#M107781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-17T14:39:31Z</dc:date>
    </item>
  </channel>
</rss>

