<?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: Cumulative ratio measure for two years from the month of 2019 to the month of 2022. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851117#M91391</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 10:42:54 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-10-19T10:42:54Z</dc:date>
    <item>
      <title>Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2849062#M91249</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;In this table we have the dates from 12-01-2019 to the current date and what we want to do is &lt;BR /&gt;an accumulated ratio of this table with which we try to get these measurements.

A measure that indicates the total guarantees claimed in two years, that is, &lt;BR /&gt;the guarantees from January 2020-January 2022 from February 2020-February &lt;BR /&gt;2022 and so that the accumulated is done automatically with all the months.
 

I await your response because I'm already desperate I don't know what else to try.

Thank you very much.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 12:10:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2849062#M91249</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2022-10-18T12:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2849662#M91293</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt; , With help from a date table &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumulative % = divide(CALCULATE(SUM(Table[Grt]),filter(all('Date'),'Date'[date] &amp;lt;=max('Date'[date]))), CALCULATE(SUM(Table[Grt]), all('Date') ) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 17:56:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2849662#M91293</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-18T17:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851113#M91390</link>
      <description>&lt;PRE&gt;&lt;SPAN class=""&gt;First of all thank you very much for trying to solve our problem, we have tried&lt;BR /&gt; to use that command that you have put but it does not work.

I enclose the measurement that you have given me but it does not work for me &lt;BR /&gt;even so I think that perhaps I have been able to put some wrong data.

These images that I attach correspond to the formula that we want to carry &lt;BR /&gt;out in Excel and the tables that are seen more clearly in the power bi.


This is the formula that we have in Excel to calculate the indicator of total guarantees &lt;BR /&gt;for 2 years in case it helps you. =IF(D27&amp;gt;0;C43+D27-'2020'!D11;"")


This is the calendar where we get the dates.
&lt;BR /&gt;This is the chart we want what happens is that in this case the data is wrong &lt;BR /&gt;because the indicator should go above the red trend line
&lt;BR /&gt;I enclose a pdf with my answer so that it can be seen more clearly than here

Thank you very much again and I look forward to your response.&lt;img /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 10:40:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851113#M91390</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2022-10-19T10:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851117#M91391</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 10:42:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851117#M91391</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-19T10:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851236#M91411</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Here I give you the tables with all the data in the 2020 capture where the graph is there I have put the excel formula and all the data we use is in yellow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 11:47:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2851236#M91411</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2022-10-19T11:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2852742#M91531</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Do you know how we could do the&amp;nbsp; measure?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 06:19:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2852742#M91531</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2022-10-20T06:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative ratio measure for two years from the month of 2019 to the month of 2022.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2855639#M91772</link>
      <description>&lt;PRE&gt;&lt;SPAN class=""&gt;In the end you were right, it was the formula that you gave me nothing more than removing the last part
&lt;BR /&gt;the formn: cumulative %= (calculate(sum(garantias[grt],filter(all('calendario'[fecha])))
&lt;BR /&gt;Thank you very much and sorry for the inconvenience &lt;STRONG&gt;you are the best&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 12:15:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-ratio-measure-for-two-years-from-the-month-of-2019-to/m-p/2855639#M91772</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2022-10-21T12:15:44Z</dc:date>
    </item>
  </channel>
</rss>

