<?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 compare row values based on multiple criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1303145#M22601</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share some sample data in text format.&lt;/P&gt;
&lt;P&gt;You can remove all sensitive information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 07:35:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-18T07:35:41Z</dc:date>
    <item>
      <title>how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301339#M22545</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;I have a table which list employee's job title and job bands across years. I have sorted data by employee id and job year.&amp;nbsp; I need to find out how employees' job has changed over years.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;I have created a new column called job change, the DAX command below doesn't work. I am stuck with the value function here, I know for each job year and each employee id, there is only one line of data existing in DB, but I don't know how to extract JobCode2 value.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;job change = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR prevBand = MAXX(filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])-1),'merit 18-21'[band])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR CurrentBand = MAXX(filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])),'merit 18-21'[band])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR prevJob = value('merit 18-21'[JobCode2], filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])-1))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR currentJob=value('merit 18-21'[JobCode2], filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(prevBand &amp;lt; CurrentBand, "Promotion",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(prevJob&amp;lt;&amp;gt;CurrentJob,"Lateral Movement","no change"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 13:53:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301339#M22545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T13:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301350#M22546</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;-&amp;nbsp;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 13:57:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301350#M22546</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-17T13:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301373#M22550</link>
      <description>&lt;P&gt;Hi Greg,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to achieve is to compare employee's job code and band year by year,&amp;nbsp;&lt;/P&gt;&lt;P&gt;if the band has increased from previous year to current, that means the employee receives a promotion,&lt;/P&gt;&lt;P&gt;if the band has remained the same/decreased, and the job code remain the same, the employee goes through a laternal job movement,&amp;nbsp;&lt;/P&gt;&lt;P&gt;if band remained the same/decreased and job code remains the same, the employee's job has not changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it's easy to the embedded if functoin in Excel, but given everything is automated in Power BI so far, i don't want to add a manual input formula here.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:04:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301373#M22550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301500#M22552</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your 2nd and 3rd conditions are the same I believe, can you check?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:48:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301500#M22552</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-17T14:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301824#M22560</link>
      <description>&lt;P&gt;My apologies for the typo in my statement. It is corrected below. However, that doesn't explain why the DAX formula fails, i have tested it, it looks the value() part has caused a syntax error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if the band has increased from previous year to current, that means the employee receives a promotion,&lt;/P&gt;&lt;P&gt;if the band has remained the same/decreased &amp;amp;&amp;amp; the job code has changed from previous year, the employee goes through a laternal job movement,&amp;nbsp;&lt;/P&gt;&lt;P&gt;if band remained the same/decreased and job code remains the same, the employee's job has not changed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 17:09:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301824#M22560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T17:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301863#M22561</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;job change =
VAR prevBand = MAXX(filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])-1)),'merit 18-21'[band])
VAR CurrentBand = MAXX(filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])),'merit 18-21'[band])
VAR prevJob = CALCULATE(MAX('merit 18-21'[JobCode2]), filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])-1))
VAR currentJob=CALCULATE(MAX('merit 18-21'[JobCode2]), filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])))

RETURN
SWITCH(
TRUE(),

//prevBand &amp;lt; CurrentBand, "Promotion",
//prevJob &amp;lt;&amp;gt; CurrentJob,"Lateral Movement",
//"no change")

prevBand
//CurrentBand
//prevJob
//CurrentJob&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try troubleshooting removing the commented value one by one and see if you are getting the correct values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 17:33:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1301863#M22561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T17:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1302991#M22595</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hi, Add the following DAX code as a new column in your table and correct the table and column names as necessary.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Job Change Status = 
VAR U = [User ID]
VAR Y = [Job Year]
VAR _TABLE = 
FILTER(
    ADDCOLUMNS(
        FILTER (
            GENERATE (
                'merit 18-21',
                SELECTCOLUMNS (
                    'merit 18-21',
                    "2YR", 'merit 18-21'[Job Year],
                    "2BAND", 'merit 18-21'[band],
                    "2JOB", 'merit 18-21'[JobCode2],
                    "2USER", 'merit 18-21'[User ID]
                )
            ),
            'merit 18-21'[User ID] = [2USER] &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = [2YR] + 1
        ),
        "Job Change",
            SWITCH(
                TRUE(),
                NOT('merit 18-21'[band] &amp;gt; [2band]) &amp;amp;&amp;amp; 'merit 18-21'[JobCode2] = [2JOB], "NO CHANGE",
                'merit 18-21'[band] &amp;gt; [2band], "PROMOTION",
                NOT('merit 18-21'[band] &amp;gt; [2band]) &amp;amp;&amp;amp; 'merit 18-21'[JobCode2] &amp;lt;&amp;gt; [2JOB], "LATERAL JOB MOVEMENT",
                "STATUS NOT IDENTIFIED"                
            )
    ),
    'merit 18-21'[User ID] = U &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = Y
) 
 RETURN
MAXX(_TABLE,[Job Change])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? &lt;STRONG&gt;Mark this post as a solution&lt;/STRONG&gt;, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up&lt;/STRONG&gt; icon if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 06:48:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1302991#M22595</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-18T06:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1303125#M22600</link>
      <description>&lt;P&gt;Thanks for coming back, Harsh.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a bit update to remove syntax error (see below), the commands works with no error message, but the result is not correct. It doesn't work when there is no previous data (e.g., only 2018 data exist for user id 00001).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also wondering if MAX formula will work when it deals with a text column (here column JobCode2)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;job change = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR prevBand = MAXX(filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])-1),'merit 18-21'[band])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR CurrentBand = MAXX(filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])),'merit 18-21'[band])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR prevJob = CALCULATE(MAX('merit 18-21'[JobCode2]), filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])-1))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR currentJob=CALCULATE(MAX('merit 18-21'[JobCode2]), filter('merit 18-21', 'merit 18-21'[User ID] =EARLIER('merit 18-21'[User ID]) &amp;amp;&amp;amp; 'merit 18-21'[Job Year] = EARLIER('merit 18-21'[Job Year])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;prevBand &amp;lt; CurrentBand, "Promotion",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;prevJob &amp;lt;&amp;gt; CurrentJob,"Lateral Movement",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;"no change")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;//prevBand&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//CurrentBand&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//prevJob&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//CurrentJob)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Aug 2020 07:29:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1303125#M22600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-18T07:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1303145#M22601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share some sample data in text format.&lt;/P&gt;
&lt;P&gt;You can remove all sensitive information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 07:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/1303145#M22601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-18T07:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare row values based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/2953768#M98044</link>
      <description>&lt;P&gt;Tried replicating the same but getting below error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX comparison operations do not support comparing values of type Text with values of type Number. Consider using the VALUE or FORMAT function to convert one of the values.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 10:36:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-row-values-based-on-multiple-criteria/m-p/2953768#M98044</guid>
      <dc:creator>NMK015</dc:creator>
      <dc:date>2022-12-07T10:36:30Z</dc:date>
    </item>
  </channel>
</rss>

