<?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 YTD calculations for november to october calendar year and not regular jan-dec year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-calculations-for-november-to-october-calendar-year-and-not/m-p/1544579#M30486</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the distinct count of oppurtunity id year wise and display the numbers till date. Say for example today is 11-dec-2020. I need to display the distinct count of activations for 2020 and 2019. I am able to achieve this if the year starts from jan and ends at dec.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The complexity increases when the calendar year is supposed to start from nov 1 and end at oct 31. In this case, i need to show the values from nov 1 2020 till date (dec 11 2020) and compare it with previous year same date range i.e nov 1 2019 to dec 11 2019 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am not getting the desired result in dax, when i use visual level filter i am able to see the distinct count i.e count value of 1 in (nov 1 2019 till dec 11 2019) but how to achieve this in dax, can anyone help me here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attching the pbix file and the source file in the below google drive link :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1I65JyZZAlJpo_wWJ3A_Jv37kJnRtnZiv/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1I65JyZZAlJpo_wWJ3A_Jv37kJnRtnZiv/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1qUlCG_nkipQ6unWj4TbLGUXKuPyjLbgw/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1qUlCG_nkipQ6unWj4TbLGUXKuPyjLbgw/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aneesh&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 06:19:41 GMT</pubDate>
    <dc:creator>anee123</dc:creator>
    <dc:date>2020-12-11T06:19:41Z</dc:date>
    <item>
      <title>YTD calculations for november to october calendar year and not regular jan-dec year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-calculations-for-november-to-october-calendar-year-and-not/m-p/1544579#M30486</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate the distinct count of oppurtunity id year wise and display the numbers till date. Say for example today is 11-dec-2020. I need to display the distinct count of activations for 2020 and 2019. I am able to achieve this if the year starts from jan and ends at dec.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The complexity increases when the calendar year is supposed to start from nov 1 and end at oct 31. In this case, i need to show the values from nov 1 2020 till date (dec 11 2020) and compare it with previous year same date range i.e nov 1 2019 to dec 11 2019 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am not getting the desired result in dax, when i use visual level filter i am able to see the distinct count i.e count value of 1 in (nov 1 2019 till dec 11 2019) but how to achieve this in dax, can anyone help me here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attching the pbix file and the source file in the below google drive link :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1I65JyZZAlJpo_wWJ3A_Jv37kJnRtnZiv/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1I65JyZZAlJpo_wWJ3A_Jv37kJnRtnZiv/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1qUlCG_nkipQ6unWj4TbLGUXKuPyjLbgw/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1qUlCG_nkipQ6unWj4TbLGUXKuPyjLbgw/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aneesh&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 06:19:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-calculations-for-november-to-october-calendar-year-and-not/m-p/1544579#M30486</guid>
      <dc:creator>anee123</dc:creator>
      <dc:date>2020-12-11T06:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations for november to october calendar year and not regular jan-dec year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-calculations-for-november-to-october-calendar-year-and-not/m-p/1544946#M30495</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="266455" data-lia-user-login="anee123" class="lia-mention lia-mention-user"&gt;anee123&lt;/a&gt;&amp;nbsp;, the best practice to make full use of time intelligence functions is to leverage a standard calendar table in the data model. If the date column isn't a standard one, unexpected results pop up. An important reason is that almost all time intelligence functions conduct context transition implicitly during the evulation; such behaviors, no doubt, add up difficulties.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 08:52:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-calculations-for-november-to-october-calendar-year-and-not/m-p/1544946#M30495</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-12-11T08:52:38Z</dc:date>
    </item>
  </channel>
</rss>

