<?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 I want a new column that is the difference between a value column and the mean of sliced data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398519#M174643</link>
    <description>&lt;P&gt;I have tried nearly everything I can think of for this and have run out of ideas.&amp;nbsp; I have a column called values and desire to have a new column that is the value minus the mean of the column.&amp;nbsp; I would like this to be dynamic and change with my slicers.&amp;nbsp; I have put this in to bing chat and Chat DPT and none of them output things that work.&amp;nbsp; I keep getting circular dependancy errors.&amp;nbsp; I start with a measure&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mean =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then I have tried a calculated column which is below which generates a circular dependancy error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MEAN COLUMN =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;[Mean]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I tried creating a measure&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mean alt =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;[Mean]&lt;/SPAN&gt;&lt;SPAN&gt;))&amp;nbsp; The result is zero for every line so this is not correct.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I tried creating a separate table below but for some reason I get a value that is not the mean.&amp;nbsp; It is close. but off by a couple digits.&amp;nbsp; I am not real familiar with summarize table so I was thinking that I would use the column that I am slice on which is spec as the driver for the summarized table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Meantable =&lt;/SPAN&gt; &lt;SPAN&gt;summarize&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[SPEC]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"consolidation column"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have been stuck on this for too long and looking for suggestions that can get me moving again.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 06 Feb 2025 15:55:11 GMT</pubDate>
    <dc:creator>canders1</dc:creator>
    <dc:date>2025-02-06T15:55:11Z</dc:date>
    <item>
      <title>I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398519#M174643</link>
      <description>&lt;P&gt;I have tried nearly everything I can think of for this and have run out of ideas.&amp;nbsp; I have a column called values and desire to have a new column that is the value minus the mean of the column.&amp;nbsp; I would like this to be dynamic and change with my slicers.&amp;nbsp; I have put this in to bing chat and Chat DPT and none of them output things that work.&amp;nbsp; I keep getting circular dependancy errors.&amp;nbsp; I start with a measure&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mean =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then I have tried a calculated column which is below which generates a circular dependancy error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MEAN COLUMN =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;[Mean]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I tried creating a measure&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mean alt =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;[Mean]&lt;/SPAN&gt;&lt;SPAN&gt;))&amp;nbsp; The result is zero for every line so this is not correct.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I tried creating a separate table below but for some reason I get a value that is not the mean.&amp;nbsp; It is close. but off by a couple digits.&amp;nbsp; I am not real familiar with summarize table so I was thinking that I would use the column that I am slice on which is spec as the driver for the summarized table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Meantable =&lt;/SPAN&gt; &lt;SPAN&gt;summarize&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[SPEC]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"consolidation column"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have been stuck on this for too long and looking for suggestions that can get me moving again.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Feb 2025 15:55:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398519#M174643</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T15:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398535#M174646</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662479" data-lia-user-login="canders1" class="lia-mention lia-mention-user"&gt;canders1&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;Difference = &lt;BR /&gt;VAR MeanValue = AVERAGE(CERT_DATA[VALUE])&lt;BR /&gt;RETURN&lt;BR /&gt;SUMX(CERT_DATA, CERT_DATA[VALUE] - MeanValue)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:08:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398535#M174646</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-02-06T16:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398540#M174647</link>
      <description>&lt;P&gt;Just tried that.&amp;nbsp; I created the formula as a measure.&amp;nbsp; It resulted in all zeros.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:12:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398540#M174647</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T16:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398548#M174649</link>
      <description>&lt;P&gt;Tried the syntax as a measure which resulted in Zeros.&amp;nbsp; Then tried it as calculated column which resulted in a circular dependancy error.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:15:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398548#M174649</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T16:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398549#M174650</link>
      <description>&lt;P&gt;Actually the calculated column version is not a circular dependancy after I fixed something.&amp;nbsp; However it doesn't work correctly because it is based on all the data and not filtered/sliced data.&amp;nbsp; It is better but it seems that I need to use a measure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:18:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398549#M174650</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398560#M174652</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the columns.&amp;nbsp; The mean is 29.1.&amp;nbsp; The difference column is based on a the syntax provided as a measure.&amp;nbsp; The difference column is based on a calculated column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:23:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398560#M174652</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T16:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398573#M174654</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662479" data-lia-user-login="canders1" class="lia-mention lia-mention-user"&gt;canders1&lt;/a&gt;&amp;nbsp;, Can you share sample data or PBIX&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:34:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398573#M174654</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-02-06T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398592#M174655</link>
      <description>&lt;P&gt;I will not be able to because it is supplier data and would be confidential information.&amp;nbsp; I may be able to create a dummy file that is similar maybe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:46:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398592#M174655</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398611#M174656</link>
      <description>&lt;P&gt;I tried to attach a file that simulates this very simply and it says file type .pbix is not supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 17:01:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398611#M174656</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398621#M174658</link>
      <description>&lt;P&gt;I just created a very simple table of 6 numbers and it doesn't work.&lt;/P&gt;&lt;P&gt;Just did a simple excel sheet with .2,.25, .21,.3, and .22 and attached the data to a new power bi report.&amp;nbsp; &amp;nbsp;I tried it with a measure and a calculated column.&amp;nbsp; Here is the resultant table&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;</description>
      <pubDate>Thu, 06 Feb 2025 17:09:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398621#M174658</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T17:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398874#M174666</link>
      <description>&lt;P&gt;I found one thing to help.&amp;nbsp; If I make a measure with the following&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Mean =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)) it will fill the column with the correct mean.&amp;nbsp; Then I created another measure&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;difference =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CERT_DATA&lt;/SPAN&gt;&lt;SPAN&gt;[VALUE]&lt;/SPAN&gt;&lt;SPAN&gt;)-&lt;/SPAN&gt;&lt;SPAN&gt;[Mean]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Feb 2025 20:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4398874#M174666</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-06T20:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4399189#M174675</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662479" data-lia-user-login="canders1" class="lia-mention lia-mention-user"&gt;canders1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your feedback and for sharing the measure formulas. Have you found a solution? If so, could you please mark your reply as "&lt;STRONG&gt;Answered&lt;/STRONG&gt;"? This will greatly assist others in the community in finding the solution more easily. Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 03:07:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4399189#M174675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-07T03:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4400099#M174689</link>
      <description>&lt;P&gt;The information I found is only a solution for some cases.&amp;nbsp; Unfortunately when I tried it on a more involved table with slicers it fails because calculated columns are row by row&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 12:58:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4400099#M174689</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-07T12:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4402064#M174746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662479" data-lia-user-login="canders1" class="lia-mention lia-mention-user"&gt;canders1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;The calculated column&lt;/FONT&gt;&lt;STRONG&gt; will not&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;change according to the user interaction(slicer, filter, column selections etc.) in the report&amp;nbsp;as&amp;nbsp;the value of a calculated column is computed during data refresh and uses the current row as a context... Please review the following links about the difference of calculated column and measure...&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://nam06.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.sqlbi.com%2farticles%2fcalculated-columns-and-measures-in-dax%2f&amp;amp;data=04%7c01%7cv-yiruan%40microsoft.com%7c6c82a3be2f13483c8c8408d9625c1586%7c72f988bf86f141af91ab2d7cd011db47%7c1%7c0%7c" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.sqlbi.com%2Farticles%2Fcalculated-columns-and-measures-in-dax%2F&amp;amp;data=05%7C01%7Cv-yiruan%40microsoft.com%7C6de73d65f8704276e06808daf5452fa0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638091974775574520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=2aRbnxQgWK%2FXMku4Xzmg6t5v86pAHmgIULunq1emSY4%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;Calculated Columns and Measures in DAX&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://nam06.safelinks.protection.outlook.com/?url=https%3a%2f%2finsightsoftware.com%2fblog%2fcalculated-columns-vs-measures%2f&amp;amp;data=04%7c01%7cv-yiruan%40microsoft.com%7c6c82a3be2f13483c8c8408d9625c1586%7c72f988bf86f141af91ab2d7cd011db47%7c1%7c0%7c637648" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Finsightsoftware.com%2Fblog%2Fcalculated-columns-vs-measures%2F&amp;amp;data=05%7C01%7Cv-yiruan%40microsoft.com%7C6de73d65f8704276e06808daf5452fa0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638091974775574520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=ZlaXI8Ln68OlZMyCc7owferpyyaQ1CKUhCkWL9i4WSs%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer" aria-label="Link Calculated Columns vs Measures"&gt;Calculated Columns vs Measures&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If it is convenient, could you&lt;/SPAN&gt;&amp;nbsp;please&amp;nbsp;&lt;SPAN&gt;provide some&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;raw/fake data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in your tables&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;) with&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;format&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and your&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;with backend logic and special examples base on your scenario? It would be helpful to find out the solution. You can refer the following link to share the required info:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=EJlYfclgtrjgAEYj9Uo1AauqxaQm3hlQsjJMo4zCY1M%3D&amp;amp;reserved=0" target="_blank" rel="nofollow noopener noreferrer"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;pbix file. You can refer the following link to upload the file to the community. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7C4f580813734d4a8355b008da16f6e91a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637847547341062885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=YJvujige2YITXKbKED9JieQm5LBdf%2F3IYPM4ggdiijQ%3D&amp;amp;reserved=0" target="_blank" rel="nofollow noopener noreferrer"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 05:25:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4402064#M174746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-10T05:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4402082#M174747</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="662479" data-lia-user-login="canders1" class="lia-mention lia-mention-user"&gt;canders1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're on the right track, but the key issue here is that you &lt;STRONG&gt;cannot reference a measure in a calculated column&lt;/STRONG&gt; because calculated columns are computed at the row level during data load and do not dynamically update with slicers. To achieve a &lt;STRONG&gt;dynamically updating&lt;/STRONG&gt; mean subtraction that respects slicers, you must use &lt;STRONG&gt;measures&lt;/STRONG&gt; instead of calculated columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Value Minus Mean = 
VAR CurrentValue = SELECTEDVALUE(CERT_DATA[VALUE]) 
VAR MeanValue = [Mean]
RETURN
    CurrentValue - MeanValue
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will dynamically adjust based on the slicers and filters applied.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 05:40:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4402082#M174747</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2025-02-10T05:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: I want a new column that is the difference between a value column and the mean of sliced data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4418028#M175424</link>
      <description>&lt;P&gt;&lt;A href="https://drive.google.com/file/d/12CatAsDkjP1e-xh-R_GyzZ4Zfvh0eEux/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/12CatAsDkjP1e-xh-R_GyzZ4Zfvh0eEux/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the file.&amp;nbsp; I am still not able to subtract a mean value from a column value even using measures.&amp;nbsp; I am not sure how to make this work.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 15:40:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-want-a-new-column-that-is-the-difference-between-a-value/m-p/4418028#M175424</guid>
      <dc:creator>canders1</dc:creator>
      <dc:date>2025-02-19T15:40:22Z</dc:date>
    </item>
  </channel>
</rss>

