<?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 Replace calculated Column with calculated Measure with if conditions - DAX - Memory Issues in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-calculated-Column-with-calculated-Measure-with-if/m-p/3772018#M147368</link>
    <description>&lt;P&gt;Good day, hope you can help me with the following.&lt;BR /&gt;I'm having probles updating my PBI, i'm getting the "not enough memory" while updating, form everything i have read it has to do with a few calculted columns i have added to a table, let call it C. Now i´m trying to replace the calculated columns with calculated measures but i'm not getting the result i need.&lt;BR /&gt;I have a table A that has the columns Date, Year, Month, Hour, Unit, Generation, I have a table B that has the columns Date, Year, Month, Hour, Unit, Generation, the same as table A, and I have a Table C that has the columns Date, Year, Month, Unit, Generation and type of remuneration, I want to make a calculated measure in table C , I want the measure to take the average of the generation column of table A and Table B but that takes the average of one or the other depending on the value of the Remuneration Type column of Table C, the Remuneration Type column is of type text, how can i do this?&lt;BR /&gt;thanks in advance&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 15:05:47 GMT</pubDate>
    <dc:creator>jr10</dc:creator>
    <dc:date>2024-03-18T15:05:47Z</dc:date>
    <item>
      <title>Replace calculated Column with calculated Measure with if conditions - DAX - Memory Issues</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-calculated-Column-with-calculated-Measure-with-if/m-p/3772018#M147368</link>
      <description>&lt;P&gt;Good day, hope you can help me with the following.&lt;BR /&gt;I'm having probles updating my PBI, i'm getting the "not enough memory" while updating, form everything i have read it has to do with a few calculted columns i have added to a table, let call it C. Now i´m trying to replace the calculated columns with calculated measures but i'm not getting the result i need.&lt;BR /&gt;I have a table A that has the columns Date, Year, Month, Hour, Unit, Generation, I have a table B that has the columns Date, Year, Month, Hour, Unit, Generation, the same as table A, and I have a Table C that has the columns Date, Year, Month, Unit, Generation and type of remuneration, I want to make a calculated measure in table C , I want the measure to take the average of the generation column of table A and Table B but that takes the average of one or the other depending on the value of the Remuneration Type column of Table C, the Remuneration Type column is of type text, how can i do this?&lt;BR /&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 15:05:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-calculated-Column-with-calculated-Measure-with-if/m-p/3772018#M147368</guid>
      <dc:creator>jr10</dc:creator>
      <dc:date>2024-03-18T15:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replace calculated Column with calculated Measure with if conditions - DAX - Memory Issues</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-calculated-Column-with-calculated-Measure-with-if/m-p/3772648#M147414</link>
      <description>&lt;P&gt;Before you do that ask yourself - can the result be impacted by users interacting with your reports?&amp;nbsp; If the answer is no, and the data is immutable, then you should not use a measure. If a calculated column is too slow or consumes too much memory then either optimize its code, or push it upstream and create that column in Power Query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 21:57:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Replace-calculated-Column-with-calculated-Measure-with-if/m-p/3772648#M147414</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-18T21:57:17Z</dc:date>
    </item>
  </channel>
</rss>

