<?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: allnoblankrow doesn't show expected value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437975#M65136</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, thanks, I indeed&amp;nbsp; used filter instead and it works, however my question was meant to understand the&amp;nbsp;&lt;SPAN&gt;ALLNOBLANKROW function, which if would work as expected is much more intuitive.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 11:40:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-05T11:40:11Z</dc:date>
    <item>
      <title>allnoblankrow doesn't show expected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437899#M65131</link>
      <description>&lt;P&gt;What am I missing in the&amp;nbsp;allnoblankrow function?&lt;/P&gt;&lt;P&gt;I have a data tabke that looks like this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;date&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1/21/2022&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1/17/2022&lt;/TD&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1/21/2022&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;3/6/2022&lt;/TD&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;3/19/2022&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;3/29/2022&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I have a measure:&lt;/P&gt;&lt;P&gt;No Blanks Count = COUNTROWS(ALLNOBLANKROW(Data[Type]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure returns 3, while I expect it to return 5 (all raws where type is not blank)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 10:55:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437899#M65131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-05T10:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: allnoblankrow doesn't show expected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437965#M65134</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Try these&lt;/P&gt;
&lt;P&gt;COUNTROWS(filter(Data, isblank(Data[Type])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the below one give data means some blanks are empty string not blank&lt;/P&gt;
&lt;P&gt;COUNTROWS(filter(Data, Data[Type] =""))&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 11:33:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437965#M65134</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-04-05T11:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: allnoblankrow doesn't show expected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437975#M65136</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, thanks, I indeed&amp;nbsp; used filter instead and it works, however my question was meant to understand the&amp;nbsp;&lt;SPAN&gt;ALLNOBLANKROW function, which if would work as expected is much more intuitive.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 11:40:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2437975#M65136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-05T11:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: allnoblankrow doesn't show expected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2445339#M65605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created a sample pbix file(see attachment) for you,&amp;nbsp;ou can refer to the following link and the example in the pbix file to understand why you use the below formula&amp;nbsp;to get 3 instead of a 5...&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;img /&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;A href="https://dax.guide/allnoblankrow/" target="_self"&gt;ALLNOBLANKROW&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Assue that you have the below table data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;1. Create a calculated table&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2. Create the measure [No Blanks Count]&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:28:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/allnoblankrow-doesn-t-show-expected-value/m-p/2445339#M65605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-08T08:28:30Z</dc:date>
    </item>
  </channel>
</rss>

