<?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: ALL doesn't work as expected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121124#M16533</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;thank you for response, I tried it already, and it doesn't work.&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2020 22:59:39 GMT</pubDate>
    <dc:creator>a_gaisin</dc:creator>
    <dc:date>2020-05-26T22:59:39Z</dc:date>
    <item>
      <title>ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1120947#M16513</link>
      <description>&lt;P&gt;Hello, I'm trying to understand how dax ALL function works. I have a toy dataset&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;, and a matrix visual in Power BI with "projet id" on rows, and "nature" on columns, and measure "Count" on values. The code of the measure is the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count = COUNTROWS(ALL('Table'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here's the result that I have:&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;It's quite unexpected, because I thought that I will get 7's everywhere, because ALL will remove all the filters. But as you can see there are several blank cells.&lt;/P&gt;&lt;P&gt;How do I make all cells equal to 7?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 20:54:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1120947#M16513</guid>
      <dc:creator>a_gaisin</dc:creator>
      <dc:date>2020-05-26T20:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1120970#M16514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="228639" data-lia-user-login="a_gaisin" class="lia-mention lia-mention-user"&gt;a_gaisin&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;Not sure what you want to acheive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Values are blank as there is no entry for IYEJ...... against nature =1&amp;nbsp; and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Incase you want all 7, you will need to add the entries in the source file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, wht is the end goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 21:05:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1120970#M16514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T21:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121019#M16519</link>
      <description>You will know why you don't get 7 everywhere if you open DAX Studio and intercept the query that your visual generates and sends to the calculation engine.&lt;BR /&gt;&lt;BR /&gt;You'll understand this result immediately.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Tue, 26 May 2020 21:30:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121019#M16519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T21:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121073#M16526</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; the initial example was quite artificial. Let me explain what I'm really trying to do. For each (project,nature) pair I want my measure to output the number of times it presents in the Table. For example, there's only one line corresponding to pair (0GWS..., 1) in the Table, and there's no lines corresponding to (1YEJ...,1). So, in the first case measure should output 1, and in the other - 0. Is there a way to do that? Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 22:20:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121073#M16526</guid>
      <dc:creator>a_gaisin</dc:creator>
      <dc:date>2020-05-26T22:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121086#M16528</link>
      <description>&lt;LI-CODE lang="csharp"&gt;[Row Count] = COUNTROWS( 'Table' ) + 0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 22:31:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121086#M16528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-26T22:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121124#M16533</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;thank you for response, I tried it already, and it doesn't work.&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 22:59:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121124#M16533</guid>
      <dc:creator>a_gaisin</dc:creator>
      <dc:date>2020-05-26T22:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALL doesn't work as expected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121159#M16536</link>
      <description>Looking at the DAX query that the matrix visual produces... It's not possible to do what you want to do.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Wed, 27 May 2020 00:25:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-doesn-t-work-as-expected/m-p/1121159#M16536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-27T00:25:40Z</dc:date>
    </item>
  </channel>
</rss>

