<?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: Fetch Relative Date from another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3079197#M107210</link>
    <description>&lt;P&gt;You are awesome ! Thanks much !&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 09:35:28 GMT</pubDate>
    <dc:creator>yogeshk77</dc:creator>
    <dc:date>2023-02-14T09:35:28Z</dc:date>
    <item>
      <title>Fetch Relative Date from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3077805#M107078</link>
      <description>&lt;P&gt;Need help to fetch relevant date field from other table please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have below two tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Release Calendar Table - Showing Date &amp;amp; Release number for some of the dates&lt;/STRONG&gt;&lt;/P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pull Request Table - Showing Code PR ID, Status &amp;amp; Committed Date&lt;/STRONG&gt;&lt;/P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I need a &lt;EM&gt;DAX experession&lt;/EM&gt; for a new &lt;EM&gt;Calculated Column&lt;/EM&gt; in &lt;EM&gt;Pull Request&lt;/EM&gt; Table, to show &lt;EM&gt;Release Date&lt;/EM&gt;&lt;BR /&gt;And Logic is -&lt;BR /&gt;( PR Commit Date &amp;gt; Release Date that belongs to Release number containing either &lt;STRONG&gt;SM RL&lt;/STRONG&gt; OR &lt;STRONG&gt;RM RL&lt;/STRONG&gt;&amp;nbsp;words AND Merge Status = Succeeded )&lt;BR /&gt;AND&lt;BR /&gt;( OR Commit Date &amp;lt;= Release Date that belongs to RElease Number containing either &lt;STRONG&gt;SM RL&lt;/STRONG&gt; OR &lt;STRONG&gt;RM RL&lt;/STRONG&gt;&amp;nbsp;words AND Merge Status = Succeeded )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For e.g. End Result should look something like this in&amp;nbsp;&lt;STRONG&gt;Pull Request Table&lt;/STRONG&gt;&lt;/P&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;</description>
      <pubDate>Tue, 14 Feb 2023 04:55:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3077805#M107078</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2023-02-14T04:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Relative Date from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3078842#M107176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="321070" data-lia-user-login="yogeshk77" class="lia-mention lia-mention-user"&gt;yogeshk77&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have created a simple sample, please refer to my pbix file to see if it helps you.&lt;/P&gt;
&lt;P&gt;Create measures.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = var _1=IF(CONTAINSSTRING(MAX('Release Calendar Table'[Release Number]),"SM RL"),1,IF(CONTAINSSTRING(MAX('Release Calendar Table'[Release Number]),"RM RL"),1,BLANK()))
RETURN _1&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure 2 = MINX(FILTER(ALL('Release Calendar Table'),'Release Calendar Table'[Release date]&amp;gt;=MAX('Pull Request Table'[Commit Date])&amp;amp;&amp;amp;[Measure]=1),'Release Calendar Table'[Release date])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 05:47:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3078842#M107176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-14T05:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Relative Date from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3078867#M107179</link>
      <description>&lt;P&gt;CalculatedColumn=IF(PullRequestTable[Merge Status]="succeeded",MINXX(FILTER(ReleaseCalendarTable,(CONTAINSSTRING(ReleaseCalendarTable[Release Number],"SM RL")||CONTAINSSTRING(ReleaseCalendarTable[Release Number],"RM RL"))&amp;amp;&amp;amp;ReleaseCalendarTable[Release Date]&amp;gt;=PullRequestTable[Commit Date]),ReleaseCalendarTable[Release Date]))&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 06:15:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3078867#M107179</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-02-14T06:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Relative Date from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3079197#M107210</link>
      <description>&lt;P&gt;You are awesome ! Thanks much !&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 09:35:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3079197#M107210</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2023-02-14T09:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Relative Date from another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3079202#M107211</link>
      <description>&lt;P&gt;Thank you for help, but I needed a Custom Column instead of a measure. Got the solution now. Thank you anyways.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 09:36:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Relative-Date-from-another-table/m-p/3079202#M107211</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2023-02-14T09:36:39Z</dc:date>
    </item>
  </channel>
</rss>

