<?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 Count Keywords in Hashtags in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919700#M41605</link>
    <description>&lt;P&gt;Hello folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a dataset like the below mentioned and I need to calculate occurances of Hashtags, lets say a single hashtag has occured how many times, in a row and across the column. I need to write a DAX which could help me solve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Strengths&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;#expectations-fulfilled ,#open-communication,#teamwork,#inclusivity ,#my-extended-team,#project-collaboration,#design-efficiency,#quality-achieved&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;#open-communication,#teamwork,#positive-attitude,#technically-proficient,#quality-achieved,#GO-iCRC,#expectations-fulfilled ,#proactive-team,#process-compliance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;#timeliness-at-par,#positive-attitude,#expectations-fulfilled&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;#positive-attitude,#inclusivity ,#teamwork,#my-extended-team,#open-communication,#thumbs up-project&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;#project-collaboration,#quality-achieved,#proactive-team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;#project-collaboration,#quality-achieved,#proactive-team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;#thumbs up-project,#teamwork,#positive-attitude&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;#thumbs up-project,#teamwork,#technically-proficient&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Thu, 24 Jun 2021 09:58:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-24T09:58:13Z</dc:date>
    <item>
      <title>Count Keywords in Hashtags</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919700#M41605</link>
      <description>&lt;P&gt;Hello folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a dataset like the below mentioned and I need to calculate occurances of Hashtags, lets say a single hashtag has occured how many times, in a row and across the column. I need to write a DAX which could help me solve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Strengths&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;#expectations-fulfilled ,#open-communication,#teamwork,#inclusivity ,#my-extended-team,#project-collaboration,#design-efficiency,#quality-achieved&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;#open-communication,#teamwork,#positive-attitude,#technically-proficient,#quality-achieved,#GO-iCRC,#expectations-fulfilled ,#proactive-team,#process-compliance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;#timeliness-at-par,#positive-attitude,#expectations-fulfilled&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;#positive-attitude,#inclusivity ,#teamwork,#my-extended-team,#open-communication,#thumbs up-project&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;#project-collaboration,#quality-achieved,#proactive-team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;#project-collaboration,#quality-achieved,#proactive-team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;#thumbs up-project,#teamwork,#positive-attitude&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;#thumbs up-project,#teamwork,#technically-proficient&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 24 Jun 2021 09:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919700#M41605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-24T09:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count Keywords in Hashtags</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919985#M41621</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could create a column to know thw count of # across each row:&lt;BR /&gt;ROWcount=&amp;nbsp;&lt;SPAN&gt;LEN(Table[Strengths])-LEN(SUBSTITUTE(Table[Strengths],"#",""))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After this:&lt;BR /&gt;You can create a measure to count #s in a column:&lt;BR /&gt;Columncount= Sum(ROWcount)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess this is what you want.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 12:28:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919985#M41621</guid>
      <dc:creator>Tanushree_Kapse</dc:creator>
      <dc:date>2021-06-24T12:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count Keywords in Hashtags</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919993#M41622</link>
      <description>&lt;P&gt;It's not a job for DAX, but Power Query. First, you have to put each tag into its own row (keeping the link to ID, of course). Once you have a column where each row contains only 1 hashtag, you can start thinking about calculations. By the way, if a hashtag can appear multiple times in one row in the above table, you'll also need a column in the table I suggest you build that will store the number of occurences. So 3 fields: ID, Hashtag, Count.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 12:30:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1919993#M41622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-24T12:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count Keywords in Hashtags</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1921352#M41649</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply, I had this thing in mind to break each hashtags into rows but I guess that would go against the Start Schema thing, which we generally try to achieve and moreover goes against the concept of normalisation. But still i agree to your point, it is so smooth and easy with Python but within power bi, it does requires lots of critical thinking and effort.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 03:24:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1921352#M41649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T03:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Keywords in Hashtags</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1922036#M41661</link>
      <description>&lt;P&gt;On the contrary, what I described is &lt;STRONG&gt;the right thing to do&lt;/STRONG&gt; and it's in the spirit of dimensional modeling, including the star schema. Normalization is a concept from the OLTP world. PBI lives in the OLAP world where denormalization is what you want to achieve. But here we have a problem that has nothing to do with these concepts. Here we have a problem of atomicity of data. And columns should always store atoms, not compounds, be in in OLTP or OLAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Incidentally, to get the data into the right shape in PQ only takes several clicks of the mouse.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 08:52:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Keywords-in-Hashtags/m-p/1922036#M41661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T08:52:31Z</dc:date>
    </item>
  </channel>
</rss>

