<?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 Issues with Filtering Tables in Power BI After Manual Relationship Setup in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4242602#M167966</link>
    <description>&lt;P&gt;I'm facing a strange issue. I loaded data using a direct query with an imported relationship, and I can filter the table using the following code:&lt;/P&gt;&lt;P&gt;Filter(Direct Query Imported Relationship Table, related(lookup table[fiscal year]) &amp;gt; 2024).&lt;/P&gt;&lt;P&gt;However, when I set up the relationship manually, I can no longer filter the table with this code:&lt;/P&gt;&lt;P&gt;Filter(Manually Set Up Relationship Table, related(lookup table[fiscal year]) &amp;gt; 2024).&lt;/P&gt;&lt;P&gt;Power BI throws an error saying, "Column doesn't exist or doesn't have a relationship to any table available in the current context." Does anyone know why this is happening?&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;SPAN&gt;All Relationship are many to one, cross filter direction is single.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 07:57:39 GMT</pubDate>
    <dc:creator>jzhao</dc:creator>
    <dc:date>2024-10-15T07:57:39Z</dc:date>
    <item>
      <title>Issues with Filtering Tables in Power BI After Manual Relationship Setup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4242602#M167966</link>
      <description>&lt;P&gt;I'm facing a strange issue. I loaded data using a direct query with an imported relationship, and I can filter the table using the following code:&lt;/P&gt;&lt;P&gt;Filter(Direct Query Imported Relationship Table, related(lookup table[fiscal year]) &amp;gt; 2024).&lt;/P&gt;&lt;P&gt;However, when I set up the relationship manually, I can no longer filter the table with this code:&lt;/P&gt;&lt;P&gt;Filter(Manually Set Up Relationship Table, related(lookup table[fiscal year]) &amp;gt; 2024).&lt;/P&gt;&lt;P&gt;Power BI throws an error saying, "Column doesn't exist or doesn't have a relationship to any table available in the current context." Does anyone know why this is happening?&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;SPAN&gt;All Relationship are many to one, cross filter direction is single.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 07:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4242602#M167966</guid>
      <dc:creator>jzhao</dc:creator>
      <dc:date>2024-10-15T07:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Filtering Tables in Power BI After Manual Relationship Setup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4242693#M167969</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="631417" data-lia-user-login="jzhao" class="lia-mention lia-mention-user"&gt;jzhao&lt;/a&gt;&amp;nbsp;Hi, can you paste the screen of the relationship?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BBF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 07:52:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4242693#M167969</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2024-10-15T07:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Filtering Tables in Power BI After Manual Relationship Setup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4244156#M168032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="631417" data-lia-user-login="jzhao" class="lia-mention lia-mention-user"&gt;jzhao&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;BeaBF&amp;nbsp; mentioned, check the model relationships between your tables.&lt;/P&gt;
&lt;P&gt;You will get the error for the relationship shown below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You need to change your model relationships to output properly with lookup table as one end table, see&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/using-related-and-relatedtable-in-dax/" target="_blank"&gt;Using RELATED and RELATEDTABLE in DAX - SQLBI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/get-a-field-value-from-a-related-table-in-power-bi-dax-related-function-explained" target="_blank"&gt;Get a field value from a related table in Power BI: DAX RELATED Function Explained - RADACAD&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution &lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 06:10:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-Filtering-Tables-in-Power-BI-After-Manual/m-p/4244156#M168032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-16T06:10:47Z</dc:date>
    </item>
  </channel>
</rss>

