<?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 Calculating with different multipliers based on value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732356#M181275</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently struggeling with a problem, which I cannot solve within Power BI. Based on definied quantities, we multiply within our controlling other values for some bonuses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Euro-Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Multiplier for values&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;0.015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;0.025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.000&lt;/TD&gt;&lt;TD&gt;0.035&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The complexity comes with the following rule. If we hit with our quantities 10.000, the following conditions needs to be applied:&lt;/P&gt;&lt;P&gt;If we hit 10.000€ for example, we need to calculate everything till 1.000 witht the multiplier 0.035, everything above needs to be calculated with 0.039 (1000*0.035+9000*0.039)=Final value&lt;/P&gt;&lt;P&gt;The first half of the problem I solve with this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Outcomes_Multiplier =&lt;BR /&gt;VAR Multiplier = SWITCH(&lt;BR /&gt;TRUE,&lt;BR /&gt;[Euro-Values] &amp;lt; 10, 0.015,&lt;BR /&gt;[Euro-Values] &amp;gt;= 10 &amp;amp;&amp;amp; [Invoiced Net Sales Including PM] &amp;lt; 100, 0.025,&lt;BR /&gt;[Euro-Values] &amp;gt;= 100 &amp;amp;&amp;amp; [Invoiced Net Sales Including PM] &amp;lt; 1000, 0.035,&lt;BR /&gt;0&lt;BR /&gt;)&lt;BR /&gt;Var BonusEstimator = [Euro-Values] *(Multiplier)&lt;BR /&gt;RETURN&lt;BR /&gt;BonusEstimator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I really can't find a solution for the last condition, where we combine two conditions.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drou&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jun 2025 09:34:31 GMT</pubDate>
    <dc:creator>Drouden</dc:creator>
    <dc:date>2025-06-15T09:34:31Z</dc:date>
    <item>
      <title>Calculating with different multipliers based on value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732356#M181275</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently struggeling with a problem, which I cannot solve within Power BI. Based on definied quantities, we multiply within our controlling other values for some bonuses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Euro-Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Multiplier for values&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;0.015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;0.025&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.000&lt;/TD&gt;&lt;TD&gt;0.035&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The complexity comes with the following rule. If we hit with our quantities 10.000, the following conditions needs to be applied:&lt;/P&gt;&lt;P&gt;If we hit 10.000€ for example, we need to calculate everything till 1.000 witht the multiplier 0.035, everything above needs to be calculated with 0.039 (1000*0.035+9000*0.039)=Final value&lt;/P&gt;&lt;P&gt;The first half of the problem I solve with this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Outcomes_Multiplier =&lt;BR /&gt;VAR Multiplier = SWITCH(&lt;BR /&gt;TRUE,&lt;BR /&gt;[Euro-Values] &amp;lt; 10, 0.015,&lt;BR /&gt;[Euro-Values] &amp;gt;= 10 &amp;amp;&amp;amp; [Invoiced Net Sales Including PM] &amp;lt; 100, 0.025,&lt;BR /&gt;[Euro-Values] &amp;gt;= 100 &amp;amp;&amp;amp; [Invoiced Net Sales Including PM] &amp;lt; 1000, 0.035,&lt;BR /&gt;0&lt;BR /&gt;)&lt;BR /&gt;Var BonusEstimator = [Euro-Values] *(Multiplier)&lt;BR /&gt;RETURN&lt;BR /&gt;BonusEstimator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I really can't find a solution for the last condition, where we combine two conditions.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drou&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 09:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732356#M181275</guid>
      <dc:creator>Drouden</dc:creator>
      <dc:date>2025-06-15T09:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating with different multipliers based on value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732385#M181276</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1290290" target="_self"&gt;&lt;SPAN class=""&gt;Drouden&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As per your original post description I tried to implement a solution with DAX expression. Please check the below pbix file.&lt;BR /&gt;&lt;A href="https://cloudbiexpert-my.sharepoint.com/:u:/p/maruthi/ERH5wFUe2CFOr6XUPiSr47sBPF3_sDXPtKwoxV22N7xp5Q?e=6Uy8GI" target="_blank" rel="noopener"&gt;Calculating with different multipliers based on value.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helped solve your problem, please consider clicking "Accept as Solution" so others can benefit too.&amp;nbsp;And if you found it useful, a quick "Kudos" is always appreciated, thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maruthi&amp;nbsp;&lt;/P&gt;&lt;P&gt;LinkedIn -&amp;nbsp;&lt;A href="http://www.linkedin.com/in/maruthi-siva-prasad/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.linkedin.com/in/maruthi-siva-prasad/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;A href="https://x.com/maruthisp" target="_blank" rel="nofollow noopener noreferrer"&gt;Maruthi Siva Prasad - (@MaruthiSP) / X&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 10:57:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732385#M181276</guid>
      <dc:creator>maruthisp</dc:creator>
      <dc:date>2025-06-15T10:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating with different multipliers based on value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732428#M181278</link>
      <description>&lt;P&gt;Thanks Maruthi, it worked out perfectly for me. The new context for the variable works like a charm. Have a great day,&lt;/P&gt;&lt;P&gt;Drou&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 11:29:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732428#M181278</guid>
      <dc:creator>Drouden</dc:creator>
      <dc:date>2025-06-15T11:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating with different multipliers based on value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732446#M181280</link>
      <description>&lt;P&gt;Glad to hear, Drouden &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Have a great day ahead!&lt;BR /&gt;Best regards,&lt;/P&gt;&lt;P&gt;Maruthi&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 11:47:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-with-different-multipliers-based-on-value/m-p/4732446#M181280</guid>
      <dc:creator>maruthisp</dc:creator>
      <dc:date>2025-06-15T11:47:27Z</dc:date>
    </item>
  </channel>
</rss>

