<?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: Get particular column value if previous and current date data are different in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2845972#M91071</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="445468" data-lia-user-login="ghost10" class="lia-mention lia-mention-user"&gt;ghost10&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this method:&lt;/P&gt;
&lt;P&gt;Here are my Sample data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then create a new table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result Table =
SUMMARIZE (
    'Table',
    'Table'[SecurityID],
    'Table'[Snp rating],
    Table2[Current snp rating],
    "Select ID",
        IF (
            'Table'[Snp rating] = 'Table2'[Current snp rating],
            'Table'[SecurityID],
            BLANK ()
        )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Yinliw&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 08:53:42 GMT</pubDate>
    <dc:creator>v-yinliw-msft</dc:creator>
    <dc:date>2022-10-17T08:53:42Z</dc:date>
    <item>
      <title>Get particular column value if previous and current date data are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2843054#M90869</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have columns called Snp rating , security id and holdings date.&lt;/P&gt;&lt;P&gt;Logic is get security id only&amp;nbsp; if current date snp rating &amp;amp; previous date snp rating are different for same we should not get any security id.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 16:33:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2843054#M90869</guid>
      <dc:creator>ghost10</dc:creator>
      <dc:date>2022-10-14T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get particular column value if previous and current date data are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2843064#M90871</link>
      <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Column1&lt;/TD&gt;&lt;TD&gt;Column2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2.5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;What do you consider a previous date in this scenario? Current date - 1 day, previous entry in the table, biggest date smaller than current, other? Also is there any additional key that's relevant (e.g. different companies/items that are rated on the same days? Can there be duplicate dates for single entity?&lt;/P&gt;&lt;P&gt;Also, are you looking for Dax or M solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 16:49:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2843064#M90871</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2022-10-14T16:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get particular column value if previous and current date data are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2845972#M91071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="445468" data-lia-user-login="ghost10" class="lia-mention lia-mention-user"&gt;ghost10&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this method:&lt;/P&gt;
&lt;P&gt;Here are my Sample data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then create a new table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result Table =
SUMMARIZE (
    'Table',
    'Table'[SecurityID],
    'Table'[Snp rating],
    Table2[Current snp rating],
    "Select ID",
        IF (
            'Table'[Snp rating] = 'Table2'[Current snp rating],
            'Table'[SecurityID],
            BLANK ()
        )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Yinliw&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 08:53:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-particular-column-value-if-previous-and-current-date-data/m-p/2845972#M91071</guid>
      <dc:creator>v-yinliw-msft</dc:creator>
      <dc:date>2022-10-17T08:53:42Z</dc:date>
    </item>
  </channel>
</rss>

