<?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 Calculation Group is Overriding My Measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-Group-is-Overriding-My-Measures/m-p/2974802#M99571</link>
    <description>&lt;P&gt;Hi All - I'm using calculation groups, but it appears when i click into the visual where a calculation group value exists, the filter context is messing with my other measures, and is in fact overwriting them. (ie bring back a value from the measure I clicked into, rather than the measure which the visual is based upon).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get that this is filter context getting passed to the visual and I assumed that using some sort of combination of all or remove filters pointed at the calculation group table would fix the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That doesn't appear to be the case. Is this a bug? Or is there a good way to handle this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its worth noting that my calculation measures general start with selectedmeasure(). I have not yet attempted to rewrite the calculation groups with an if statement so that only the relevant measures are modified?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Dec 2022 20:06:05 GMT</pubDate>
    <dc:creator>avachris</dc:creator>
    <dc:date>2022-12-17T20:06:05Z</dc:date>
    <item>
      <title>Calculation Group is Overriding My Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-Group-is-Overriding-My-Measures/m-p/2974802#M99571</link>
      <description>&lt;P&gt;Hi All - I'm using calculation groups, but it appears when i click into the visual where a calculation group value exists, the filter context is messing with my other measures, and is in fact overwriting them. (ie bring back a value from the measure I clicked into, rather than the measure which the visual is based upon).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get that this is filter context getting passed to the visual and I assumed that using some sort of combination of all or remove filters pointed at the calculation group table would fix the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That doesn't appear to be the case. Is this a bug? Or is there a good way to handle this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its worth noting that my calculation measures general start with selectedmeasure(). I have not yet attempted to rewrite the calculation groups with an if statement so that only the relevant measures are modified?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2022 20:06:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-Group-is-Overriding-My-Measures/m-p/2974802#M99571</guid>
      <dc:creator>avachris</dc:creator>
      <dc:date>2022-12-17T20:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Group is Overriding My Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-Group-is-Overriding-My-Measures/m-p/2975494#M99612</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="246823" data-lia-user-login="avachris" class="lia-mention lia-mention-user"&gt;avachris&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe&amp;nbsp; you can try to use if statement or switch() if you have multiole groups, you can refer to the following links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/switch-function-dax" target="_blank"&gt;SWITCH function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If information above cannot meet your requirement, can you offer some sample pictures or data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Yolo Zhu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 01:25:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculation-Group-is-Overriding-My-Measures/m-p/2975494#M99612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-19T01:25:48Z</dc:date>
    </item>
  </channel>
</rss>

