<?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 Help with creating a custom column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-creating-a-custom-column/m-p/3229290#M118441</link>
    <description>&lt;P&gt;Trying to get to grips with DAX creating a custom column. I want to create a custom column 'LY' that shows the value 12 months previously before the current date in mt 'Location Data' table.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;For example, I want to create a column 'LY' that shows the value for 01-Feb-2022 (3) next to the value for 01-Feb-2023 (1) and so on. I'm sure this is easy, but I can't get my head around it!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 18:42:33 GMT</pubDate>
    <dc:creator>Fusilier</dc:creator>
    <dc:date>2023-05-10T18:42:33Z</dc:date>
    <item>
      <title>Help with creating a custom column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-creating-a-custom-column/m-p/3229290#M118441</link>
      <description>&lt;P&gt;Trying to get to grips with DAX creating a custom column. I want to create a custom column 'LY' that shows the value 12 months previously before the current date in mt 'Location Data' table.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;For example, I want to create a column 'LY' that shows the value for 01-Feb-2022 (3) next to the value for 01-Feb-2023 (1) and so on. I'm sure this is easy, but I can't get my head around it!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 18:42:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-creating-a-custom-column/m-p/3229290#M118441</guid>
      <dc:creator>Fusilier</dc:creator>
      <dc:date>2023-05-10T18:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with creating a custom column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-creating-a-custom-column/m-p/3229444#M118456</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="552590" data-lia-user-login="Fusilier" class="lia-mention lia-mention-user"&gt;Fusilier&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to add a calculated column like:&lt;/P&gt;&lt;DIV&gt;LY =&lt;/DIV&gt;&lt;DIV&gt;MAXX(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; FILTER(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data,&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; data[category]=EARLIER(data[category])&amp;amp;&amp;amp;data[subcategory]=EARLIER(data[subcategory])&amp;amp;&amp;amp;data[month]=EDATE(EARLIER(data[&lt;/SPAN&gt;&lt;SPAN&gt;month&lt;/SPAN&gt;&lt;SPAN&gt;]), -12)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; data[Value]&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 May 2023 22:10:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-creating-a-custom-column/m-p/3229444#M118456</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-05-10T22:10:23Z</dc:date>
    </item>
  </channel>
</rss>

