<?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 Custom Filtered Individual Columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/902308#M8285</link>
    <description>&lt;P&gt;Hello All -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a clustered column chart that shows data from Jan 2017- Dec 2019. I would like to show each year individually by quarter, however, if it is the current quarter, drilldown to months. I already have a date table, but I'm having difficulty figuring out how to write out a DAX argument that groups dates by quarter, except for the current quarter-- show months. Any ideas? Referring to the image below, 'Qtr 4' will need to be broken down into 'October', 'November', and 'December'.&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2020 15:01:52 GMT</pubDate>
    <dc:creator>JMAlloway</dc:creator>
    <dc:date>2020-01-16T15:01:52Z</dc:date>
    <item>
      <title>Custom Filtered Individual Columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/902308#M8285</link>
      <description>&lt;P&gt;Hello All -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a clustered column chart that shows data from Jan 2017- Dec 2019. I would like to show each year individually by quarter, however, if it is the current quarter, drilldown to months. I already have a date table, but I'm having difficulty figuring out how to write out a DAX argument that groups dates by quarter, except for the current quarter-- show months. Any ideas? Referring to the image below, 'Qtr 4' will need to be broken down into 'October', 'November', and 'December'.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:01:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/902308#M8285</guid>
      <dc:creator>JMAlloway</dc:creator>
      <dc:date>2020-01-16T15:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Filtered Individual Columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/903948#M8382</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199654" data-lia-user-login="JMAlloway" class="lia-mention lia-mention-user"&gt;JMAlloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the following: I added two (DAX) columns to my Date table using the following DAX:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;DateAxisValue = &lt;BR /&gt;VAR CurrentQuarter = 4&lt;BR /&gt;// QUARTER ( TODAY ())&lt;BR /&gt;Return&lt;BR /&gt;IF (&lt;BR /&gt;QUARTER('Date'[Date]) = CurrentQuarter,'Date'[Month],"Q" &amp;amp; QUARTER('Date'[Date])&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;DateAxisValueSort = &lt;BR /&gt;VAR CurrentQuarter = 4&lt;BR /&gt;// QUARTER ( TODAY ())&lt;BR /&gt;Return&lt;BR /&gt;IF (&lt;BR /&gt;QUARTER('Date'[Date]) = CurrentQuarter, "Q" &amp;amp; QUARTER('Date'[Date]) &amp;amp; 'Date'[Month Number],"Q" &amp;amp; QUARTER('Date'[Date])&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;Make sure you change the Sort Column for the DateAxisValue Column to&amp;nbsp;DateAxisValueSort&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you should be able to produce something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The CurrentQuarter is hardcoded to 4 in the sample, but can also be based current date. Be aware that when the column is calculated there is no filter context active&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;BR /&gt;&lt;I&gt;if this is a solution for you, don't forget to mark it as such. thanks&lt;/I&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2020 10:34:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/903948#M8382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-18T10:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Filtered Individual Columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/908166#M8585</link>
      <description>&lt;P&gt;Hi Jan -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. This looks great! My one issue, is that when enter "QUARTER" on line 6, it's telling me that "The funding used in the expression is not a valid function nor the name of a measure". I currently have a Quarter column in my date table. Do you know what could be wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;JMA&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 15:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/908166#M8585</guid>
      <dc:creator>JMAlloway</dc:creator>
      <dc:date>2020-01-22T15:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Filtered Individual Columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/908372#M8597</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199654" data-lia-user-login="JMAlloway" class="lia-mention lia-mention-user"&gt;JMAlloway&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it is a pretty new function (in DAX). I haven't found it yet in the MSDN, but it is in this guide&amp;nbsp;&lt;A href="https://dax.guide/quarter/" target="_blank"&gt;https://dax.guide/quarter/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Otherwise there are various ways to calculate the quarter:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR quarterNumber = ISO.CEILING(MONTH([Date])/3,1)&amp;nbsp; or&amp;nbsp; VAR quarterNumber = ROUNDUP(MONTH([Date])/3,0)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are still usefull since the QUARTER does not take financial years into account.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jan&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 18:29:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/908372#M8597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-22T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Filtered Individual Columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/908379#M8598</link>
      <description>&lt;P&gt;Great - everything works out!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 18:36:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Custom-Filtered-Individual-Columns/m-p/908379#M8598</guid>
      <dc:creator>JMAlloway</dc:creator>
      <dc:date>2020-01-22T18:36:15Z</dc:date>
    </item>
  </channel>
</rss>

