<?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: how to get the dax for Sum of Quote Value based on latest revision and Quote year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4771557#M182744</link>
    <description>&lt;P data-start="90" data-end="163"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P data-start="90" data-end="163"&gt;&lt;BR /&gt;Just checking were you trying to create a measure or a calculated column?&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;If it was a measure, you might want to try creating it as a calculated column instead and see if that gives the desired result. Let us know how it goes or if you’re still running into issues.&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;Prasanna Kumar&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 03:26:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-07-22T03:26:50Z</dc:date>
    <item>
      <title>how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4757633#M182183</link>
      <description>&lt;P&gt;Dynamically If I select year 2024 I need Sum of hilighted year which also the latest revision. If I select range from 2023 and 2024 I need whichever is laest in both years and sum.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 10:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4757633#M182183</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-09T10:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4757819#M182185</link>
      <description>&lt;P&gt;Please include, in a usable format, not an image, a small set of rows for each of the tables involved in your request and show the data model in a picture, so that we can import the tables in Power BI and reproduce the data model. The subset of rows you provide, even is just a subset of the original tables, must cover your issue or question completely. Do not include sensitive information and do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided and make sure, in case you show a Power BI visual, to clarify the columns used in the grouping sections of the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;click here &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;click here &lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 13:41:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4757819#M182185</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2025-07-09T13:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4757825#M182186</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get the sum of 'Quote Value in £' for the latest revision by creating a DAX measure. This measure will dynamically update based on the years you select in a slicer. Just remember to replace 'YourTable' with the actual name of your data table in the formula.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum of Latest Quote Value = 
CALCULATE(
    SUM('YourTable'[Quote Value in £]),
    FILTER(
        'YourTable',
        'YourTable'[Rev #] = 
            CALCULATE(
                MAX('YourTable'[Rev #]),
                ALLEXCEPT('YourTable', 'YourTable'[Opportunity #])
            )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;This formula works by first using the FILTER function to scan your table and keep only the relevant rows. The logic compares each row's Rev # to the maximum revision number for that specific Opportunity # within the selected year(s). The ALLEXCEPT function is what makes it dynamic; it tells the MAX calculation to respect your year slicer while it finds the highest revision for each opportunity. Finally, the outer CALCULATE and SUM functions add up the quote values for only the rows that FILTER identified as being the latest revision.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, when you select the year 2024, the measure correctly identifies revision 3 as the latest for Opportunity # 651411 within that year and includes only its value. If you select a range of 2023 and 2024, the logic still finds the overall latest revision for each opportunity across both years. For example, with Opportunity # 165413, it would see revisions from both years but correctly choose revision 2 as the latest and use its value in the final sum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 13:50:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4757825#M182186</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2025-07-09T13:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758096#M182196</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For fun only, to showcase old but still powerful Excel formulas,&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 20:30:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758096#M182196</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2025-07-09T20:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758542#M182218</link>
      <description>&lt;P&gt;Hi, Thanks for the Help...., I tried it.....partially working... as I select 2024 and 2025... Its not taking the sum values dynamically... its adding latest revision values for both 2024 and 2025...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758542#M182218</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-10T07:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758689#M182223</link>
      <description>&lt;P&gt;Thanks for the Solution.... But when I select the year... i get only the latest Revision and not the latest one for prior year...is it somthing I am doing worng? or did miss somthing..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 09:09:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758689#M182223</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-10T09:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758693#M182224</link>
      <description>&lt;P&gt;Hi Sir, Sorry for missing the data...understood the ask...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below data set....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Opportunity #&lt;/TD&gt;&lt;TD&gt;Quote Name&lt;/TD&gt;&lt;TD&gt;Rev #&lt;/TD&gt;&lt;TD&gt;Quote Year&lt;/TD&gt;&lt;TD&gt;Quote Value in £&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt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;&lt;TR&gt;&lt;TD&gt;176512&lt;/TD&gt;&lt;TD&gt;Q-176512-3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2025&lt;/TD&gt;&lt;TD&gt;132&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 09:13:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4758693#M182224</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-10T09:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4760559#M182294</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Forum Community.&lt;/P&gt;
&lt;P&gt;I’ve tried to reproduce the scenario using the Dax measure below. Please review and adjust it according to your data source. If the issue still persists, feel free to share more details, and we’ll be happy to assist further.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Prasanna Kumar&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Latest Quote Value by Year = 
VAR SelectedYears = VALUES('Quotes'[Quote Year])
RETURN
SUMX( FILTER(ADDCOLUMNS('Quotes', "@MaxRev", 
                CALCULATE(MAX('Quotes'[Rev #]),
                    ALLEXCEPT('Quotes', 'Quotes'[Opportunity #], 'Quotes'[Quote Year]))),
        'Quotes'[Quote Year] IN SelectedYears &amp;amp;&amp;amp;
        'Quotes'[Rev #] = [@MaxRev]),
    'Quotes'[Quote Value in £])
&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 12 Jul 2025 04:55:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4760559#M182294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-12T04:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4762968#M182433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="474658" data-lia-user-login="ThxAlot" class="lia-mention lia-mention-user"&gt;ThxAlot&lt;/a&gt;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608865" data-lia-user-login="DataNinja777" class="lia-mention lia-mention-user"&gt;DataNinja777&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp; for prompt and helpful responses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up to see if the solutions provided by community members were helpful in addressing the issue.&lt;/P&gt;
&lt;P&gt;If one of the responses helped resolve your query, please consider marking it as the Accepted Solution. Feel free to reach out if you need any further clarification or assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 05:06:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4762968#M182433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-15T05:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4763043#M182435</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my delay in response/accepting the solution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;whenever table is created based on Opportunity # as per below screen shot and I apply Filter for both 2024 and 2025, the latest Revisions values for 2024 and 2025 are getting added up...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In theory I would need the sum values of the latest Revision when I select 2024 and 2025.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example as per the below screenshot, I have selected 2024 and 2025 and for Opportunity # 165413 the sum value (Rev # 2 and Rev # 3)&amp;nbsp; appearing as &lt;SPAN&gt;£&lt;/SPAN&gt;1,345,260 where as i would need only the latest revision of both year put together which Rev # 3 ( &lt;SPAN&gt;£&lt;/SPAN&gt;670,069)&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 05:58:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4763043#M182435</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-15T05:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4763294#M182445</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;create a calculated column that will flag only the latest revision per Opportunity based on selected slicer years.&amp;nbsp;apply a visual-level filter for flag 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IsLatestRevisionAcrossSelectedYears = 
VAR SelectedYears = CALCULATETABLE(VALUES('Quotes'[Quote Year]), ALLSELECTED('Quotes'))
VAR MaxRev =
    CALCULATE(MAX('Quotes'[Rev #]),FILTER(
            ALL('Quotes'),
            'Quotes'[Opportunity #] = EARLIER('Quotes'[Opportunity #]) &amp;amp;&amp;amp;
            'Quotes'[Quote Year] IN SelectedYears))
RETURN
IF('Quotes'[Rev #] = MaxRev, 1, 0)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Prasanna Kumar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 08:28:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4763294#M182445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-15T08:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4763672#M182462</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the solution....I just tried with this method, but the problem here is the leatest revision&amp;nbsp;&lt;SPAN&gt;flag "1"&lt;/SPAN&gt; is always fixed to the latest revision irrecpective of the year chosen... For example If I have 2 Quotes created each year for the same opportunity (2023-2025)&amp;nbsp; for 3 years (total 6 Quotes)... and "1" is flagged only to 6th revision in 2025. and If I choose 2023 and 2024 I should be seeing only 4th revision as the latest one and not 6th revision.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;P&gt;Saran&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 12:24:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4763672#M182462</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-15T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4764802#M182523</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could you please try below Dax measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IsLatestRev = 
VAR SelectedYears = CALCULATETABLE(VALUES('Quotes'[Quote Year]), ALLSELECTED('Quotes'))
VAR MaxRev =CALCULATE(MAX('Quotes'[Rev #]),
        FILTER(ALL('Quotes'),
            'Quotes'[Opportunity #] = EARLIER('Quotes'[Opportunity #]) &amp;amp;&amp;amp;
            'Quotes'[Quote Year] IN SelectedYears))
RETURN
IF('Quotes'[Rev #] = MaxRev, 1, 0)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 07:31:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4764802#M182523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-16T07:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4765339#M182550</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the updated&amp;nbsp; mearure... but Earlier functions is not recognizing the opportunity # column...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 13:09:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4765339#M182550</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-16T13:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4766272#M182581</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;were you trying to create a measure or caluculated column?&lt;BR /&gt;&lt;BR /&gt;if you are creating a measure, try creating a calculated column.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Prasanna kumar&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 05:31:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4766272#M182581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-17T05:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4771557#M182744</link>
      <description>&lt;P data-start="90" data-end="163"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P data-start="90" data-end="163"&gt;&lt;BR /&gt;Just checking were you trying to create a measure or a calculated column?&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;If it was a measure, you might want to try creating it as a calculated column instead and see if that gives the desired result. Let us know how it goes or if you’re still running into issues.&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P data-start="165" data-end="356" data-is-last-node="" data-is-only-node=""&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 03:26:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4771557#M182744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-22T03:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4775209#M182874</link>
      <description>&lt;P data-start="71" data-end="74"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P data-start="71" data-end="74"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="76" data-end="239"&gt;Just following up to see if you had a chance to try creating it as a calculated column instead of a measure. Did that help achieve the result you were looking for?&lt;/P&gt;
&lt;P data-start="241" data-end="352"&gt;If you're still facing issues or need further assistance, feel free to share more details&amp;nbsp; we’re here to help!&lt;/P&gt;
&lt;P data-start="241" data-end="352"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="354" data-end="388" data-is-last-node="" data-is-only-node=""&gt;Thanks &amp;amp; Regards,&lt;BR data-start="371" data-end="374" /&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 13:32:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4775209#M182874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-24T13:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4779367#M183049</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;as of now i am using the DAX you gave on 16Jul25 as it needs to be dynamic... and&amp;nbsp; filter only one year at a time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 05:32:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4779367#M183049</guid>
      <dc:creator>saranmurthy</dc:creator>
      <dc:date>2025-07-29T05:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4783738#M183168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="79" data-end="236"&gt;Just wanted to follow up on this thread. I noticed you're currently using the DAX shared on 16-Jul-2025 to handle dynamic filtering for one year at a time.&lt;/P&gt;
&lt;P data-start="238" data-end="357"&gt;Let me know if it's meeting your requirements or if you're still facing any issues happy to help further if needed!&lt;/P&gt;
&lt;P data-start="238" data-end="357"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="359" data-end="379"&gt;Thanks,&lt;/P&gt;
&lt;P data-start="359" data-end="379"&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 04:43:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4783738#M183168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-01T04:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the dax for Sum of Quote Value based on latest revision and Quote year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4789572#M183338</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305403" data-lia-user-login="saranmurthy" class="lia-mention lia-mention-user"&gt;saranmurthy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="79" data-end="236"&gt;Just wanted to follow up on this. I noticed you're currently using the DAX shared on 16-Jul-2025 to handle dynamic filtering for one year at a time.&lt;/P&gt;
&lt;P data-start="238" data-end="357"&gt;Let me know if it's meeting your requirements or if you're still facing any issues happy to help further if needed!&lt;/P&gt;
&lt;P data-start="238" data-end="357"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="359" data-end="379"&gt;Thanks,&lt;/P&gt;
&lt;P data-start="359" data-end="379"&gt;Prasanna Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 04:56:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-the-dax-for-Sum-of-Quote-Value-based-on-latest/m-p/4789572#M183338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-08-07T04:56:07Z</dc:date>
    </item>
  </channel>
</rss>

