<?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 RELATED() &amp;quot;relationship doesnt exist&amp;quot; even though it does in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742073#M2309</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables, say TBL_MANY and TBL_ONE.&lt;/P&gt;&lt;P&gt;There exists a many to one relationship, which is&amp;nbsp;active and cross filter is defined both ways.&lt;/P&gt;&lt;P&gt;Filtering from the one to the other works in the report page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I create a rather trivial new calculated column in TBL_MANY:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;= RELATED(TBL_ONE[someColumn])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I get the error message back "The column xxxxx either doesn't exist or doesn't have a relationship to any table available in the current context."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I want to stress that intellisense does suggest the TBL_ONE and associated columns for autocompletion of RELATED( , so it appears indeed the relationship is recognized (just like "RELATEDTABLE(" properly autocompletes when I create a calculated column in TABLE_ONE, just as expected...).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Am I missing something mundain here?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thanks in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 17 Jul 2019 10:30:28 GMT</pubDate>
    <dc:creator>alldaydata</dc:creator>
    <dc:date>2019-07-17T10:30:28Z</dc:date>
    <item>
      <title>RELATED() "relationship doesnt exist" even though it does</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742073#M2309</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables, say TBL_MANY and TBL_ONE.&lt;/P&gt;&lt;P&gt;There exists a many to one relationship, which is&amp;nbsp;active and cross filter is defined both ways.&lt;/P&gt;&lt;P&gt;Filtering from the one to the other works in the report page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I create a rather trivial new calculated column in TBL_MANY:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;= RELATED(TBL_ONE[someColumn])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I get the error message back "The column xxxxx either doesn't exist or doesn't have a relationship to any table available in the current context."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I want to stress that intellisense does suggest the TBL_ONE and associated columns for autocompletion of RELATED( , so it appears indeed the relationship is recognized (just like "RELATEDTABLE(" properly autocompletes when I create a calculated column in TABLE_ONE, just as expected...).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Am I missing something mundain here?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thanks in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Jul 2019 10:30:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742073#M2309</guid>
      <dc:creator>alldaydata</dc:creator>
      <dc:date>2019-07-17T10:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: RELATED() "relationship doesnt exist" even though it does</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742098#M2314</link>
      <description>&lt;P&gt;No your not missing anything about the functions. It should work. Try deleting the relationship and set it to single filter direction. Then try again. Moreover, in my experience, when people use related, they are often trying to do something that can be done a better way. There is no need to add a column in the many table as that is what the relationship is for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 11:12:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742098#M2314</guid>
      <dc:creator>MattAllington</dc:creator>
      <dc:date>2019-07-17T11:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: RELATED() "relationship doesnt exist" even though it does</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742286#M2329</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the quick reply!&lt;/P&gt;&lt;P&gt;I tried that (delete entirely and reconnect + single direction), including disactivating and re-activating, but to no avail. Do you think this might be a bug? I just installed a new PBI version (64 bit) only yesterday...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand this trivial example makes no sense, but its what I ended up with while debugging. In reality I use RELATED() in a measure where I select rows in TBL_MANY in row context before aggregation, based on some criterium using variables in both tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 14:28:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742286#M2329</guid>
      <dc:creator>alldaydata</dc:creator>
      <dc:date>2019-07-17T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: RELATED() "relationship doesnt exist" even though it does</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742672#M2349</link>
      <description>&lt;P&gt;Can you please put a file with this issue somewhere on a cloud drive (OneDrive, Google Drive, Dropbox) and post a link to it? When doing it, please set the right read permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 22:17:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/742672#M2349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-17T22:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: RELATED() "relationship doesnt exist" even though it does</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/743523#M2386</link>
      <description>&lt;P&gt;I would (have), but my data is sensitive. I also cannot replicate the problem from two simple test tables with manual input, even though I see no difference with my case. I'll see if I can trim down and/or map out the senistive stuff while still keeping the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 14:22:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RELATED-quot-relationship-doesnt-exist-quot-even-though-it-does/m-p/743523#M2386</guid>
      <dc:creator>alldaydata</dc:creator>
      <dc:date>2019-07-18T14:22:58Z</dc:date>
    </item>
  </channel>
</rss>

