<?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: filtered calculation changes the values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4798611#M183609</link>
    <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1330546" data-lia-user-login="lenawr" class="lia-mention lia-mention-user"&gt;lenawr&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We hope you're doing well. Could you please confirm whether your issue has been resolved or if you're still facing challenges? Your update will be valuable to the community and may assist others with similar concerns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Aug 2025 14:02:25 GMT</pubDate>
    <dc:creator>v-ssriganesh</dc:creator>
    <dc:date>2025-08-16T14:02:25Z</dc:date>
    <item>
      <title>filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4789239#M183331</link>
      <description>&lt;P&gt;Hi, I have created calcualtion that is supossed to calclate % of bench and alloctaed countrywise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when I want to see only % of bench it calculates it as 100%. How to see filtered out bench as if there was no filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfiltered&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;filtered&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;calculation is :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Calculation =&lt;/SPAN&gt; &lt;SPAN&gt;divide&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Count of Unique GGID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Count of Unique GGID]&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;[Category_1]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 18:06:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4789239#M183331</guid>
      <dc:creator>lenawr</dc:creator>
      <dc:date>2025-08-06T18:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4789280#M183333</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Calculation =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;divide&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Count of Unique GGID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Count of Unique GGID]&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;[Category_1]&lt;/SPAN&gt;&lt;SPAN&gt;), ALL([Country]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273" data-lia-user-login="me" class="lia-mention lia-mention-user"&gt;me&lt;/a&gt; in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 19:06:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4789280#M183333</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-08-06T19:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4789918#M183349</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1330546" data-lia-user-login="lenawr" class="lia-mention lia-mention-user"&gt;lenawr&lt;/a&gt;, &lt;BR /&gt;Thank you for reaching out to the Microsoft Fabric Community Forum.&lt;BR /&gt;&lt;BR /&gt;I have reproduced your scenario using the sample data and DAX logic you shared. I understand that you were facing an issue where, after filtering for only "Bench", your measure was returning 100% instead of showing "Bench as % of total (Bench + Allocated)".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Your original DAX measure used ALL([Category_1]), which doesn't fully override the visual filter context when you select "Bench" only. As a result, both numerator and denominator were filtered to "Bench" leading to 100%.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;To ensure the calculation shows "Bench as % of total" even when filtered, I used this updated DAX:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Calculation =

DIVIDE(

    SUM(BenchData[Count of Unique GGID]),

    CALCULATE(

        SUM(BenchData[Count of Unique GGID]),

        REMOVEFILTERS(BenchData[Category_1])

    )

)&lt;/LI-CODE&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When viewing &lt;STRONG&gt;both Allocated and Bench&lt;/STRONG&gt;, the percentages are shown per group.&lt;BR /&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;When filtering only &lt;STRONG&gt;Bench&lt;/STRONG&gt;, the percentages still reflect &lt;STRONG&gt;Bench as a % of total&lt;/STRONG&gt; (not 100%).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’ve attached the working &lt;STRONG&gt;.pbix&lt;/STRONG&gt; file for your reference. Please feel free to download it and explore the measure and matrix visual setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Ganesh Singamshetty.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 09:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4789918#M183349</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-08-07T09:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4792471#M183428</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1330546" data-lia-user-login="lenawr" class="lia-mention lia-mention-user"&gt;lenawr&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope everything’s going great with you. Just checking in has the issue been resolved or are you still running into problems? Sharing an update can really help others facing the same thing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 20:50:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4792471#M183428</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-08-10T20:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4792802#M183440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882998" data-lia-user-login="v-ssriganesh" class="lia-mention lia-mention-user"&gt;v-ssriganesh&lt;/a&gt;&amp;nbsp; unfortunately none of solutions worked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 07:10:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4792802#M183440</guid>
      <dc:creator>lenawr</dc:creator>
      <dc:date>2025-08-11T07:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4793275#M183457</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1330546" data-lia-user-login="lenawr" class="lia-mention lia-mention-user"&gt;lenawr&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Here is your solution.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Dax Measure is as below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Per = 
var current_val = sum('Table'[GGID])
Var total_Val = calculate(sum('Table'[GGID]),ALLEXCEPT('Table','Table'[Country]))
return
DIVIDE(current_val,total_Val,0)&lt;/LI-CODE&gt;
&lt;P&gt;If this works, Accept as solution,&amp;nbsp; Else let me know whats going wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 13:24:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4793275#M183457</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2025-08-11T13:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4795058#M183515</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1330546" data-lia-user-login="lenawr" class="lia-mention lia-mention-user"&gt;lenawr&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for updating us on the issue and thanks to &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;&amp;nbsp;for sharing helpful insights.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you confirm if &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;'s solution resolved your query? This information will assist other members facing similar challenges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for being part of the Microsoft Fabric Community.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 04:08:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4795058#M183515</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-08-13T04:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: filtered calculation changes the values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4798611#M183609</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1330546" data-lia-user-login="lenawr" class="lia-mention lia-mention-user"&gt;lenawr&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We hope you're doing well. Could you please confirm whether your issue has been resolved or if you're still facing challenges? Your update will be valuable to the community and may assist others with similar concerns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Aug 2025 14:02:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtered-calculation-changes-the-values/m-p/4798611#M183609</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-08-16T14:02:25Z</dc:date>
    </item>
  </channel>
</rss>

