<?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: The UseRelationship() and CrossFilter() functions may not be used when querying 'fact_restarts' in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3207608#M116877</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Could be this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/aae38bbc-a4bf-4e86-97f1-c89dc65c1867/userelationship-function-cannot-be-used-while-querying-table-mytable-because-of-the-row-level?forum=sqlanalysisservices" target="_self" rel="nofollow noopener noreferrer"&gt;link to forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Marco's answer:&lt;/P&gt;
&lt;PRE&gt;The use of USERELATIONSHIP is not supported in security roles. &lt;BR /&gt;Use ALL and FILTER manually, check the "virtual relationship" pattern here: &lt;BR /&gt;&lt;BR /&gt;http://www.daxpatterns.com/handling-different-granularities/&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/aae38bbc-a4bf-4e86-97f1-c89dc65c1867/userelationship-function-cannot-be-used-while-querying-table-mytable-because-of-the-row-level?forum=sqlanalysisservices" target="_blank"&gt;USERELATIONSHIP function cannot be used while querying table 'MyTable' because of the row level security defined on table 'UserSecurity' (microsoft.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, need more information than what has been provided.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 15:44:29 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-04-26T15:44:29Z</dc:date>
    <item>
      <title>The UseRelationship() and CrossFilter() functions may not be used when querying 'fact_restarts'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3206824#M116812</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A user is getting below error while accessing some of the drill throughs in PowerBI dashboard in service.&lt;/P&gt;&lt;P&gt;We have indeed used USERELATIONSHIP function in our measures..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help as it is quite urgent and business is impacted.&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:41:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3206824#M116812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-26T08:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: The UseRelationship() and CrossFilter() functions may not be used when querying 'fact_restarts'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3207608#M116877</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Could be this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/aae38bbc-a4bf-4e86-97f1-c89dc65c1867/userelationship-function-cannot-be-used-while-querying-table-mytable-because-of-the-row-level?forum=sqlanalysisservices" target="_self" rel="nofollow noopener noreferrer"&gt;link to forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Marco's answer:&lt;/P&gt;
&lt;PRE&gt;The use of USERELATIONSHIP is not supported in security roles. &lt;BR /&gt;Use ALL and FILTER manually, check the "virtual relationship" pattern here: &lt;BR /&gt;&lt;BR /&gt;http://www.daxpatterns.com/handling-different-granularities/&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/aae38bbc-a4bf-4e86-97f1-c89dc65c1867/userelationship-function-cannot-be-used-while-querying-table-mytable-because-of-the-row-level?forum=sqlanalysisservices" target="_blank"&gt;USERELATIONSHIP function cannot be used while querying table 'MyTable' because of the row level security defined on table 'UserSecurity' (microsoft.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, need more information than what has been provided.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:44:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3207608#M116877</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-04-26T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: The UseRelationship() and CrossFilter() functions may not be used when querying 'fact_restarts'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3222657#M117864</link>
      <description>&lt;P&gt;Super, thanks a lot&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 17:31:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/The-UseRelationship-and-CrossFilter-functions-may-not-be-used/m-p/3222657#M117864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-05T17:31:11Z</dc:date>
    </item>
  </channel>
</rss>

