<?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: Display value of the last selected month (even when there's multiple month selected) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/834420#M6117</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;A href="https://1drv.ms/u/s!AgCd7AyfqZtEymSRj7xYHIQCr_nm?e=e2aqVJ" target="_blank" rel="noopener"&gt;PBIX&lt;/A&gt;&amp;nbsp;Here is my pbix. I added an index column in Power Query.&lt;BR /&gt;Let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;If this solves your issues, please mark it as the &lt;STRONG&gt;solution, &lt;/STRONG&gt;so that others can find it easily. &lt;STRONG&gt;Kudos &lt;/STRONG&gt;are nice too.&lt;BR /&gt;Nathaniel&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Last month selected value = 

var _mIndex =MAX(texx[Index])

var _calc = CALCULATE(MAX(texx[Column2]),texx[Index]=_mIndex)
return _calc ​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 21:50:07 GMT</pubDate>
    <dc:creator>Nathaniel_C</dc:creator>
    <dc:date>2019-10-31T21:50:07Z</dc:date>
    <item>
      <title>Display value of the last selected month (even when there's multiple month selected)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/834222#M6108</link>
      <description>&lt;P&gt;Let's say I have a simple table with Months and value&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mar&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to display the last value (without any calculation or sum) of the latest month selected (even when there's multiple month selected).&lt;/P&gt;&lt;P&gt;Ex.:&amp;nbsp;&lt;/P&gt;&lt;P&gt;You select Jan, it shows 5&lt;/P&gt;&lt;P&gt;You select Q1 (Jan+Feb+Mar) it shows 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 18:27:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/834222#M6108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T18:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display value of the last selected month (even when there's multiple month selected)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/834420#M6117</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;A href="https://1drv.ms/u/s!AgCd7AyfqZtEymSRj7xYHIQCr_nm?e=e2aqVJ" target="_blank" rel="noopener"&gt;PBIX&lt;/A&gt;&amp;nbsp;Here is my pbix. I added an index column in Power Query.&lt;BR /&gt;Let me know if you have any questions.&lt;BR /&gt;&lt;BR /&gt;If this solves your issues, please mark it as the &lt;STRONG&gt;solution, &lt;/STRONG&gt;so that others can find it easily. &lt;STRONG&gt;Kudos &lt;/STRONG&gt;are nice too.&lt;BR /&gt;Nathaniel&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Last month selected value = 

var _mIndex =MAX(texx[Index])

var _calc = CALCULATE(MAX(texx[Column2]),texx[Index]=_mIndex)
return _calc ​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 21:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/834420#M6117</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2019-10-31T21:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Display value of the last selected month (even when there's multiple month selected)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/835125#M6155</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="159166" data-lia-user-login="Nathaniel_C" class="lia-mention lia-mention-user"&gt;Nathaniel_C&lt;/a&gt;&amp;nbsp; !!! You are the best !!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 17:38:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/835125#M6155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-01T17:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Display value of the last selected month (even when there's multiple month selected)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/835127#M6156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You are welcome! Thank you for the kind words.&lt;/P&gt;&lt;P&gt;Nathaniel&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 17:47:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/835127#M6156</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2019-11-01T17:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display value of the last selected month (even when there's multiple month selected)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/2607283#M75515</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i thought i would post on a thread which is close to the solution i am looking for, but not quite.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two months selected in a slicer which produce an interest rate correctly if i make a single selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interest Rate =&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;SUMX('EOM Balance','EOM Balance'[AccountBalance] *&lt;/P&gt;&lt;P&gt;'EOM Balance'[InterestRate]) /&lt;/P&gt;&lt;P&gt;'EOM Balance'[Month End Balance]),&lt;/P&gt;&lt;P&gt;USERELATIONSHIP('EOM Balance'[SnapshotDate],'Date'[Date])) /&lt;/P&gt;&lt;P&gt;100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i make a multiple selection, i would like the interest rate for the most recent month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e. March is 1.3 and April is 1.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i select March and April i would like for it to show April.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but cant seem to get it to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 14:49:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-value-of-the-last-selected-month-even-when-there-s/m-p/2607283#M75515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-28T14:49:48Z</dc:date>
    </item>
  </channel>
</rss>

