<?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 Hide empty column and replace null by zero in matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2319517#M57905</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need your help please !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a diagram explaining my problem and the expected result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;</description>
    <pubDate>Fri, 04 Feb 2022 10:04:11 GMT</pubDate>
    <dc:creator>mahsy</dc:creator>
    <dc:date>2022-02-04T10:04:11Z</dc:date>
    <item>
      <title>Hide empty column and replace null by zero in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2319517#M57905</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need your help please !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a diagram explaining my problem and the expected result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 10:04:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2319517#M57905</guid>
      <dc:creator>mahsy</dc:creator>
      <dc:date>2022-02-04T10:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hide empty column and replace null by zero in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2319899#M57919</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332483" data-lia-user-login="mahsy" class="lia-mention lia-mention-user"&gt;mahsy&lt;/a&gt; , Try a measure like &lt;/P&gt;
&lt;P&gt;calculate(sum(Table[Value]), filter(allselected(Table), Table[AXE1] = max(Table[AXE1] ) &amp;amp;&amp;amp; Table[AXE2] = max(Table[AXE2] ) ) )&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 13:41:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2319899#M57919</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-04T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hide empty column and replace null by zero in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2320382#M57944</link>
      <description>&lt;P&gt;Hi, thank you for your response !&lt;/P&gt;&lt;P&gt;I get this error with your formula.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 17:16:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2320382#M57944</guid>
      <dc:creator>mahsy</dc:creator>
      <dc:date>2022-02-04T17:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hide empty column and replace null by zero in matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2329680#M58475</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332483" data-lia-user-login="mahsy" class="lia-mention lia-mention-user"&gt;mahsy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Maybe the formula is not standardized enough, try this one:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    SUM ( 'Table'[Value] ),
    FILTER (
        ALLSELECTED ( 'Table' ),
        'Table'[AXE1] = MAX ( 'Table'[AXE1] )
            &amp;amp;&amp;amp; 'Table'[AXE2] = MAX ( 'Table'[AXE2] )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;This can get the result by your sample.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I attach my sample below for reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ kalyj&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 03:21:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-empty-column-and-replace-null-by-zero-in-matrix/m-p/2329680#M58475</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2022-02-10T03:21:34Z</dc:date>
    </item>
  </channel>
</rss>

