<?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 How to  write dax to get only 3rd Quarter from data of 2020 and keeping condition that  &amp;lt;'2019-07' in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2459143#M66467</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I am facing issue writing a DAX for getting only 3rd quarter from 2020 data and it has 5 years (2015 to 2020) data&amp;nbsp; where i have to filter &amp;lt; 2019-07 and the output should be like this&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;YEAR_MONTH&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020-07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020-09&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020-08&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; I am looking for your kind response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Mdkousar&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 14:01:26 GMT</pubDate>
    <dc:creator>kousar99</dc:creator>
    <dc:date>2022-04-15T14:01:26Z</dc:date>
    <item>
      <title>How to  write dax to get only 3rd Quarter from data of 2020 and keeping condition that  &lt;'2019-07'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2459143#M66467</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I am facing issue writing a DAX for getting only 3rd quarter from 2020 data and it has 5 years (2015 to 2020) data&amp;nbsp; where i have to filter &amp;lt; 2019-07 and the output should be like this&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;YEAR_MONTH&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020-07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020-09&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020-08&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; I am looking for your kind response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Mdkousar&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 14:01:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2459143#M66467</guid>
      <dc:creator>kousar99</dc:creator>
      <dc:date>2022-04-15T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to  write dax to get only 3rd Quarter from data of 2020 and keeping condition that  &lt;'2019-07'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2459370#M66486</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;This is hard to answer without seeing example data. If you have a data model set up with a Date Table (I will refer to it as DimDate and are trying to figure out a measure like [Total Sales] for this specific period you can use another measure. Let's say Total Sales = SUM(FactTable[Sales amt])&lt;/P&gt;&lt;P&gt;Specific 2020 Quarter = CALCULATE([Total Sales], DATESBETWEEN( DimDates[Date],&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DATE(2020, 7 ,1), DATE(2020, 9,30)))&lt;/P&gt;&lt;P&gt;You can aslo FILTER using tables as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 17:59:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2459370#M66486</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-04-15T17:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to  write dax to get only 3rd Quarter from data of 2020 and keeping condition that  &lt;'2019-07'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2462767#M66749</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378404" data-lia-user-login="kousar99" class="lia-mention lia-mention-user"&gt;kousar99&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;You could create a flag measure.then apply it into visual.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;flag = IF(YEAR( MAX([Date]) )=2020&amp;amp;&amp;amp;QUARTER(MAX([Date]))=3,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 07:00:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2462767#M66749</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-04-19T07:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to  write dax to get only 3rd Quarter from data of 2020 and keeping condition that  &lt;'2019-07'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2463639#M66826</link>
      <description>&lt;P&gt;Hi Wu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I didn't get what exactly you're trying to convey here,Could you please let me know exactly what it is&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 13:11:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2463639#M66826</guid>
      <dc:creator>kousar99</dc:creator>
      <dc:date>2022-04-19T13:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to  write dax to get only 3rd Quarter from data of 2020 and keeping condition that  &lt;'2019-07'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2464587#M66930</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378404" data-lia-user-login="kousar99" class="lia-mention lia-mention-user"&gt;kousar99&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;Could you please consdier sharing more details about it and posting expected result so it is clear on what needs to be implemented? And It would be great if there is a sample file without any sesentive information here.&lt;BR /&gt;It makes it easier to give you a solution.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 02:02:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-write-dax-to-get-only-3rd-Quarter-from-data-of-2020-and/m-p/2464587#M66930</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-04-20T02:02:41Z</dc:date>
    </item>
  </channel>
</rss>

