<?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: Subtracting row wise value from same column and showing the result as difference in new column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840308#M150136</link>
    <description>&lt;P&gt;Hi, I am using single table only and all the calculations belongs to the same table. Here in front end when I added the calculated column in the table object then the value which came is not changing based on different selections made through different slicers. When I checked the issue , I got to know that only measures will respond to different selections and not the calculated column&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 07:28:05 GMT</pubDate>
    <dc:creator>aatish178</dc:creator>
    <dc:date>2024-04-16T07:28:05Z</dc:date>
    <item>
      <title>Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3836879#M150007</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a table consisting of Fiscal year FY20 and FY21(both FYs starts from July) and for that I have count of employee ID column next to it...&lt;/P&gt;&lt;P&gt;Now I want to subtract count of empid for FY20 from FY21 without hardcoding the FYs in DAX. In future if FY22 comes then the subtraction should happen from FY21 to FY22..And so on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used EARLIER function but no luck yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me if something can be done in such case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 05:09:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3836879#M150007</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T05:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3837294#M150026</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="724507" data-lia-user-login="aatish178" class="lia-mention lia-mention-user"&gt;aatish178&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if you could provide a small sample dataset along with the expected solution dataset/image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Udit&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Let's Connect: &lt;A href="https://www.linkedin.com/in/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkedIn&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://www.youtube.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://medium.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Medium&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://github.com/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;GitHub&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt; Visit My Linktree: &lt;A href="https://linktr.ee/quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkTree&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 07:19:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3837294#M150026</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-15T07:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3837424#M150030</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;FY | Count of EmpID | Difference&lt;/P&gt;&lt;P&gt;-------------------------------------&lt;/P&gt;&lt;P&gt;FY20 | 100 | 0 (which is 100-100)&lt;/P&gt;&lt;P&gt;FY21 | 200 | -100 (100 - 200)&lt;/P&gt;&lt;P&gt;FY22 | 50 |&amp;nbsp; 150 (200-50)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this dataset helps&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 07:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3837424#M150030</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T07:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3837954#M150039</link>
      <description>&lt;P&gt;Is this the dataset you have? or,is this a sample of the solution you want?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Udit&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Let's Connect: &lt;A href="https://www.linkedin.com/in/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkedIn&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://www.youtube.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://medium.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Medium&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://github.com/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;GitHub&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt; Visit My Linktree: &lt;A href="https://linktr.ee/quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkTree&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 11:00:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3837954#M150039</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-15T11:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838162#M150044</link>
      <description>&lt;P&gt;FY and Count of Emp ID column I have as a dataset and I want to calculate difference from Count of Emp ID column and want to show it in separate column named "difference"&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 11:49:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838162#M150044</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838885#M150081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="724507" data-lia-user-login="aatish178" class="lia-mention lia-mention-user"&gt;aatish178&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may use the following DAX formula to create a calculated column in the table to dynamically get the difference in employee count from the previous year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Difference = 
// Get Current and Previous Year
VAR _currentFY = CONVERT ( RIGHT ( DiffTable[FY], 2 ), INTEGER )
VAR _previousFY = _currentFY - 1 

// Get Employee ID count for current year
VAR _empCurrentFY =
    CALCULATE (
        SUM ( DiffTable[Count of EmpID] ),
        FILTER ( DiffTable, DiffTable[FY] = "FY" &amp;amp; _currentFY )
    ) 
    
// Get Employee ID count for previous year
VAR _empPreviousFY =
    CALCULATE (
        SUM ( DiffTable[Count of EmpID] ),
        FILTER ( DiffTable, DiffTable[FY] = "FY" &amp;amp; _previousFY )
    )
RETURN
    IF(
        ISBLANK(_empPreviousFY), 0,
        ABS ( _empPreviousFY - _empCurrentFY )
    ) // Absolute difference in employee count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the screenshot of the solution&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;&lt;P&gt;I hope this will help but, let me know if anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Udit&lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accepting it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Appreciate your Kudo &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Let's Connect: &lt;A href="https://www.linkedin.com/in/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkedIn&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://www.youtube.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://medium.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Medium&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://github.com/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;GitHub&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt; Visit My Linktree: &lt;A href="https://linktr.ee/quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkTree&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:27:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838885#M150081</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-15T17:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838894#M150083</link>
      <description>&lt;P&gt;Hi Udit,&lt;/P&gt;&lt;P&gt;Thanks for your reply...I am trying the same in my solution...I will get back to you ☺️&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:35:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838894#M150083</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838916#M150084</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi Udit...from screenshot it seems this solution works for future new FYs as well, if yes then that's what I was exactly looking for...also I have just started with power bi work before 3 weeks and here from the solution it seems the filter will not get applied to this result...is there a way to make slicer selection possible on this?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 18:08:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838916#M150084</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T18:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838917#M150085</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="724507" data-lia-user-login="aatish178" class="lia-mention lia-mention-user"&gt;aatish178&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's Udit actually and not Uday&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;Yeah, the formula is future-proof... so, as the new FY comes, the formula should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the solution worked, then, &lt;EM&gt;&lt;STRONG&gt;please mark it as a solution&lt;/STRONG&gt;&lt;/EM&gt; to help others find the solution quickly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Udit&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Appreciate your Kudo &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Let's Connect: &lt;A href="https://www.linkedin.com/in/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkedIn&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://www.youtube.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://medium.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Medium&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://github.com/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;GitHub&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt; Visit My Linktree: &lt;A href="https://linktr.ee/quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkTree&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:58:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838917#M150085</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-15T17:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838956#M150089</link>
      <description>&lt;P&gt;Sorry my bad...I had mistakely typed a wrong name, I had very hectic day mostly trying the different possibilities for the solution...but finally it worked because of you...thanks again...just a small doubt... I want the slicers to get applied on this solution...may I know what to do for it? Because I had seen the number is unchanged after slicer selection&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 18:21:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838956#M150089</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838967#M150090</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="724507" data-lia-user-login="aatish178" class="lia-mention lia-mention-user"&gt;aatish178&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the field that you are choosing for a slicer is in the same table then, it should filter the table. If the slicer field belongs to some other field, then, you have to make sure that you have an active relationship between the tables&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 18:28:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838967#M150090</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-15T18:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838980#M150092</link>
      <description>&lt;P&gt;I will look into it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 18:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3838980#M150092</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-15T18:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840183#M150130</link>
      <description>&lt;P&gt;Hi Udit...the slicer selection is changing the resulting table but the calculated column value is still static. Is there a way to make the calculation which will respond to slicer selection. I tried using calculated measure but for both the FYs I am getting same no. Of employees., and the measure is not calculating the difference between adjacent FY Emp ID count.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 06:39:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840183#M150130</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-16T06:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840195#M150131</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="724507" data-lia-user-login="aatish178" class="lia-mention lia-mention-user"&gt;aatish178&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The slicer should filter things properly. Please provide a sample table that you are using to filter the existing table... I am pretty sure, the issue is in relationships but, yeah I need to see the data model (maybe a screenshot will do)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 06:42:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840195#M150131</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-16T06:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840308#M150136</link>
      <description>&lt;P&gt;Hi, I am using single table only and all the calculations belongs to the same table. Here in front end when I added the calculated column in the table object then the value which came is not changing based on different selections made through different slicers. When I checked the issue , I got to know that only measures will respond to different selections and not the calculated column&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:28:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840308#M150136</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-16T07:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840325#M150137</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; see here is the output without applying any slicer and this output is correct.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:34:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840325#M150137</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-16T07:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840337#M150139</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; here I have applied slicer selection of country and for that emp count is getting changed but Difference column value is still STATIC and here is the issue coming&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:37:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840337#M150139</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-16T07:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840444#M150145</link>
      <description>&lt;P&gt;There is something fundamentally incorrect in how you are doing it or how you have provided the problem...&lt;BR /&gt;&lt;BR /&gt;It seems you have a relation between the table where you have FY and employee info and a table where you have country info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect the dataset you have provided initially is incomplete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to understand, that Power BI runs on top of a data model and so as DAX. If you are unsure about how the relationship works and how a slicer filters the whole or, a part of the table, I urge you to provide the anonymized version of the actual datasets you are working with along with the relationships.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a table with the following columns: FY, Count of Employee, and Difference (calculated column) and you are saying the country slicer is filtering the "Employee Count" and not the "Difference" then, this can't be true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, another distant possibility could be, that you are unfamiliar with the Power BI terminologies and you are considering &lt;STRONG&gt;"Table Visual"&lt;/STRONG&gt; or, &lt;STRONG&gt;"Matrix Visual"&lt;/STRONG&gt; as a table. Well if this "distant possibility" is the case then, I would highly recommend getting familiar with the Power BI terminologies otherwise the results can be drastically different... because a "Table visual" works differently than a "table".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Udit&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Let's Connect: &lt;A href="https://www.linkedin.com/in/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkedIn&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://www.youtube.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://medium.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Medium&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://github.com/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;GitHub&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt; Visit My Linktree: &lt;A href="https://linktr.ee/quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkTree&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:03:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840444#M150145</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-16T08:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840793#M150155</link>
      <description>&lt;P&gt;The whole problem is with Count of Emp ID column...it is not a straight forward column used directly... 1stly in the table visual I am using emp Id as count of emp I'd to get count for each FY and on the top of that the difference is getting calculated. Hence problem is arising in the selection. I am using simple table visual and not the Matrix one&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 09:39:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3840793#M150155</guid>
      <dc:creator>aatish178</dc:creator>
      <dc:date>2024-04-16T09:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting row wise value from same column and showing the result as difference in new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3841063#M150167</link>
      <description>&lt;P&gt;Now I got it..&lt;/P&gt;&lt;P&gt;You shouldn't call "Table Visual" as a "Table"... These are 2 different things and again you shouldn't ask Power BI questions by referring to visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way you put your question is incorrect. You should have provided the data tables (In power bi terminology, when someone says "Table" we understand it as a data table and not the table visual) and the kind of relationship you have and then, you should have asked what kind of visual you want with what columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since, you clarified it now. I would require a sample of all the tables (data tables not the table visual), also you need to mention the kind of relationship you have between the tables (if you have multiple data tables) and then, what the results you want ( In your case, I guess the result you want is a table visual with FY, employee count and different and a slicer to filter by country).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly attach the datasets (or, send a link to download a sample PBIX) and your requirements with accurate terminologies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please go through this blog to understand how to ask your questions and what resources you need to provide to get your answers quickly and in one shot:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, please see this post regarding How to Get Your Question Answered Quickly:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Udit&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Let's Connect: &lt;A href="https://www.linkedin.com/in/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkedIn&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://www.youtube.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://medium.com/@quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Medium&lt;/STRONG&gt;&lt;/A&gt; || &lt;A href="https://github.com/quantumudit/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;GitHub&lt;/STRONG&gt;&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":sparkles:"&gt;✨&lt;/span&gt; Visit My Linktree: &lt;A href="https://linktr.ee/quantumudit" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LinkTree&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 10:49:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-row-wise-value-from-same-column-and-showing-the/m-p/3841063#M150167</guid>
      <dc:creator>quantumudit</dc:creator>
      <dc:date>2024-04-16T10:49:52Z</dc:date>
    </item>
  </channel>
</rss>

