<?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: How to prevent a measure to update after a filter to itself on a table (visual) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505342#M69358</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Assume you have measure value &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure&amp;nbsp; =&lt;/P&gt;
&lt;P&gt;Var _total = calculate([Value], allselected())&amp;nbsp; //if value if of avg type&lt;/P&gt;
&lt;P&gt;// Or Use // calculate(averageX(values('Date'[Date]), [Value]) ,allselected())&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;divide([Value] -_total, _total)&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 15:28:48 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-05-10T15:28:48Z</dc:date>
    <item>
      <title>How to prevent a measure to update after a filter to itself on a table (visual)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505237#M69349</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Here's a simplified version of my issue.&lt;/P&gt;&lt;P&gt;I have a table displayed that shows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATE // Value for that date // (Value - Average)/Average&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to only show dates where the 3rd column is over, let's say, 15%. I added the filter to the table and it works fine.&lt;/P&gt;&lt;P&gt;The thing is that now the 3rd column doesn't display the original values. It now displays the values calculated with a new average, that only considers the dates that passed the 15% filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway I can prevent that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, be aware I cannot use ALL because I do have a date slicer so the user can determine a period, so the AVG should be calculated by the period determined by that slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:47:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505237#M69349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-10T14:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent a measure to update after a filter to itself on a table (visual)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505342#M69358</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Assume you have measure value &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure&amp;nbsp; =&lt;/P&gt;
&lt;P&gt;Var _total = calculate([Value], allselected())&amp;nbsp; //if value if of avg type&lt;/P&gt;
&lt;P&gt;// Or Use // calculate(averageX(values('Date'[Date]), [Value]) ,allselected())&lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;divide([Value] -_total, _total)&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 15:28:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505342#M69358</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-10T15:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent a measure to update after a filter to itself on a table (visual)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505517#M69371</link>
      <description>&lt;P&gt;That's actually how I currently have the measures. Here's the ones I have:&lt;BR /&gt;&lt;BR /&gt;Duration - Average = calculate(AVERAGE('EOD Results'[Duration PBI]), ALLSELECTED('EOD Results'))&lt;BR /&gt;Duration - Absolute Deviation = ABS(sum('EOD Results'[Duration PBI]) - 'Calculations'[Duration - Average])&lt;BR /&gt;Duration - Abs Dev / Avg = 'Calculations'[Duration - Absolute Deviation]/[Duration - Average]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 16:37:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-prevent-a-measure-to-update-after-a-filter-to-itself-on-a/m-p/2505517#M69371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-10T16:37:23Z</dc:date>
    </item>
  </channel>
</rss>

