<?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 How to resolve a performance issue of my measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590042#M74588</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a report with live connection (ssas tabular) I'm facing an issue when i start the report as some calculation up to 1 minute to show up.&lt;/P&gt;&lt;P&gt;After troubleshooting , i find that i have a measure that is slower that another as bellow the definition of my measure :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure as below run in 7 s&lt;/P&gt;&lt;LI-CODE lang="php"&gt;CALCULATE (
     [NbOrders],
     FactSales[IsValid] = 0
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then i have another measure it takes 48 s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;CALCULATE (
     [NbOrders],
     FactSales[IsValid] =1
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why the first measure is faster than another even if it's same with different filter&amp;nbsp;&lt;/SPAN&gt;&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;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 15:36:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-20T15:36:41Z</dc:date>
    <item>
      <title>How to resolve a performance issue of my measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590042#M74588</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a report with live connection (ssas tabular) I'm facing an issue when i start the report as some calculation up to 1 minute to show up.&lt;/P&gt;&lt;P&gt;After troubleshooting , i find that i have a measure that is slower that another as bellow the definition of my measure :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure as below run in 7 s&lt;/P&gt;&lt;LI-CODE lang="php"&gt;CALCULATE (
     [NbOrders],
     FactSales[IsValid] = 0
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then i have another measure it takes 48 s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;CALCULATE (
     [NbOrders],
     FactSales[IsValid] =1
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why the first measure is faster than another even if it's same with different filter&amp;nbsp;&lt;/SPAN&gt;&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;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 15:36:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590042#M74588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-20T15:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve a performance issue of my measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590102#M74591</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the code of [NbOrders]?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 16:09:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590102#M74591</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-20T16:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve a performance issue of my measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590126#M74593</link>
      <description>&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As bellow the code of&amp;nbsp;&lt;SPAN&gt;[NbOrders]&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;CALCULATE (
    [Cnt],
     SUMMARIZE (
        Sales,
        DimProduct[Product_id]
    )
    ,SUMMARIZE (
        Forecast,
        DimProduct[Product_id]
    )
)&lt;/PRE&gt;&lt;P&gt;The definition of Cnt as bellow :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Cnt :=  DISTINCTCOUNT ( Invoice[CustoID] )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 16:40:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590126#M74593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-20T16:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve a performance issue of my measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590133#M74595</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please share a screenshot of your data model?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 16:51:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590133#M74595</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-06-20T16:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve a performance issue of my measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590170#M74597</link>
      <description>&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;The model is huge and&amp;nbsp;&lt;SPAN&gt;the information is sensitive&amp;nbsp;. Can i do it in private ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 17:14:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2590170#M74597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-20T17:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve a performance issue of my measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2596743#M74965</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try this code for&amp;nbsp;&lt;SPAN&gt;[NbOrders]:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CALCULATE (
    [Cnt],
    FILTER ( Sales, [Product_id] IN VALUES ( Forecast[Product_id] ) )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 07:28:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-resolve-a-performance-issue-of-my-measure/m-p/2596743#M74965</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-06-23T07:28:50Z</dc:date>
    </item>
  </channel>
</rss>

