<?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: Show Current Year-Quarters and Past Year/Future Year wise in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209856#M19456</link>
    <description>&lt;P&gt;Okay I have figured this out by converting the number columns to text from PowerQuery and then it did let me create calculated column .. Phew and Yay !&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 18:17:54 GMT</pubDate>
    <dc:creator>archerjayden</dc:creator>
    <dc:date>2020-07-08T18:17:54Z</dc:date>
    <item>
      <title>Show Current Year-Quarters and Past Year/Future Year wise</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1208353#M19419</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I want to display Year &amp;amp; Quarter in same axis for my Clustered Column chart however only when it is current year and for remaining past and future years It should display only year value..&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Is this possible via DAX I am using DirectQuery connecting to SQL server on premise&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Also have fiscal date calendar table which will have from date,week,month,quarter &amp;amp; year information&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Thanks in Advance&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Archer&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 07:18:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1208353#M19419</guid>
      <dc:creator>archerjayden</dc:creator>
      <dc:date>2020-07-08T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show Current Year-Quarters and Past Year/Future Year wise</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1208451#M19425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190551" data-lia-user-login="archerjayden" class="lia-mention lia-mention-user"&gt;archerjayden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add a column to your date table something like.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
IF( 
    'Calendar'[CalendarYear] = YEAR( TODAY() ),
    'Calendar'[CalendarQuarter],
    'Calendar'[CalendarYear] 
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accepting it as the solution&lt;/I&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" target="_blank"&gt; LinkedIn &lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 08:04:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1208451#M19425</guid>
      <dc:creator>Mariusz</dc:creator>
      <dc:date>2020-07-08T08:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show Current Year-Quarters and Past Year/Future Year wise</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209044#M19437</link>
      <description>&lt;P&gt;Thanks for your tip ... it worked but how do I sort this data unable to figure it out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 11:51:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209044#M19437</guid>
      <dc:creator>archerjayden</dc:creator>
      <dc:date>2020-07-08T11:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show Current Year-Quarters and Past Year/Future Year wise</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209093#M19438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190551" data-lia-user-login="archerjayden" class="lia-mention lia-mention-user"&gt;archerjayden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add a sort column&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
IF( 
    'Calendar'[CalendarYear] = YEAR( TODAY() ),
    ( 'Calendar'[CalendarYear] * 10 ) + 'Calendar'[CalendarQuarter],
    'Calendar'[CalendarYear] * 10
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Best Regards,&lt;BR /&gt;Mariusz&lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accepting it as the solution&lt;/I&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Please feel free to connect with me.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/in/mariusz-repczynski-065a7362/" target="_blank"&gt; LinkedIn &lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 12:06:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209093#M19438</guid>
      <dc:creator>Mariusz</dc:creator>
      <dc:date>2020-07-08T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show Current Year-Quarters and Past Year/Future Year wise</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209223#M19442</link>
      <description>&lt;P&gt;Great thanks a lot for your solution&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Column = 
IF( 
    'Calendar'[CalendarYear] = YEAR( TODAY() ),
    ( 'Calendar'[CalendarYear]) + " - Q" + 'Calendar'[CalendarQuarter],
    'Calendar'[CalendarYear]
)&lt;/LI-CODE&gt;&lt;P&gt;When I try the above to label it properly it throws an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Expressions that yield variant data-type cannot be used to define calculated columns"&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I handle this to show 2020-Q1&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:07:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209223#M19442</guid>
      <dc:creator>archerjayden</dc:creator>
      <dc:date>2020-07-08T13:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show Current Year-Quarters and Past Year/Future Year wise</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209856#M19456</link>
      <description>&lt;P&gt;Okay I have figured this out by converting the number columns to text from PowerQuery and then it did let me create calculated column .. Phew and Yay !&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 18:17:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Current-Year-Quarters-and-Past-Year-Future-Year-wise/m-p/1209856#M19456</guid>
      <dc:creator>archerjayden</dc:creator>
      <dc:date>2020-07-08T18:17:54Z</dc:date>
    </item>
  </channel>
</rss>

