<?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 Data with no active relation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3480335#M133029</link>
    <description>&lt;P&gt;Hi &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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using calculated columns as a context, so you need to use the EARLIER function. Based on your sample, I get the following results:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX for New column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AHA WSJF Score =
VAR CurrentProjectName = [PO Project Name]
RETURN
       CALCULATE(
        MAX('Aha Features'[Feature product value score]),
        FILTER('Aha Features', 'Aha Features'[POProjectNameCleaned] = EARLIER(Features[PO Project Name])),ALL(Features))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've also created a Measure for you that does the same thing, which you can download as an attachment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Scott Chang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 06:23:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-17T06:23:50Z</dc:date>
    <item>
      <title>Fetch Data with no active relation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3478378#M132939</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://drive.google.com/file/d/103kwhZMwvEXR7PInykH3nscMzoxg_sOj/view?usp=drive_link" target="_blank" rel="noopener"&gt;this Power BI File&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have a table called "Aha Features" with two fields (Shown in the report)&lt;/P&gt;&lt;P&gt;Now, there is another table called "Features" (also show in the report), that does not have active relationship with the column with similar name in&amp;nbsp;"Aha Features" table.&lt;BR /&gt;&lt;BR /&gt;Now, I need to show Score in&amp;nbsp;"Features" table (In field called "AHA WSJF Score") ,but the calculated column I have added, isn't working (Showing blank values for all rows as seen in the table visual for "Feature" table visual).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem may be because of the relationships between "Epic" table &amp;amp;&amp;nbsp;"Aha Features" on the same column as that between&amp;nbsp;"Features" and&amp;nbsp;"Aha Features" table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the solution?&lt;BR /&gt;Can someone please help me?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 09:23:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3478378#M132939</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2023-10-16T09:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Data with no active relation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3480335#M133029</link>
      <description>&lt;P&gt;Hi &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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using calculated columns as a context, so you need to use the EARLIER function. Based on your sample, I get the following results:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX for New column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AHA WSJF Score =
VAR CurrentProjectName = [PO Project Name]
RETURN
       CALCULATE(
        MAX('Aha Features'[Feature product value score]),
        FILTER('Aha Features', 'Aha Features'[POProjectNameCleaned] = EARLIER(Features[PO Project Name])),ALL(Features))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've also created a Measure for you that does the same thing, which you can download as an attachment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Scott Chang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 06:23:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3480335#M133029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-17T06:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Data with no active relation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3480525#M133039</link>
      <description>&lt;P&gt;Brilliant !!! Thanks a lot !&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 07:54:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Fetch-Data-with-no-active-relation/m-p/3480525#M133039</guid>
      <dc:creator>yogeshk77</dc:creator>
      <dc:date>2023-10-17T07:54:47Z</dc:date>
    </item>
  </channel>
</rss>

