<?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: Total Not Matching with the Actual Numbers in the table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4008794#M157397</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thanks for your contribution on this thread.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="259126" data-lia-user-login="jovendeluna21" class="lia-mention lia-mention-user"&gt;jovendeluna21&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I updated your sample pbix file, please check if that is what you want. You can follow the steps below to get it:&lt;/P&gt;
&lt;P&gt;1. &lt;STRONG&gt;Update&lt;/STRONG&gt; the formula of following 2 measures as below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Prev Total Qty = 
VAR CurrentYear =
    MAX ( 'Sample'[Fiscal Year Number] )
VAR PrevYear = CurrentYear - 'Last N'[Var]
RETURN
    CALCULATE (
        SUM ( 'Sample'[Converted Received Quantity - Base UOM] ),
        FILTER (
            ALL ( 'Sample' ),
            'Sample'[Site PN] = SELECTEDVALUE ( 'Sample'[Site PN] )
                &amp;amp;&amp;amp; 'Sample'[Fiscal Year Number] = PrevYear
        )
    )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;PrevYear Spend = 
VAR CurrentYear =
    MAX ( 'Sample'[Fiscal Year Number] )
VAR PrevYear = CurrentYear - 'Last N'[Var]
RETURN
    CALCULATE (
        SUM ( 'Sample'[Actual Amount (USD)] ),
        FILTER (
            ALL ( 'Sample' ),
            'Sample'[Site PN] = SELECTEDVALUE ( 'Sample'[Site PN] )
                &amp;amp;&amp;amp; 'Sample'[Fiscal Year Number] = PrevYear
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;2. &lt;STRONG&gt;Create&lt;/STRONG&gt; another new measure as below to &lt;FONT color="#FF0000"&gt;replace&lt;/FONT&gt; the original measure [Dollar Impact ($)]&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Dollar impart with correct total values = SUMX(VALUES('Sample'[Site PN]),[Dollar Impact ($)])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 09:17:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-25T09:17:43Z</dc:date>
    <item>
      <title>Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4007700#M157057</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Anyone who would know why the total is not matching with the expected total?&lt;/P&gt;&lt;P&gt;The expected Dollar Impact ($) total should be &lt;STRONG&gt;108&lt;/STRONG&gt; only but it's giving me 2,186.&lt;/P&gt;&lt;P&gt;Then on the per month table, the values per month are not matching with the right total.&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;On the monthly table, this should be the expected breakdown I highlighted below:&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;Maybe there's a need to update my dax calculation, and this is my calculation reference&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;Attached on this link the pbi copy and excel file:&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1K7_1OwlhD_w70wkBHnmcSnTfDDJQ9-iq/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1K7_1OwlhD_w70wkBHnmcSnTfDDJQ9-iq/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1p0nwvskWW05B_bePsTjvHmWD_bMkPu1J/edit?usp=sharing&amp;amp;ouid=116839261107719701663&amp;amp;rtpof=true&amp;amp;sd=true" target="_blank" rel="noopener"&gt;https://docs.google.com/spreadsheets/d/1p0nwvskWW05B_bePsTjvHmWD_bMkPu1J/edit?usp=sharing&amp;amp;ouid=116839261107719701663&amp;amp;rtpof=true&amp;amp;sd=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help! Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 20:24:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4007700#M157057</guid>
      <dc:creator>jovendeluna21</dc:creator>
      <dc:date>2024-06-24T20:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4007783#M157090</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="259126" data-lia-user-login="jovendeluna21" class="lia-mention lia-mention-user"&gt;jovendeluna21&lt;/a&gt;&amp;nbsp;First, please vote for this idea: &lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e" target="_blank"&gt;https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also: &lt;A href="https://youtu.be/uXRriTN0cfY" target="_blank"&gt;https://youtu.be/uXRriTN0cfY&lt;/A&gt;&lt;BR /&gt;And: &lt;A href="https://youtu.be/n4TYhF2ARe8" target="_blank"&gt;https://youtu.be/n4TYhF2ARe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 22:07:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4007783#M157090</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-06-24T22:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4008794#M157397</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;Thanks for your contribution on this thread.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="259126" data-lia-user-login="jovendeluna21" class="lia-mention lia-mention-user"&gt;jovendeluna21&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I updated your sample pbix file, please check if that is what you want. You can follow the steps below to get it:&lt;/P&gt;
&lt;P&gt;1. &lt;STRONG&gt;Update&lt;/STRONG&gt; the formula of following 2 measures as below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Prev Total Qty = 
VAR CurrentYear =
    MAX ( 'Sample'[Fiscal Year Number] )
VAR PrevYear = CurrentYear - 'Last N'[Var]
RETURN
    CALCULATE (
        SUM ( 'Sample'[Converted Received Quantity - Base UOM] ),
        FILTER (
            ALL ( 'Sample' ),
            'Sample'[Site PN] = SELECTEDVALUE ( 'Sample'[Site PN] )
                &amp;amp;&amp;amp; 'Sample'[Fiscal Year Number] = PrevYear
        )
    )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;PrevYear Spend = 
VAR CurrentYear =
    MAX ( 'Sample'[Fiscal Year Number] )
VAR PrevYear = CurrentYear - 'Last N'[Var]
RETURN
    CALCULATE (
        SUM ( 'Sample'[Actual Amount (USD)] ),
        FILTER (
            ALL ( 'Sample' ),
            'Sample'[Site PN] = SELECTEDVALUE ( 'Sample'[Site PN] )
                &amp;amp;&amp;amp; 'Sample'[Fiscal Year Number] = PrevYear
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;2. &lt;STRONG&gt;Create&lt;/STRONG&gt; another new measure as below to &lt;FONT color="#FF0000"&gt;replace&lt;/FONT&gt; the original measure [Dollar Impact ($)]&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Dollar impart with correct total values = SUMX(VALUES('Sample'[Site PN]),[Dollar Impact ($)])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 09:17:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4008794#M157397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-25T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4011403#M157893</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/a&gt;! You're such a big help! By the way, is there a way to update the '% Comparable Dollar Impact' to be 7.42%? The calculation is something like this (Dollar Impact/(Total USD Spend Amount-Dollar Impact)). Currently it's showing 100% for all months.&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the goal&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;I upload here the pbi copy:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1pbH-6ZqsFbUFG9bATHTk_xe7ISB87NNF/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1pbH-6ZqsFbUFG9bATHTk_xe7ISB87NNF/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/spreadsheets/d/1p0nwvskWW05B_bePsTjvHmWD_bMkPu1J/edit?usp=sharing&amp;amp;ouid=116839261107719701663&amp;amp;rtpof=true&amp;amp;sd=true" target="_blank"&gt;https://docs.google.com/spreadsheets/d/1p0nwvskWW05B_bePsTjvHmWD_bMkPu1J/edit?usp=sharing&amp;amp;ouid=116839261107719701663&amp;amp;rtpof=true&amp;amp;sd=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I totally appreciate your help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 18:40:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4011403#M157893</guid>
      <dc:creator>jovendeluna21</dc:creator>
      <dc:date>2024-06-26T18:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014492#M158166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="740392" data-lia-user-login="DryMouse555" class="lia-mention lia-mention-user"&gt;DryMouse555&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please &lt;STRONG&gt;update&lt;/STRONG&gt; the formula of measure&lt;STRONG&gt; [Comparable USD Spend 2]&lt;/STRONG&gt; as below, please find the details in &lt;EM&gt;&lt;STRONG&gt;the attachment&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Comparable USD Spend 2 = 
VAR py =
    MAX ( 'Sample'[Fiscal Year Number] ) - 'Last N'[Var]
VAR _cyv = [Total USD Spend]
VAR a =
    SUMMARIZE ( 'Sample', [Site Id], [Internal Part Number], "cyv", _cyv )
VAR b =
    ADDCOLUMNS ( a, "pyv", CALCULATE ( _cyv, 'Sample'[Fiscal Year Number] = py ) )
RETURN
    SUMX ( FILTER ( b, NOT ISBLANK ( [pyv] ) ), [cyv] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 02:05:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014492#M158166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-28T02:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014683#M158178</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Anonymous&lt;/a&gt; for your response ! I tried to add another part number in the filter and I just noticed that the total of&amp;nbsp;&lt;STRONG&gt;[Comparable USD Spend 2]&amp;nbsp;&lt;/STRONG&gt;is not showing correctly. Instead of $18,841, it should be $9,421. I just need to report that metric as well and hopefully it's something can be fix. Thanks again for your help!&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;</description>
      <pubDate>Fri, 28 Jun 2024 05:02:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014683#M158178</guid>
      <dc:creator>jovendeluna21</dc:creator>
      <dc:date>2024-06-28T05:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014807#M158185</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="259126" data-lia-user-login="jovendeluna21" class="lia-mention lia-mention-user"&gt;jovendeluna21&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please &lt;STRONG&gt;create another new measure&lt;/STRONG&gt; as below to &lt;FONT color="#FF0000"&gt;replace&lt;/FONT&gt; this measure and put this new measure onto the visual:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;00_Comparable USD Spend 2 = SUMX(VALUES('Sample'[Site PN]),[Comparable USD Spend 2])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;By te way, you can also adopt the same method to handle it if the total value of measure is not correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Create another new meaure&lt;/STRONG&gt; as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;New Measure = SUMX(VALUES('Sample'[Site PN]),[measure with incorrect total value])​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Put the above new measure onto the visual to &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;replace&lt;/FONT&gt; &lt;/STRONG&gt;the original one&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In addition, you can refer the following links to try to solve your problem...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRii_6qkLNh8&amp;amp;data=05%7C02%7Cv-yiruan%40microsoft.com%7Ce82ddff765b94d95004c08dc3dc09d40%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638453144743775929%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=uyBdW2oxK43neEUqjvnCDlOO81uX1MwaVxNXUX33EZU%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKa7Ds4EAjNQ&amp;amp;data=05%7C02%7Cv-yiruan%40microsoft.com%7Ce82ddff765b94d95004c08dc3dc09d40%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638453144743791039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=K5nrzZF3Irx9Xjb5Ay3rwHRNzPpnd2r30o7LOHNYCxA%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;Dax for Power BI: Fixing Incorrect Measure Totals&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 06:04:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014807#M158185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-28T06:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014834#M158189</link>
      <description>&lt;P&gt;Great! Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 06:15:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4014834#M158189</guid>
      <dc:creator>jovendeluna21</dc:creator>
      <dc:date>2024-06-28T06:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total Not Matching with the Actual Numbers in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4015258#M158210</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a 'Comparable' filter, and currently, I default the previous year calculation to -1. This means it defaults to 2023, but I want the comparable spend to be dynamic based on the selected fiscal year. For example, when I change to 2022, the current fiscal year number (which in my example is filtered to 2024) should be compared, meaning all the common Site PNs in 2022 and 2024 only. I tried to use 'Last N'[Var], but I am getting an error.&lt;/P&gt;&lt;P&gt;Can you help me with this? Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;&lt;A href="https://drive.google.com/file/d/13mOcZwMqymf2cSguEtyEAHG74nnVwrpw/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/13mOcZwMqymf2cSguEtyEAHG74nnVwrpw/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 19:08:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Not-Matching-with-the-Actual-Numbers-in-the-table/m-p/4015258#M158210</guid>
      <dc:creator>jovendeluna21</dc:creator>
      <dc:date>2024-06-28T19:08:29Z</dc:date>
    </item>
  </channel>
</rss>

