<?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 in Direct Query Mode in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2939998#M97059</link>
    <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do basic calculation Related in the Direct Query mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales Amount = RELATED('product'[Unit_Price]) * sales_streaming[Units]&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;and i get the following error:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any work around to perform the calculation between two tables in the direct query mode?&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 21:00:41 GMT</pubDate>
    <dc:creator>RT6</dc:creator>
    <dc:date>2022-11-30T21:00:41Z</dc:date>
    <item>
      <title>Related in Direct Query Mode</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2939998#M97059</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do basic calculation Related in the Direct Query mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales Amount = RELATED('product'[Unit_Price]) * sales_streaming[Units]&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;and i get the following error:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any work around to perform the calculation between two tables in the direct query mode?&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 21:00:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2939998#M97059</guid>
      <dc:creator>RT6</dc:creator>
      <dc:date>2022-11-30T21:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Related in Direct Query Mode</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2941070#M97144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="452382" data-lia-user-login="RT6" class="lia-mention lia-mention-user"&gt;RT6&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This error is thrown when some aggregation (in this case the count) is been translated to M for execution, so it's not really SQL yet . You can check your query in Power Query Editor to see whether some queries&amp;nbsp;affect your operation .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 07:07:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2941070#M97144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-01T07:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Related in Direct Query Mode</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2941231#M97154</link>
      <description>&lt;P&gt;Hi Alisa!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks fro your answer.&lt;/P&gt;&lt;P&gt;The issue is after any transformation in Power Query, like split columns, change data type etc i get the following error:&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;I need to maintain Direct Query connection. I can aggregate two tables for example, but i cannot change data type even in PB Desktop, so i cannot perform any calculations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 08:04:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2941231#M97154</guid>
      <dc:creator>RT6</dc:creator>
      <dc:date>2022-12-01T08:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Related in Direct Query Mode</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2941322#M97165</link>
      <description>&lt;P&gt;What i also found in this paper, Related should be supported in DAX:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlbi.com/whitepapers/directquery-in-analysis-services-2016/" target="_blank"&gt;https://www.sqlbi.com/whitepapers/directquery-in-analysis-services-2016/&lt;/A&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 08:40:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2941322#M97165</guid>
      <dc:creator>RT6</dc:creator>
      <dc:date>2022-12-01T08:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Related in Direct Query Mode</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2943196#M97279</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="452382" data-lia-user-login="RT6" class="lia-mention lia-mention-user"&gt;RT6&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you use conditional formatting for your fields when your connection mode is Import ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 02:09:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Related-in-Direct-Query-Mode/m-p/2943196#M97279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-02T02:09:32Z</dc:date>
    </item>
  </channel>
</rss>

