<?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: Creating Fiscal Year Text column in date table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974294#M99537</link>
    <description>&lt;P&gt;checked and it worked like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Dec 2022 01:08:46 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2022-12-17T01:08:46Z</dc:date>
    <item>
      <title>Creating Fiscal Year Text column in date table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974106#M99522</link>
      <description>&lt;P&gt;I'm trying to find a way to connect my date table to a table that includes students' grade reports. The student grade report does not have a true date column. There are two columns that contain text that indicate the school year and term that the grades were earned, like below:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;School Yr&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Term&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;202122&lt;/TD&gt;&lt;TD&gt;Fall&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;202223&lt;/TD&gt;&lt;TD&gt;Winter&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;201920&lt;/TD&gt;&lt;TD&gt;Spring&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;201819&lt;/TD&gt;&lt;TD&gt;Winter&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My thought is that I should create a column in my date table that identifies all dates from July 1, 2018-June 30, 2019 as the text 201819 (and all dates from July 1, 2019-June 30, 2020 as 201920 etc) so that I can relate it to the School Year column of the grade reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming it's possible, how can I use DAX to create this column?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 20:14:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974106#M99522</guid>
      <dc:creator>hannahs5</dc:creator>
      <dc:date>2022-12-16T20:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fiscal Year Text column in date table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974271#M99536</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="487982" data-lia-user-login="hannahs5" class="lia-mention lia-mention-user"&gt;hannahs5&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;in your date table, try to add a column with this&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AcadYear =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR _y&lt;/SPAN&gt;&lt;SPAN&gt;ear =&amp;nbsp;YEAR([Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR _month = MONTH([Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; _month&amp;gt;=7,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; _year&amp;amp;RIGHT(&lt;/SPAN&gt;&lt;SPAN&gt;_y&lt;/SPAN&gt;&lt;SPAN&gt;ear+1, 2&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN&gt;_year-1)&amp;amp;RIGHT(&lt;/SPAN&gt;&lt;SPAN&gt;_year, 2&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Dec 2022 00:00:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974271#M99536</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-17T00:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Fiscal Year Text column in date table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974294#M99537</link>
      <description>&lt;P&gt;checked and it worked like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2022 01:08:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Fiscal-Year-Text-column-in-date-table/m-p/2974294#M99537</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-17T01:08:46Z</dc:date>
    </item>
  </channel>
</rss>

