<?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: Multiplying Measures by Varied Month Number in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3361956#M126411</link>
    <description>&lt;P&gt;Thank you Anthony, this was the solution. I'm very grateful and you've also taught me a new function. Have a great day.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 15:07:10 GMT</pubDate>
    <dc:creator>Sol_idSnake</dc:creator>
    <dc:date>2023-08-02T15:07:10Z</dc:date>
    <item>
      <title>Multiplying Measures by Varied Month Number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3353548#M125962</link>
      <description>&lt;P&gt;I am trying to create a measure to display the following equation: (Annual Target / Months) * (Current Month Number). I have created the following equation and understand that it works correctly, up until the &lt;STRONG&gt;IF&lt;/STRONG&gt; function. I have highlighted this in bold. I do not understand my mistake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Live Target = (([TARGET 2024]) / MAX( MonthNumber[Month Number])) * (MONTH(Today())&lt;BR /&gt;(MONTH(Today()) &lt;STRONG&gt;IF(_month &amp;gt; 3, _month-3, _month+9)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Key here is that I am trying to vary the current month number so that April is regarded as the 1st month of the year.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 14:26:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3353548#M125962</guid>
      <dc:creator>Sol_idSnake</dc:creator>
      <dc:date>2023-07-27T14:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying Measures by Varied Month Number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3353729#M125966</link>
      <description>&lt;P&gt;I would do something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;LiveTarget =&amp;nbsp;&lt;BR /&gt;var curMonth = if(month(today())&amp;gt;3, month(today())-3, month(today())+9)&lt;BR /&gt;var result =&amp;nbsp;&lt;SPAN&gt;([TARGET 2024]) / MAX( MonthNumber[Month Number]) * curMonth&lt;BR /&gt;return result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post was helpful, please kudos or accept the answer as a solution.&lt;BR /&gt;~ Anthony Genovese&lt;BR /&gt;Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 16:06:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3353729#M125966</guid>
      <dc:creator>AnthonyGenovese</dc:creator>
      <dc:date>2023-07-27T16:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying Measures by Varied Month Number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3361956#M126411</link>
      <description>&lt;P&gt;Thank you Anthony, this was the solution. I'm very grateful and you've also taught me a new function. Have a great day.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 15:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplying-Measures-by-Varied-Month-Number/m-p/3361956#M126411</guid>
      <dc:creator>Sol_idSnake</dc:creator>
      <dc:date>2023-08-02T15:07:10Z</dc:date>
    </item>
  </channel>
</rss>

