<?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: How to show BLANK in matrix header if any records are blank in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949132#M42475</link>
    <description>&lt;P&gt;Very good. Schema below. Basically, TAXLOT_DETAILS has a M-M relationship with POSITION_DETAILS** and ACCOUNT_DETAILS has a 1-M relationship with POSITION_DETAILS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;** M-M relationships are dangerous, but in this case, believed to be OK, since the field causing the M-M relationship isn't used in the model. In a perfect schema, I'd just remove the offending record. I'll get there, but I &lt;EM&gt;think&lt;/EM&gt; that's a separate issue.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jul 2021 12:32:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-12T12:32:51Z</dc:date>
    <item>
      <title>How to show BLANK in matrix header if any records are blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1948825#M42449</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix visual using "Accounts," "Positions," and "Lots". An account can have multiple positions, and a position can have multiple lots.&lt;/P&gt;&lt;P&gt;1 Account --&amp;gt; multiple Positions&lt;/P&gt;&lt;P&gt;1 Position --&amp;gt; multiple Lots&lt;/P&gt;&lt;P&gt;Some lots have "Close Dates." What I'd like to have happen is, if a position has &lt;STRONG&gt;any&lt;/STRONG&gt; lots with blank close dates, return blank in the matrix header for that position. If all lots have close dates in a position, return the latest lot close date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in the attachment below: If the crossed out record were blank, the header at the position-level would be blank as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to use this modified "lot close date" field in the matrix, so the same logic applies at the account level as well: if any child is blank, the matrix header is blank as well. Else, return the latest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 17:58:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1948825#M42449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-09T17:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to show BLANK in matrix header if any records are blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1948986#M42462</link>
      <description>&lt;P&gt;Please show the model.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 19:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1948986#M42462</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-07-09T19:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to show BLANK in matrix header if any records are blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1948996#M42464</link>
      <description>&lt;P&gt;Not sure what you mean. A screenshot of the schema?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 19:40:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1948996#M42464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-09T19:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to show BLANK in matrix header if any records are blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949109#M42472</link>
      <description>&lt;P&gt;Yes. To write DAX one has to know how tables are linked and which attributes belong to which tables.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 20:34:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949109#M42472</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-07-09T20:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to show BLANK in matrix header if any records are blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949132#M42475</link>
      <description>&lt;P&gt;Very good. Schema below. Basically, TAXLOT_DETAILS has a M-M relationship with POSITION_DETAILS** and ACCOUNT_DETAILS has a 1-M relationship with POSITION_DETAILS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;** M-M relationships are dangerous, but in this case, believed to be OK, since the field causing the M-M relationship isn't used in the model. In a perfect schema, I'd just remove the offending record. I'll get there, but I &lt;EM&gt;think&lt;/EM&gt; that's a separate issue.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 12:32:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949132#M42475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-12T12:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to show BLANK in matrix header if any records are blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949164#M42478</link>
      <description>&lt;P&gt;All I can see from the picture is that the model is by all appearances &lt;STRONG&gt;AMBIGUOUS&lt;/STRONG&gt;. You've got 2 different paths that filter Position_Details: 1) directly from Account_Details and 2) indirectly from Account_Details through Taxlot_Details and then to Position_Details. If you go to YT and look for a vid by Alberto Ferrari on composite models, you'll see why such a design should be abandoned in favour of a different model devoid of this fatal flaw. The same issue is present in another path: from Navigation_Account to Position_Details. This model is BAD. Very bad. Seriously, if you don't do this right now, you are shooting yourself in the foot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"M-M relationships are dangerous, but in this case, believed to be OK, since the field causing the M-M relationship isn't used in the model."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As much as I can tell you, the fact that a field is "not used in the model" is irrelevant. You've got 2 issues in the model that make it essentially unusable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please watch this:&amp;nbsp;&lt;A href="https://youtu.be/x3m7qzsVJqQ" target="_blank"&gt;https://youtu.be/x3m7qzsVJqQ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and read this:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models" target="_blank"&gt;Use composite models in Power BI Desktop - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 22:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-BLANK-in-matrix-header-if-any-records-are-blank/m-p/1949164#M42478</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-07-09T22:07:51Z</dc:date>
    </item>
  </channel>
</rss>

