<?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: Search and Identify Values in a column based on their associated dates in another column as compare in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3393611#M1128564</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="16428" data-lia-user-login="tbobolz" class="lia-mention lia-mention-user"&gt;tbobolz&lt;/a&gt;&amp;nbsp;try this as a column in MRN table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Number of Days = 
VAR __LastVisit = MAXX ( RELATEDTABLE ( 'DOS Table' ), 'DOS Table'[DOS Date] )
VAR __NumberOfDaysSinceLastVisit = DATEDIFF ( __LastVisit, TODAY (), DAY )
RETURN
IF ( __NumberOfDaysSinceLastVisit &amp;gt; 182, "Yes", "No" )
&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 23 Aug 2023 00:14:10 GMT</pubDate>
    <dc:creator>parry2k</dc:creator>
    <dc:date>2023-08-23T00:14:10Z</dc:date>
    <item>
      <title>Search and Identify Values in a column based on their associated dates in another column as compare</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3393579#M1128554</link>
      <description>&lt;P&gt;Hi All, been a while since I have needed help, but this one has had me stumped nearly all day. Appreciate an guidance you can offer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All in the same table, I have medical patients account numbers called "medical record numbers" in a column titled MRN, I have service dates in another column titled DOS. A patient can have many visits on any date , yet they are always assigned the same value in the MRN column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to create a new column that return Y or N if the patient has not been seen in over 6 months from today.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So an expression would need to look at all "like" MRN values, compare each MRN's service date to see if their most recent date (DOS) is greater than 182.5 days from TODAY. Then return a Y or No for all those like MRN values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried several different angle with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for looking at my post!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 23:39:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3393579#M1128554</guid>
      <dc:creator>tbobolz</dc:creator>
      <dc:date>2023-08-22T23:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Identify Values in a column based on their associated dates in another column as compare</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3393611#M1128564</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="16428" data-lia-user-login="tbobolz" class="lia-mention lia-mention-user"&gt;tbobolz&lt;/a&gt;&amp;nbsp;try this as a column in MRN table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Number of Days = 
VAR __LastVisit = MAXX ( RELATEDTABLE ( 'DOS Table' ), 'DOS Table'[DOS Date] )
VAR __NumberOfDaysSinceLastVisit = DATEDIFF ( __LastVisit, TODAY (), DAY )
RETURN
IF ( __NumberOfDaysSinceLastVisit &amp;gt; 182, "Yes", "No" )
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 23 Aug 2023 00:14:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3393611#M1128564</guid>
      <dc:creator>parry2k</dc:creator>
      <dc:date>2023-08-23T00:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Identify Values in a column based on their associated dates in another column as compare</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3441653#M1141673</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="507" data-lia-user-login="parry2k" class="lia-mention lia-mention-user"&gt;parry2k&lt;/a&gt;&amp;nbsp;, sorry for the delayed response, I did not receive notice of a response so I though my question went unanswered, excited to givre this a try and will let you know. Truly apprecaite your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 14:15:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Search-and-Identify-Values-in-a-column-based-on-their-associated/m-p/3441653#M1141673</guid>
      <dc:creator>tbobolz</dc:creator>
      <dc:date>2023-09-21T14:15:46Z</dc:date>
    </item>
  </channel>
</rss>

