<?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: Unsolvable DAX conundrum in Matrix Visual? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3616049#M139801</link>
    <description>&lt;P&gt;That's because the row/column value is blank for those, which is treated like a zero when compared to 1-10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what totals actually make sense in your scenario, so I didn't attempt to adjust them.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 17:04:25 GMT</pubDate>
    <dc:creator>AlexisOlson</dc:creator>
    <dc:date>2024-01-04T17:04:25Z</dc:date>
    <item>
      <title>Unsolvable DAX conundrum in Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3615913#M139795</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a matrix visual that is made from 2 unrelated tables and measures that executes against those 2 tables.&lt;BR /&gt;&lt;BR /&gt;Test Measures:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Positive = 
    IF ( 
        SELECTEDVALUE ( 'Columns'[Value] ) = SELECTEDVALUE ( 'Rows'[Value] ), 
        BLANK(), 
        RANDBETWEEN ( 10, 100 )
    )&lt;/LI-CODE&gt;&lt;LI-CODE lang="c"&gt;Negative = 
    IF ( 
        SELECTEDVALUE ( 'Columns'[Value] ) = SELECTEDVALUE ( 'Rows'[Value] ), 
        BLANK(), 
        RANDBETWEEN ( 10, 100 ) * - 1 
    )&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;What I would like to do is to merge the 2 measures such that the positive values display above the diagonal line and the negative values are displayed below the negative values.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I am having problems even approaching the issue, here is the powerbi file for reference:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://file.io/ZPVaVYkPmMrz" target="_blank"&gt;https://file.io/ZPVaVYkPmMrz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Would really appreciate if someone could point me in the right direction.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:54:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3615913#M139795</guid>
      <dc:creator>zazaalaza</dc:creator>
      <dc:date>2024-01-04T15:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unsolvable DAX conundrum in Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3615985#M139798</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;VAR _Row = SELECTEDVALUE ( 'Rows'[Value] )
VAR _Col = SELECTEDVALUE ( 'Columns'[Value] )
RETURN
    SWITCH (
        TRUE (),
        _Row &amp;lt; _Col, RANDBETWEEN ( 10, 100 ),
        _Row &amp;gt; _Col, RANDBETWEEN ( 10, 100 ) * -1
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:25:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3615985#M139798</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2024-01-04T16:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unsolvable DAX conundrum in Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3616035#M139800</link>
      <description>&lt;P&gt;The totals are reversed, Should also be negative and positive &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; But cool, this already works&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:50:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3616035#M139800</guid>
      <dc:creator>zazaalaza</dc:creator>
      <dc:date>2024-01-04T16:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unsolvable DAX conundrum in Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3616049#M139801</link>
      <description>&lt;P&gt;That's because the row/column value is blank for those, which is treated like a zero when compared to 1-10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what totals actually make sense in your scenario, so I didn't attempt to adjust them.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:04:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unsolvable-DAX-conundrum-in-Matrix-Visual/m-p/3616049#M139801</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2024-01-04T17:04:25Z</dc:date>
    </item>
  </channel>
</rss>

