<?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 Memory Error with simple SUM measures in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Memory-Error-with-simple-SUM-measures/m-p/3170446#M42053</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Last week an user had an error on a report that only compares real turnover with budget.&amp;nbsp; My model has two different currencies, one in local currency and one in USD.&amp;nbsp; Both fact tables, sales and budget has two columns for each currency, so all I needed to do was create the measures as SUM(Sales LC) and SUM(Sales USD). Then, the user can choose wich currency need to see. For this I made a measure with a SWITCH statement&lt;/P&gt;&lt;P&gt;The problem is that the measure in USD takes until 3x times that the LC.&amp;nbsp; But it is just the column next to the other one!&lt;BR /&gt;I thought the problem was the SWICTH, but then I performed some tests in Dax Studio, only with the SUM measures and the behaviour is as I say, one SUM is much slower than the other&lt;BR /&gt;I also checked the datatypes and both are decimal&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 23:53:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-04-03T23:53:59Z</dc:date>
    <item>
      <title>Memory Error with simple SUM measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Memory-Error-with-simple-SUM-measures/m-p/3170446#M42053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Last week an user had an error on a report that only compares real turnover with budget.&amp;nbsp; My model has two different currencies, one in local currency and one in USD.&amp;nbsp; Both fact tables, sales and budget has two columns for each currency, so all I needed to do was create the measures as SUM(Sales LC) and SUM(Sales USD). Then, the user can choose wich currency need to see. For this I made a measure with a SWITCH statement&lt;/P&gt;&lt;P&gt;The problem is that the measure in USD takes until 3x times that the LC.&amp;nbsp; But it is just the column next to the other one!&lt;BR /&gt;I thought the problem was the SWICTH, but then I performed some tests in Dax Studio, only with the SUM measures and the behaviour is as I say, one SUM is much slower than the other&lt;BR /&gt;I also checked the datatypes and both are decimal&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 23:53:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Memory-Error-with-simple-SUM-measures/m-p/3170446#M42053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-03T23:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Error with simple SUM measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Memory-Error-with-simple-SUM-measures/m-p/3171584#M42068</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;, could you provide some sample of the data, or screenshots of the measures, columns, or Dax Studio outputs?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you need any additional help please &lt;SPAN&gt;@&lt;/SPAN&gt; me in your reply.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 11:37:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Memory-Error-with-simple-SUM-measures/m-p/3171584#M42068</guid>
      <dc:creator>joaoribeiro</dc:creator>
      <dc:date>2023-04-04T11:37:18Z</dc:date>
    </item>
  </channel>
</rss>

