<?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 Query Performance in source dataset vs report in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055638#M160947</link>
    <description>&lt;P&gt;I think I've found the solution, it was more obvious then I thought.&lt;BR /&gt;The queries were fast using dax studio or measures directly in my source model. But not in the underlying report.&lt;BR /&gt;The measures in source mode or dax studio are made to localhost data, where the underlying report connect to server nontheless. It was just the company server acting up on this day, it works normally today.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2024 07:03:57 GMT</pubDate>
    <dc:creator>lemaribdb</dc:creator>
    <dc:date>2024-07-23T07:03:57Z</dc:date>
    <item>
      <title>DAX Query Performance in source dataset vs report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4054446#M160900</link>
      <description>&lt;P&gt;Dear PBI community,&lt;BR /&gt;&lt;BR /&gt;I have an issue with load times.&lt;BR /&gt;I have source dataset with report and a report that uses live connection to this datset/semantic model.&lt;BR /&gt;Orignally, I had my measure in the undeerlying report that uses the live connection, the query timing was pretty good, no noticable load time.&lt;BR /&gt;But when I moved my measure to the source dataset, the timing in the underlying report is more than horrible. From 1 second (and it still is 1 second when using the exactly same page/visualizations in source dataset) to 20 second, making the report unusable.&lt;BR /&gt;Is that something common I was unaware of?&amp;nbsp;&lt;BR /&gt;When I take the query and run it in Dax Studio, it's as fast (or faster) as in when ran in the source dataset.&lt;BR /&gt;I thought my DAX is getting to complex but since it runs pretty fast when in source model/report (and was pretty fast when the measure was in underlying report), I feel a bit lost.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 18:18:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4054446#M160900</guid>
      <dc:creator>lemaribdb</dc:creator>
      <dc:date>2024-07-22T18:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query Performance in source dataset vs report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055167#M160924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="697847" data-lia-user-login="lemaribdb" class="lia-mention lia-mention-user"&gt;lemaribdb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, is the connection mode of the report 'Direct Query'?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In 'Direct Query' mode, data query and calculation are completed in the data source, and the speed depends on the performance of the database. You can try to reduce the amount of single query or use a composite model to improve performance.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models" target="_blank"&gt;Use composite models in Power BI Desktop - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 02:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055167#M160924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-23T02:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query Performance in source dataset vs report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055625#M160946</link>
      <description>&lt;P&gt;Hi, sadly, as I mentioned in my initial text, I'm using live connection mode &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 07:00:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055625#M160946</guid>
      <dc:creator>lemaribdb</dc:creator>
      <dc:date>2024-07-23T07:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Query Performance in source dataset vs report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055638#M160947</link>
      <description>&lt;P&gt;I think I've found the solution, it was more obvious then I thought.&lt;BR /&gt;The queries were fast using dax studio or measures directly in my source model. But not in the underlying report.&lt;BR /&gt;The measures in source mode or dax studio are made to localhost data, where the underlying report connect to server nontheless. It was just the company server acting up on this day, it works normally today.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 07:03:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Query-Performance-in-source-dataset-vs-report/m-p/4055638#M160947</guid>
      <dc:creator>lemaribdb</dc:creator>
      <dc:date>2024-07-23T07:03:57Z</dc:date>
    </item>
  </channel>
</rss>

