<?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: Dax &amp;amp; Direct Query Performances in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-amp-Direct-Query-Performances/m-p/3920448#M152597</link>
    <description>&lt;P&gt;Direct Query does it's processing on the source database. Use Import mode as your first option unless you have good reasons not to.&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 11:22:53 GMT</pubDate>
    <dc:creator>HotChilli</dc:creator>
    <dc:date>2024-05-15T11:22:53Z</dc:date>
    <item>
      <title>Dax &amp; Direct Query Performances</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-amp-Direct-Query-Performances/m-p/3920142#M152589</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that there are performances issues when I create measure when I am connected to date source (sql server) in direct query mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For sample if I put a column from a fact table and use the native sum of power bi table the result is less than 1 or 2 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But If I create a measure it's everytime longer. For sample a simple calculate with a filter on one column it will be longer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One other example Is the round function. If I use a dynamic round digits it will be longer (more than 10 secs) than putting the value in variable making a switch on the variable (Switch (roundDigits, 1, round(value,1) .....) it will take maybe 3 secs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone explain me why ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it seems that the calculation in direct query mode is supported mostly by the database ? Do you have a good documentation please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:45:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-amp-Direct-Query-Performances/m-p/3920142#M152589</guid>
      <dc:creator>GJA</dc:creator>
      <dc:date>2024-05-15T09:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dax &amp; Direct Query Performances</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-amp-Direct-Query-Performances/m-p/3920448#M152597</link>
      <description>&lt;P&gt;Direct Query does it's processing on the source database. Use Import mode as your first option unless you have good reasons not to.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 11:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-amp-Direct-Query-Performances/m-p/3920448#M152597</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2024-05-15T11:22:53Z</dc:date>
    </item>
  </channel>
</rss>

