<?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: Dimenshing Return in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854620#M91700</link>
    <description>&lt;P&gt;Thanks alot for your contribution, I read through you article about for and while loops and will definitely give it a try but can you please advise on what do you mean by expected output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset is broken by day and it is a real time data that is fetched from a data source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset includes amount spent and cost per result so there is a maximum amount of spend that we reach before the cost keeps on increasing after.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leaving the article link here for reference in case anyone wants to check it: &lt;A href="https://community.powerbi.com/t5/Community-Blog/For-and-While-Loops-in-DAX/ba-p/636314" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/For-and-While-Loops-in-DAX/ba-p/636314&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2022 00:36:49 GMT</pubDate>
    <dc:creator>Aymansg</dc:creator>
    <dc:date>2022-10-21T00:36:49Z</dc:date>
    <item>
      <title>Dimenshing Return</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854576#M91684</link>
      <description>&lt;P&gt;I am a new user to DAX and wanted to know if it is doable to create a dimenshing return model in power bi. I have been creating it using Excel sheets but wanted to include it in the dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have researched and found models for Linear Regression and Correlation but not for Dimenshing Return.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please advice?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 23:21:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854576#M91684</guid>
      <dc:creator>Aymansg</dc:creator>
      <dc:date>2022-10-20T23:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dimenshing Return</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854579#M91686</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459910" data-lia-user-login="Aymansg" class="lia-mention lia-mention-user"&gt;Aymansg&lt;/a&gt;&amp;nbsp;Sounds interesting. Should be possible via a DAX while loop I'm thinking. But, would need sample data and expected output to be specific.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 23:23:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854579#M91686</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-10-20T23:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dimenshing Return</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854620#M91700</link>
      <description>&lt;P&gt;Thanks alot for your contribution, I read through you article about for and while loops and will definitely give it a try but can you please advise on what do you mean by expected output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset is broken by day and it is a real time data that is fetched from a data source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset includes amount spent and cost per result so there is a maximum amount of spend that we reach before the cost keeps on increasing after.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leaving the article link here for reference in case anyone wants to check it: &lt;A href="https://community.powerbi.com/t5/Community-Blog/For-and-While-Loops-in-DAX/ba-p/636314" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/For-and-While-Loops-in-DAX/ba-p/636314&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 00:36:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2854620#M91700</guid>
      <dc:creator>Aymansg</dc:creator>
      <dc:date>2022-10-21T00:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dimenshing Return</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2855660#M91773</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459910" data-lia-user-login="Aymansg" class="lia-mention lia-mention-user"&gt;Aymansg&lt;/a&gt;&amp;nbsp;Well, really what I need to get started on this is for you to paste in some sample data. Or point me to some sample data.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:25:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2855660#M91773</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-10-21T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimenshing Return</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2855698#M91776</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="459910" data-lia-user-login="Aymansg" class="lia-mention lia-mention-user"&gt;Aymansg&lt;/a&gt;&amp;nbsp;Here is what I did, I ripped off a couple examples from here:&amp;nbsp;&lt;A href="https://www.wallstreetmojo.com/law-of-diminishing-returns/#h-example-1" target="_blank"&gt;Law of Diminishing Returns - Definition, Examples, Diagrams (wallstreetmojo.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I recreated these in Power BI. PBIX file is attached below signature. I implemented the diminishing returns as a calculated column. Turned out that this was MTBF and not a while loop. But, could implmenent a while loop to automatically identify where the diminishing returns kicks in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:39:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2855698#M91776</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-10-21T12:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dimenshing Return</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2856295#M91821</link>
      <description>&lt;P&gt;Here is a dummy sample data for your reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Platform&amp;nbsp; &amp;nbsp;&amp;nbsp;Date&amp;nbsp; Spend&amp;nbsp; &amp;nbsp;Cost&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; 2,366&amp;nbsp; &amp;nbsp; &amp;nbsp; 3.2&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; 1,577&amp;nbsp; &amp;nbsp; &amp;nbsp; 1.7&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; 3,627&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.7&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;4&amp;nbsp; &amp;nbsp; &amp;nbsp; 2,636&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.3&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; 3,326&amp;nbsp; &amp;nbsp; &amp;nbsp; 3.2&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;6&amp;nbsp; &amp;nbsp; &amp;nbsp; 1,782&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.3&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;7&amp;nbsp; &amp;nbsp; &amp;nbsp; 6,213&amp;nbsp; &amp;nbsp; &amp;nbsp; 2,4&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;8&amp;nbsp; &amp;nbsp; &amp;nbsp; 3,163&amp;nbsp; &amp;nbsp; &amp;nbsp; 3.2&lt;/P&gt;&lt;P&gt;Facebook&amp;nbsp; &amp;nbsp; &amp;nbsp;9&amp;nbsp; &amp;nbsp; &amp;nbsp; 4,118&amp;nbsp; &amp;nbsp; &amp;nbsp; 3.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have historical data for two years and can breakdown by day/week/month and for different platforms.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 20:13:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dimenshing-Return/m-p/2856295#M91821</guid>
      <dc:creator>Aymansg</dc:creator>
      <dc:date>2022-10-21T20:13:27Z</dc:date>
    </item>
  </channel>
</rss>

