<?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: DAX in Power Bi YTD calculations and month values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696308#M34903</link>
    <description>&lt;P&gt;&lt;SPAN&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;, thank you for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what i need is this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;YTD of Values in Mar is the sum of 4542+1187+5021 (Jan+Feb+Mar) and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this also applies to YTD of Total.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is this clear?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once more thank you for your help&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;</description>
    <pubDate>Mon, 01 Mar 2021 14:31:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-03-01T14:31:53Z</dc:date>
    <item>
      <title>DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696019#M34889</link>
      <description>&lt;P&gt;I need help with the calculations with the YTD calculations, and Month values.&lt;/P&gt;&lt;P&gt;My table is called TBL_Indicator and the structure is the following&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;SPAN&gt;My issue with the YTD is that it need to be filter by a column named Filter (mmm/YYYY - Jan/2020), and my month values should be the Divide(sum[value],Sum[Total]) based also on the filter column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have created also a Calendar table using the following structure.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATES = CALENDAR(DATE(2020,01,01),DATE(2021,12,01))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YEAR = YEAR(DATES[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MonthNumber = MONTH (DATES[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MonthPrefix = FORMAT (DATES[Date],"mmm")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Filter = CONCATENATE(DATES[MonthPrefix],CONCATENATE("/",DATES[YEAR]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want on the matrix to be able to filter by Country and Filter, without the data being all summarized and giving values like 1500%&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you in advance for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 12:19:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696019#M34889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-01T12:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696179#M34897</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Not very clear. You need to have column like this which you can use as slicer &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;month year = FORMAT (DATES[Date],"mmm/YYYY")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ytd should be like&lt;/P&gt;
&lt;P&gt;YTD Sales = CALCULATE(Divide(sum[value],Sum[Total]),DATESYTD('Date'[Date],"12/31"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI — Year on Year with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=km41KfM_0uA" target="_blank"&gt;https://www.youtube.com/watch?v=km41KfM_0uA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 13:43:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696179#M34897</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-03-01T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696308#M34903</link>
      <description>&lt;P&gt;&lt;SPAN&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;, thank you for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what i need is this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;YTD of Values in Mar is the sum of 4542+1187+5021 (Jan+Feb+Mar) and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this also applies to YTD of Total.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is this clear?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once more thank you for your help&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;</description>
      <pubDate>Mon, 01 Mar 2021 14:31:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696308#M34903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-01T14:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696402#M34904</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , This should work with a measure like this, with help from the date table &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YTD values= CALCULATE(sum[value]),DATESYTD('Date'[Date],"12/31"))&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 15:00:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696402#M34904</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-03-01T15:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696492#M34912</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;, thank you the output using your table give me the same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YTD Sales = CALCULATE(SUM(TBL_Automation_Data3[Value]),DATESYTD(Calendario[Filter].[Date],"12/31"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Power Bi gives.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What i realy want to show&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 15:52:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696492#M34912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-01T15:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696534#M34914</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;, I suggested a new measure. You are trying a column. Try a column like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sumx(filter(Table, [country] =earlier([country]) &amp;amp;&amp;amp; [product] =earlier([product]) &amp;amp;&amp;amp; [indicator] =earlier([indicator]) &amp;amp;&amp;amp; [month_num] &amp;lt;=earlier([month_num]) &lt;BR /&gt;&amp;amp;&amp;amp; [year] =earlier([year]) ),[value])&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 16:16:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696534#M34914</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-03-01T16:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: DAX in Power Bi YTD calculations and month values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696587#M34919</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;thank you so much it worked&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":man_dancing:"&gt;🕺&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 16:45:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-in-Power-Bi-YTD-calculations-and-month-values/m-p/1696587#M34919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-01T16:45:42Z</dc:date>
    </item>
  </channel>
</rss>

