<?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: Last week in the table calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003717#M101535</link>
    <description>&lt;P&gt;Thanks so much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, i use a slicer for week, so if i filter for week 52, for example, there would be a new #max expected amount in week 52 and not 53. In this case, how can i do in order to consider the max value in the table depending on the filter?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 15:12:30 GMT</pubDate>
    <dc:creator>danielcontente</dc:creator>
    <dc:date>2023-01-05T15:12:30Z</dc:date>
    <item>
      <title>Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3002988#M101459</link>
      <description>&lt;P&gt;Hi, i have the following table, and would like to create a measure in which i will divide each item in the column "#Total Accumulative Amount" by the value in the column "Max Expected Amount" (26,834,488)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The desired result should be a column with the following numbers:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 10:04:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3002988#M101459</guid>
      <dc:creator>danielcontente</dc:creator>
      <dc:date>2023-01-05T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003159#M101473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="297277" data-lia-user-login="danielcontente" class="lia-mention lia-mention-user"&gt;danielcontente&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=
DIVIDE (
    [#Total Accumulative Amount],
    CALCULATE ( [#Total Accumulative Amount], ALL ( 'Date'[Year Week number] ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 05 Jan 2023 11:16:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003159#M101473</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-05T11:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003717#M101535</link>
      <description>&lt;P&gt;Thanks so much&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, i use a slicer for week, so if i filter for week 52, for example, there would be a new #max expected amount in week 52 and not 53. In this case, how can i do in order to consider the max value in the table depending on the filter?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:12:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003717#M101535</guid>
      <dc:creator>danielcontente</dc:creator>
      <dc:date>2023-01-05T15:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003731#M101537</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="297277" data-lia-user-login="danielcontente" class="lia-mention lia-mention-user"&gt;danielcontente&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;DIVIDE (&lt;BR /&gt;[#Total Accumulative Amount],&lt;BR /&gt;CALCULATE (&lt;BR /&gt;[#Total Accumulative Amount],&lt;BR /&gt;ALLSELECTED ( 'Date'[Year Week number] )&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:17:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003731#M101537</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-05T15:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003744#M101539</link>
      <description>&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;If i filter for week 52, then the table below would show only until week 52, and therefore all the values in the column "#Total Accumulative Amount" should be divided by the #Max Amount of week 52..&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:20:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003744#M101539</guid>
      <dc:creator>danielcontente</dc:creator>
      <dc:date>2023-01-05T15:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003776#M101541</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it didnt work.&lt;/P&gt;&lt;P&gt;It keeps dividing by the max amount not the amount of the max week.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;because the amount in week 52 &amp;gt; week 53, even if a select week 53, it will divide by the amount of week 52.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:32:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003776#M101541</guid>
      <dc:creator>danielcontente</dc:creator>
      <dc:date>2023-01-05T15:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003881#M101548</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="297277" data-lia-user-login="danielcontente" class="lia-mention lia-mention-user"&gt;danielcontente&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;DIVIDE (&lt;BR /&gt;[#Total Accumulative Amount],&lt;BR /&gt;MAXX (&lt;BR /&gt;TOPN (&lt;BR /&gt;1,&lt;BR /&gt;ADDCOLUMNS (&lt;BR /&gt;ALLSELECTED ( 'Date'[Year Week number] ),&lt;BR /&gt;"@MaxAmount", [#Max Amount]&lt;BR /&gt;),&lt;BR /&gt;'Date'[Year Week number]&lt;BR /&gt;),&lt;BR /&gt;[@MaxAmount]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 16:05:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003881#M101548</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-05T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Last week in the table calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003903#M101551</link>
      <description>&lt;P&gt;working perfectly!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;appreciated it&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 16:20:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-week-in-the-table-calculation/m-p/3003903#M101551</guid>
      <dc:creator>danielcontente</dc:creator>
      <dc:date>2023-01-05T16:20:01Z</dc:date>
    </item>
  </channel>
</rss>

