<?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: What if... my denominator changes... in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2672653#M79757</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Thanks for this Rico - I found a different solution in the end (and ironically the business case changed and the end user then no longer needed this functionality) but this looks like an elegant solution too.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 10:47:35 GMT</pubDate>
    <dc:creator>Parosel</dc:creator>
    <dc:date>2022-08-01T10:47:35Z</dc:date>
    <item>
      <title>What if... my denominator changes...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2664079#M79091</link>
      <description>&lt;P&gt;Hi, All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent the last day with our favourite search engine and looking through the forum here for an answer and can't find it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My situation is this I have a neumerator and denominator Activty A and Activity B with the result of 0.19 being the target for our clients, our clients have control primarily over Activity A. I have last years data for all months and want to be able to show our clients so I want to be able to show them what Activity A they will need to do each month if Activity B increase by 1%, 2%.. N% etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't help think this is a simple problem to solve and I'm just over thinking it... I've already tried to impliment a what if parameter but can't seem to get it to work how I want.&lt;BR /&gt;&lt;BR /&gt;Any help would be very much appreciated in this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 07:47:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2664079#M79091</guid>
      <dc:creator>Parosel</dc:creator>
      <dc:date>2022-07-27T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: What if... my denominator changes...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2664610#M79133</link>
      <description>&lt;P&gt;If you already have measures for Activity A and Activity B you can create a what if parameter with values ranging from 0 to 0.1, or whatever upper and lower bounds you need. You just need to remember that the percentage needs to be in decimal format, so 1% would be 0.01.&lt;/P&gt;&lt;P&gt;You can then use the what if parameter measure which gets created automatically for you in a new measure like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Value using what if =
var a = [Activity A]
var b = [Activity B] * ( 1 + [What if parameter measure])
return DIVIDE( a, b )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 27 Jul 2022 10:26:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2664610#M79133</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-07-27T10:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: What if... my denominator changes...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2664748#M79139</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;thanks so much for this - though it didn't work. It did however give me the footing I needed to work out the logic. thanks again&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 11:25:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2664748#M79139</guid>
      <dc:creator>Parosel</dc:creator>
      <dc:date>2022-07-27T11:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: What if... my denominator changes...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2671855#M79701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="369272" data-lia-user-login="Parosel" class="lia-mention lia-mention-user"&gt;Parosel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your statement, I think you want to calcualte Activity A based on dynamic Activity B.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Activity A / Activity B = 0.19.&lt;/P&gt;
&lt;P&gt;Here I create a sample to have a test.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I think what if parameter should help, or you can create a calculated table directly.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Parameter = GENERATESERIES(0, 1, 0.01)&lt;/LI-CODE&gt;
&lt;P&gt;Measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Activity A = 
VAR _Target = 0.19
VAR _B = CALCULATE(SUM('Table'[Activity B])) * (1 + SELECTEDVALUE(Parameter[Parameter]))
RETURN
_Target * _B&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 06:16:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2671855#M79701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-01T06:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: What if... my denominator changes...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2672653#M79757</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Thanks for this Rico - I found a different solution in the end (and ironically the business case changed and the end user then no longer needed this functionality) but this looks like an elegant solution too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 10:47:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-if-my-denominator-changes/m-p/2672653#M79757</guid>
      <dc:creator>Parosel</dc:creator>
      <dc:date>2022-08-01T10:47:35Z</dc:date>
    </item>
  </channel>
</rss>

