<?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: Google Analytics count rows that contain specific char in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258941#M20873</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241024" data-lia-user-login="DaliborBoldis" class="lia-mention lia-mention-user"&gt;DaliborBoldis&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TotalPages =
COUNTROWS (
    FILTER (
        'TPH'[Page],
        CONTAINSSTRING (
            'TPH'[Page],
            "-"
        )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 10:44:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-29T10:44:35Z</dc:date>
    <item>
      <title>Google Analytics count rows that contain specific char</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258782#M20866</link>
      <description>&lt;P&gt;Hello there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help understanding how to properly count all rows in a table that contains the specific character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A little bit more details - we're using Google Analytics to get data from our website. Upon selecting a particular town (which is a column I added with Query editor by using "Column from example") I am presented with a list of pages (without HostName dimension) for that town on my table and with other details on other visuals. This is perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am struggling to understand is how to count rows in that table, so that I know how many pages are there for that particular town that I select?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using this formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TotalPages = CALCULATE( COUNT('TPH'[Page]), 'TPH'[Page] = "-" ) And this does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that I want to count all pages that contain "-" character only for any town that I filter my reports with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be awesome! Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 09:33:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258782#M20866</guid>
      <dc:creator>DaliborBoldis</dc:creator>
      <dc:date>2020-07-29T09:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Google Analytics count rows that contain specific char</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258941#M20873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241024" data-lia-user-login="DaliborBoldis" class="lia-mention lia-mention-user"&gt;DaliborBoldis&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TotalPages =
COUNTROWS (
    FILTER (
        'TPH'[Page],
        CONTAINSSTRING (
            'TPH'[Page],
            "-"
        )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 10:44:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258941#M20873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-29T10:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Google Analytics count rows that contain specific char</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258977#M20879</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241024" data-lia-user-login="DaliborBoldis" class="lia-mention lia-mention-user"&gt;DaliborBoldis&lt;/a&gt; , Try&lt;/P&gt;
&lt;P&gt;TotalPages = CALCULATE( COUNT('TPH'[Page]),&amp;nbsp; CONTAINSSTRING('TPH'[Page],"-") )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 10:58:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Google-Analytics-count-rows-that-contain-specific-char/m-p/1258977#M20879</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-29T10:58:02Z</dc:date>
    </item>
  </channel>
</rss>

