<?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: Help With Formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4071289#M161616</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your response, but I am incredibly confused on what you are trying to tell me to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you explain better?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 12:17:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-31T12:17:13Z</dc:date>
    <item>
      <title>Help With Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4069276#M161551</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a project and could use some help with a function. So i have an SQl server connection with data, and I am trying to take one of the columns and multiply the values by a selected increase or decrease, and then take that increase or decrease value and multiply that new amount by an entered value for a price for a certain month and criteria. Bascially I want something along the lines of ((original Value)*(% increase/decrease)) * (one of 40 entered values based on what month it is and what of the four criteria I have).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this even possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 13:52:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4069276#M161551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-30T13:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4070161#M161588</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&lt;/FONT&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Here’s how you can do it:&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;1. Load Your Data&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;2. Define Parameters&lt;BR /&gt;If you want to set parameters like increase/decrease percentage, month, and criteria, you can use Power BI parameters&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;3. Create Calculated Columns or Measures&lt;BR /&gt;Assume you have a separate table called 'PriceTable' with columns 'Month', 'Criteria', and 'Price'.&lt;/FONT&gt;&lt;FONT&gt;To find the price based on month and criteria, and then calculate the final value:&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(1) Create a Relationship between your main table and 'PriceTable' based on 'Month' and 'Criteria' (if applicable).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;(2) Create a Measure for Final Value:&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FinalValue =
VAR Adjusted = [OriginalValue] * (1 + [IncreasePercentage])
VAR Price =
CALCULATE(
MAX(PriceTable[Price]),
FILTER(
PriceTable,
PriceTable[Month] = [Month] &amp;amp;&amp;amp;
PriceTable[Criteria] = [Criteria]
)
)
RETURN
Adjusted * Price&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jayleny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 01:58:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4070161#M161588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-31T01:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4071289#M161616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your response, but I am incredibly confused on what you are trying to tell me to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you explain better?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 12:17:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4071289#M161616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-31T12:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help With Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4071348#M161617</link>
      <description>&lt;P&gt;This reply is awesome but at least now it seems like I would have to do a million different measures to acheive what I am trying to.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 13:00:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-With-Formula/m-p/4071348#M161617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-31T13:00:45Z</dc:date>
    </item>
  </channel>
</rss>

