<?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 behaviour in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025824#M45274</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;that does exactly what i'm after, thank you very much!&amp;nbsp; My only question is, are you able to explain why ALLNOBLANKROW is doing what it is in my scenario above?&amp;nbsp; Based on documentation and tutorials, seems this is exactly what it is designed to do.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 10:34:21 GMT</pubDate>
    <dc:creator>bhalicki</dc:creator>
    <dc:date>2021-08-19T10:34:21Z</dc:date>
    <item>
      <title>ALLNOBLANKROW behaviour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025736#M45272</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALLNOBLANKROW isn't giving me the results I expect, i'm trying to understand why...&lt;/P&gt;&lt;P&gt;My model is as follows:&lt;/P&gt;&lt;P&gt;PROJECT&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;BUDGET&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Project and Budget are related by ProjectCode (1 to many).&amp;nbsp; Budget has a project (12340) which is not in related table Project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TotalBudgetNoBlanks = CALCULATE(SUM(Budget[Amount]), ALLNOBLANKROW(Budget[ProjectCode]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;which gives me:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;I was expecting the blank row to be removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I add the project description to the table and modify the measure as such, it seems to do what I want:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;TotalBudgetNoBlanks = CALCULATE(SUM(Budget[Amount]), ALLNOBLANKROW(Project[ProjectCode]))&lt;/SPAN&gt;&lt;/P&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;Hoping someone could please explain why adding the description has this effect? I want to get blank row removed, using ALLNOBLANKROW and just the ProjectCode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Ben.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Aug 2021 10:07:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025736#M45272</guid>
      <dc:creator>bhalicki</dc:creator>
      <dc:date>2021-08-19T10:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALLNOBLANKROW behaviour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025806#M45273</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249689" data-lia-user-login="bhalicki" class="lia-mention lia-mention-user"&gt;bhalicki&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can modify your measure as follows. You are applying a filter from the Project table which will eliminate any value that is not available in the project table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; TotalBudgetNoBlanks = CALCULATE(SUM(Budget[Amount]), Project))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 10:28:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025806#M45273</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-08-19T10:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALLNOBLANKROW behaviour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025824#M45274</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;that does exactly what i'm after, thank you very much!&amp;nbsp; My only question is, are you able to explain why ALLNOBLANKROW is doing what it is in my scenario above?&amp;nbsp; Based on documentation and tutorials, seems this is exactly what it is designed to do.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 10:34:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025824#M45274</guid>
      <dc:creator>bhalicki</dc:creator>
      <dc:date>2021-08-19T10:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALLNOBLANKROW behaviour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025859#M45277</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249689" data-lia-user-login="bhalicki" class="lia-mention lia-mention-user"&gt;bhalicki&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In your calculation, when you add Description, it adds a filter eventually filtering the values. I added Product as a filter to Calculate the force the only available Project Codes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will direct you to some good resources to understand further:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=GIP5dzBmUxc" target="_blank"&gt;https://www.youtube.com/watch?v=GIP5dzBmUxc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 10:58:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALLNOBLANKROW-behaviour/m-p/2025859#M45277</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-08-19T10:58:27Z</dc:date>
    </item>
  </channel>
</rss>

