<?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 COMPARE &amp;quot;COLUMNS&amp;quot; IN MATRIX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1690330#M34744</link>
    <description>&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;Boa tarde,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT&gt;Gostaria de saber se existe alguma forma de comparar colunas em um array para criar um filtro "diferente", estou tendo dificuldades porque na verdade essa coluna é uma linha.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT&gt;Exemplo (imagem): onde o valor do dia 05 ao diferente do dia 06, continua a aparecer na matriz.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 18:22:02 GMT</pubDate>
    <dc:creator>TI_Distrimed</dc:creator>
    <dc:date>2021-02-25T18:22:02Z</dc:date>
    <item>
      <title>COMPARE "COLUMNS" IN MATRIX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1690330#M34744</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;Boa tarde,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT&gt;Gostaria de saber se existe alguma forma de comparar colunas em um array para criar um filtro "diferente", estou tendo dificuldades porque na verdade essa coluna é uma linha.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT&gt;Exemplo (imagem): onde o valor do dia 05 ao diferente do dia 06, continua a aparecer na matriz.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 18:22:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1690330#M34744</guid>
      <dc:creator>TI_Distrimed</dc:creator>
      <dc:date>2021-02-25T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: COMPARE "COLUMNS" IN MATRIX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1691059#M34775</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287466" data-lia-user-login="TI_Distrimed" class="lia-mention lia-mention-user"&gt;TI_Distrimed&lt;/a&gt; , I have not got it completely. In power bi, there is no diff between columns. So you have to create measures like this &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This Day = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])))&lt;BR /&gt;Last Day = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])-1))&lt;BR /&gt;Last Day = CALCULATE(sum('order'[Qty]), previousday('Date'[Date]))&lt;BR /&gt;&lt;BR /&gt;diff =[This Day] - [Last Day]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :&lt;A href="https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions" target="_blank"&gt;radacad&lt;/A&gt; &lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;sqlbi&lt;/A&gt; &lt;A href="https://www.youtube.com/playlist?list=PLPaNVDMhUXGYLz-w8ERQOo3KYARs7GgG-" target="_blank"&gt;My Video Series&lt;/A&gt; Appreciate your Kudos. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 05:43:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1691059#M34775</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-26T05:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: COMPARE "COLUMNS" IN MATRIX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1692844#M34814</link>
      <description>&lt;P&gt;thank you so much! It worked ... sorry if I didn't explain it clearly.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 17:57:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/COMPARE-quot-COLUMNS-quot-IN-MATRIX/m-p/1692844#M34814</guid>
      <dc:creator>TI_Distrimed</dc:creator>
      <dc:date>2021-02-26T17:57:21Z</dc:date>
    </item>
  </channel>
</rss>

