<?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: Performance issues with measures on live connection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issues-with-measures-on-live-connection/m-p/2790912#M87621</link>
    <description>&lt;P&gt;&lt;EM&gt;"Do you have any tips here?"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah, actually I do &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; With such a big model and complex relationships... please consult somebody that professionally deals with such complexities on a daily basis. You can consult Marco Russo and/or Alberto Ferrari. Of course, you'll have to pay for this service but these guys have worked for the biggest companies in the world helping them set up tabular cubes as big as 120GB in memory (you can't even imagine the complexity of such a cube, trust me). I know about it since I've worked for one such a company in the past and without their help even very skilled and smart people would have been lost in the maze of relationships and optimization techniques.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is by far the best advice you can get.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Sep 2022 07:56:51 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-09-24T07:56:51Z</dc:date>
    <item>
      <title>Performance issues with measures on live connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issues-with-measures-on-live-connection/m-p/2790145#M87580</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to PBI on Analysis service respectively live connection and hope you can help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a data model with about 70 tables linked with various active and inactive relationships in average about 5 to 10 for each table, most of them inactive. The largest of the tables has about 15 million rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1&lt;/STRONG&gt;: As soon as I use a Measure, the performance goes down. Especially in measures where I enable or disable relationships via USERELATIONSHIP() or CROSSFILTER(). This is also the case when I limit the time period in a slicer to a few days before adding the measure to a visual. Online I have found only the use of VAR as a performance tip, but even that has not brought any improvement. Do you have any tips here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of a measure which loads long, would be this quite easy one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rate =&lt;BR /&gt;var number = calculate(distinctcount(ID),&lt;BR /&gt;column 1 = true,&lt;BR /&gt;column 2 = true)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var number_2 = distinctcount (ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return number / number_2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2&lt;/STRONG&gt;: Is there any way to activate or deactivate relationships within PBI other than within DAX measures?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Question 3&lt;/STRONG&gt;: How do you handle larger data models and their complex relationships? What experiences have you had? How do you compensate the absence of the "query editor" in measures and at the same time ensure good performance? Do you have the same problems?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking forward to your insights,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;best regards&lt;/P&gt;&lt;P&gt;PBI_alma&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 15:13:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issues-with-measures-on-live-connection/m-p/2790145#M87580</guid>
      <dc:creator>PBI_alma</dc:creator>
      <dc:date>2022-09-23T15:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with measures on live connection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issues-with-measures-on-live-connection/m-p/2790912#M87621</link>
      <description>&lt;P&gt;&lt;EM&gt;"Do you have any tips here?"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah, actually I do &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; With such a big model and complex relationships... please consult somebody that professionally deals with such complexities on a daily basis. You can consult Marco Russo and/or Alberto Ferrari. Of course, you'll have to pay for this service but these guys have worked for the biggest companies in the world helping them set up tabular cubes as big as 120GB in memory (you can't even imagine the complexity of such a cube, trust me). I know about it since I've worked for one such a company in the past and without their help even very skilled and smart people would have been lost in the maze of relationships and optimization techniques.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is by far the best advice you can get.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2022 07:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issues-with-measures-on-live-connection/m-p/2790912#M87621</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-09-24T07:56:51Z</dc:date>
    </item>
  </channel>
</rss>

