<?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: Power Pivot Formula Bogging down Excel in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885670#M186066</link>
    <description>&lt;P&gt;For some reason if I use a second variable for the "Bad" instead of ! _IsGood then it works.&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Test Result:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;_IsGood&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [Selected good bad] = &lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Var&lt;/SPAN&gt; &lt;SPAN class=""&gt;isbad&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [Selected good bad]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;_Diff&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [Test O]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RETURN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;_IsGood&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;_Diff&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;gt;= 0) ||&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;isbad&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;_Diff&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;lt;= 0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure what to do as far as marking a solution?&amp;nbsp; I will wait and if you can tell me what I did wrong using your solution I will mark yours as the solution.&amp;nbsp; I want you to get credit for tellin me to use variables.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2025 16:15:45 GMT</pubDate>
    <dc:creator>BaldAccountant</dc:creator>
    <dc:date>2025-11-25T16:15:45Z</dc:date>
    <item>
      <title>Power Pivot Formula Bogging down Excel</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885575#M186062</link>
      <description>&lt;P&gt;This is a power pivot question, not Power BI&lt;/P&gt;&lt;P&gt;I am trying to determine if I have a favorable or unfavorable variance with a dynamic formula and it is locking up excel.&amp;nbsp; &amp;nbsp;I am not sure if it is my formula or if I am just trying to do too much in Power Pivot/Excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the first formula I tried :&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Test P:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;TRUE&lt;/SPAN&gt;&lt;SPAN class=""&gt;(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;[Selected good bad]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;amp;&amp;amp;[Test O]&amp;gt;=0,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;[Selected good bad]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;amp;&amp;amp;[Test O]&amp;lt;0,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;[Selected good bad]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;amp;&amp;amp;[Test O]&amp;lt;=0,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;[Selected good bad]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;amp;&amp;amp;[Test O]&amp;gt;0,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is&amp;nbsp; the second one I tried:&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Test Q:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN class=""&gt;([Selected good bad],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;([Test O]&amp;gt;=0,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;([Test O]&amp;lt;=0,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;SPAN class=""&gt;),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am doing something wrong in my formulas.&amp;nbsp; Test O is a formula that calculates the difference between the filtered formula and the average for all doctors.&amp;nbsp; So then if it is a "Good: Stat, that means that a positive difference from the average would be favorable (i.e. More cases than average.&amp;nbsp; &amp;nbsp;A "Bad" calculation is where a positive differnce would be unfavorable, such as a higher cost per case.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I can't include my file because it contains HIPPA info.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:42:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885575#M186062</guid>
      <dc:creator>BaldAccountant</dc:creator>
      <dc:date>2025-11-25T14:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Power Pivot Formula Bogging down Excel</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885596#M186063</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="468033" data-lia-user-login="BaldAccountant" class="lia-mention lia-mention-user"&gt;BaldAccountant&lt;/a&gt;&amp;nbsp;, Try if this can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Test Result :=
VAR _IsGood = [Selected good bad] = "Good"
VAR _Diff   = [Test O]
RETURN
IF(
    (_IsGood  &amp;amp;&amp;amp; _Diff &amp;gt;= 0) ||
    (!_IsGood &amp;amp;&amp;amp; _Diff &amp;lt;= 0),
    "Good",
    "Bad"
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:52:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885596#M186063</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2025-11-25T14:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Power Pivot Formula Bogging down Excel</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885652#M186065</link>
      <description>&lt;P&gt;I am getting this error&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I am not sure why it is showing the extra two ")"&amp;nbsp; I just copied and pasted in your solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 15:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885652#M186065</guid>
      <dc:creator>BaldAccountant</dc:creator>
      <dc:date>2025-11-25T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Power Pivot Formula Bogging down Excel</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885670#M186066</link>
      <description>&lt;P&gt;For some reason if I use a second variable for the "Bad" instead of ! _IsGood then it works.&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Test Result:=&lt;/SPAN&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;_IsGood&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [Selected good bad] = &lt;/SPAN&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Var&lt;/SPAN&gt; &lt;SPAN class=""&gt;isbad&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [Selected good bad]=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;_Diff&lt;/SPAN&gt;&lt;SPAN class=""&gt; = [Test O]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RETURN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;_IsGood&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;_Diff&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;gt;= 0) ||&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;isbad&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;_Diff&lt;/SPAN&gt;&lt;SPAN class=""&gt; &amp;lt;= 0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"Good"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"Bad"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure what to do as far as marking a solution?&amp;nbsp; I will wait and if you can tell me what I did wrong using your solution I will mark yours as the solution.&amp;nbsp; I want you to get credit for tellin me to use variables.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 16:15:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885670#M186066</guid>
      <dc:creator>BaldAccountant</dc:creator>
      <dc:date>2025-11-25T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Power Pivot Formula Bogging down Excel</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885681#M186068</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="468033" data-lia-user-login="BaldAccountant" class="lia-mention lia-mention-user"&gt;BaldAccountant&lt;/a&gt;&amp;nbsp;, I think it's a problem&amp;nbsp;&lt;BR /&gt;(!_IsGood &amp;amp;&amp;amp; _Diff &amp;lt;= 0)&lt;BR /&gt;&lt;BR /&gt;Try, if not can work(Power BI we use not )&lt;BR /&gt;(not _IsGood &amp;amp;&amp;amp; _Diff &amp;lt;= 0)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 16:23:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885681#M186068</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2025-11-25T16:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Power Pivot Formula Bogging down Excel</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885706#M186069</link>
      <description>&lt;P&gt;That worked. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 16:50:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Pivot-Formula-Bogging-down-Excel/m-p/4885706#M186069</guid>
      <dc:creator>BaldAccountant</dc:creator>
      <dc:date>2025-11-25T16:50:31Z</dc:date>
    </item>
  </channel>
</rss>

