<?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 Problems with dax count for table with text in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3542419#M136166</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to count the total # rows in a table for a specific column (plus another 2 calcs):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;adverse_sus_ind_#_rows =&lt;/SPAN&gt; &lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;equty_report_table&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;equty_report_table&lt;/SPAN&gt;&lt;SPAN&gt;[adverse indicator]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, the result is blank. This column contains fields with text (format), but also numbers, %, etc. What am I doing wrong? Why do I just get blank when there around 450 records with text in? Would it make more sense just to use a filter (keeping in mind that I need to also do this based on %)?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to do 3 things, total # rows (all rows, about around 450 + 200 blanks, so no text in the fields), and then # of rows with text (content) and # rows without content (blank). On top of that, I need to show what that is in % (so how many lines are blank / no content).&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is for a data quality dashboard.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Carsten&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 20 Nov 2023 12:15:42 GMT</pubDate>
    <dc:creator>cmfaarvang</dc:creator>
    <dc:date>2023-11-20T12:15:42Z</dc:date>
    <item>
      <title>Problems with dax count for table with text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3542419#M136166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to count the total # rows in a table for a specific column (plus another 2 calcs):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;adverse_sus_ind_#_rows =&lt;/SPAN&gt; &lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;equty_report_table&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;equty_report_table&lt;/SPAN&gt;&lt;SPAN&gt;[adverse indicator]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, the result is blank. This column contains fields with text (format), but also numbers, %, etc. What am I doing wrong? Why do I just get blank when there around 450 records with text in? Would it make more sense just to use a filter (keeping in mind that I need to also do this based on %)?&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to do 3 things, total # rows (all rows, about around 450 + 200 blanks, so no text in the fields), and then # of rows with text (content) and # rows without content (blank). On top of that, I need to show what that is in % (so how many lines are blank / no content).&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is for a data quality dashboard.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Carsten&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Nov 2023 12:15:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3542419#M136166</guid>
      <dc:creator>cmfaarvang</dc:creator>
      <dc:date>2023-11-20T12:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with dax count for table with text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3542549#M136175</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="648984" data-lia-user-login="cmfaarvang" class="lia-mention lia-mention-user"&gt;cmfaarvang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;DIV&gt;measure1 = COUNTROWS(FILTER(equty_report_table, equty_report_table[adverse indicator&lt;STRONG&gt;]=BLANK()&lt;/STRONG&gt;))&lt;/DIV&gt;
&lt;DIV&gt;measure2 = COUNTROWS(FILTER(equty_report_table, equty_report_table[adverse indicator]&amp;lt;&amp;gt;BLANK()))&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt; &lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 13:49:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3542549#M136175</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-11-20T13:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with dax count for table with text</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3544496#M136282</link>
      <description>&lt;P&gt;Thanks a lot for that, did not think of that, works great.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 11:06:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problems-with-dax-count-for-table-with-text/m-p/3544496#M136282</guid>
      <dc:creator>cmfaarvang</dc:creator>
      <dc:date>2023-11-21T11:06:40Z</dc:date>
    </item>
  </channel>
</rss>

