<?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: Evolution rate only for common months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911982#M95176</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437717" data-lia-user-login="v-yinliw-msft" class="lia-mention lia-mention-user"&gt;v-yinliw-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, april is the problematic month because I don't have any data in april 2021. But I still wish to display datas for april 2022.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My charts and slicers are OK : if i select 2022 i see from april to september, and if i select 2021, i see from may to september.&lt;/P&gt;&lt;P&gt;But my rate is wrong. It displays "18%" instead of "8%" because april 2022 is integrated to the calculation. I'd like the rate to calculate only the 5 common months but still keep my datas for other charts .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 08:54:25 GMT</pubDate>
    <dc:creator>Jackisover</dc:creator>
    <dc:date>2022-11-17T08:54:25Z</dc:date>
    <item>
      <title>Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2908702#M94988</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to display an evolution rate which compares datas over 2 years. BUT, I only want common months to be part of the calculation. (In 2022, I have datas for 6 months, and in 20221 I have datas for 5 months). I just want my measure to calculate the rate between the 5 common months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an extract of my data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is my DAX measure :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Rate N /N-1 = 
divide ( sum('file'[Data N])-sum('file'[Data N-1]),sum('file'[Data N-1]),"NA")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, I want to be able do display my charts for each year, using a slicer for years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone give me the solution please ? I'm sure it's not that difficult !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thans a lot !&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 08:28:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2908702#M94988</guid>
      <dc:creator>Jackisover</dc:creator>
      <dc:date>2022-11-16T08:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911820#M95168</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="413846" data-lia-user-login="Jackisover" class="lia-mention lia-mention-user"&gt;Jackisover&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use your data and DAX to have a try.&lt;/P&gt;
&lt;P&gt;And then I create a column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date N-1 = 'file'[Date] - 365&lt;/LI-CODE&gt;
&lt;P&gt;Then I make a chart like this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you. Here is my PBIX file.&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;Community Support Team _Yinliw&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 07:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911820#M95168</guid>
      <dc:creator>v-yinliw-msft</dc:creator>
      <dc:date>2022-11-17T07:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911856#M95171</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437717" data-lia-user-login="v-yinliw-msft" class="lia-mention lia-mention-user"&gt;v-yinliw-msft&lt;/a&gt;&amp;nbsp;and thanks a lot for your work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rate is correct, but what happenned to my data for 01/04/2022 ? I need it to be seen on my dashboard, and it seems it's not in your file. Check out my screenshot :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I dont understand the importance of a "date n-1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:12:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911856#M95171</guid>
      <dc:creator>Jackisover</dc:creator>
      <dc:date>2022-11-17T08:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911870#M95172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="413846" data-lia-user-login="Jackisover" class="lia-mention lia-mention-user"&gt;Jackisover&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because I looked your sample data that I think the April seems not one of the five common months?&lt;/P&gt;
&lt;P&gt;Could you please explain to me what calculation do you want for the 01/04/2022?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Yinliw&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:17:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911870#M95172</guid>
      <dc:creator>v-yinliw-msft</dc:creator>
      <dc:date>2022-11-17T08:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911982#M95176</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437717" data-lia-user-login="v-yinliw-msft" class="lia-mention lia-mention-user"&gt;v-yinliw-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, april is the problematic month because I don't have any data in april 2021. But I still wish to display datas for april 2022.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My charts and slicers are OK : if i select 2022 i see from april to september, and if i select 2021, i see from may to september.&lt;/P&gt;&lt;P&gt;But my rate is wrong. It displays "18%" instead of "8%" because april 2022 is integrated to the calculation. I'd like the rate to calculate only the 5 common months but still keep my datas for other charts .&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:54:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2911982#M95176</guid>
      <dc:creator>Jackisover</dc:creator>
      <dc:date>2022-11-17T08:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2920824#M95778</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":up_not_button:"&gt;🆙&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If someone can help me find a solution...&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 07:59:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2920824#M95778</guid>
      <dc:creator>Jackisover</dc:creator>
      <dc:date>2022-11-22T07:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2921047#M95792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="413846" data-lia-user-login="Jackisover" class="lia-mention lia-mention-user"&gt;Jackisover&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this method:&lt;/P&gt;
&lt;P&gt;For the 04/01/2022, you can do this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MeasureN = CALCULATE(SUM(file[Data N]), FILTER('file','file'[Date] &amp;lt;&amp;gt; DATE(2022,4,1)))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;MeasureN-1 = CALCULATE(SUM(file[Data N-1]), FILTER('file', 'file'[Date N-1] &amp;lt;&amp;gt; MIN('file'[Date N-1])))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Result = DIVIDE([MeasureN] - [MeasureN-1], [MeasureN-1])&lt;/LI-CODE&gt;
&lt;P&gt;The result is:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Yinliw&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 08:54:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2921047#M95792</guid>
      <dc:creator>v-yinliw-msft</dc:creator>
      <dc:date>2022-11-22T08:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Evolution rate only for common months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2922154#M95848</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="437717" data-lia-user-login="v-yinliw-msft" class="lia-mention lia-mention-user"&gt;v-yinliw-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help, this is a good solution.&lt;/P&gt;&lt;P&gt;Actually, I thought there would be a way to automatize the calculation of a rate based on common months, but since there is not (maybe there is ?), the best way is to create a new column or a measure to reproduce common months only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 15:37:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Evolution-rate-only-for-common-months/m-p/2922154#M95848</guid>
      <dc:creator>Jackisover</dc:creator>
      <dc:date>2022-11-22T15:37:10Z</dc:date>
    </item>
  </channel>
</rss>

