<?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 Updating a column in a table with only dates with in 365 days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3310278#M123718</link>
    <description>&lt;P&gt;Good morning.&amp;nbsp; I am having issues figuring out how to format a column in a table to only show dates within 365 days of the current date, but leave the blanks in the column for the dates outside of that parameter.&amp;nbsp; I need the blanks due to may pie charts uses them to calulate completed training courses versus not completed, or expired, training courses.&amp;nbsp; I have included a snapshot of one of the columns I'm trying to format.&amp;nbsp; All the dates are currently within 365 days, but I need them to go blank as they expire.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robs67stang_0-1688131646603.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/935784iBAE3A6FDE8038AC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robs67stang_0-1688131646603.png" alt="robs67stang_0-1688131646603.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 13:34:29 GMT</pubDate>
    <dc:creator>robs67stang</dc:creator>
    <dc:date>2023-06-30T13:34:29Z</dc:date>
    <item>
      <title>Updating a column in a table with only dates with in 365 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3310278#M123718</link>
      <description>&lt;P&gt;Good morning.&amp;nbsp; I am having issues figuring out how to format a column in a table to only show dates within 365 days of the current date, but leave the blanks in the column for the dates outside of that parameter.&amp;nbsp; I need the blanks due to may pie charts uses them to calulate completed training courses versus not completed, or expired, training courses.&amp;nbsp; I have included a snapshot of one of the columns I'm trying to format.&amp;nbsp; All the dates are currently within 365 days, but I need them to go blank as they expire.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robs67stang_0-1688131646603.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/935784iBAE3A6FDE8038AC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robs67stang_0-1688131646603.png" alt="robs67stang_0-1688131646603.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 13:34:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3310278#M123718</guid>
      <dc:creator>robs67stang</dc:creator>
      <dc:date>2023-06-30T13:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a column in a table with only dates with in 365 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3313788#M123938</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/583005"&gt;@robs67stang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You could create a calculated column like the one below and use it instead.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="barritown_0-1688456003690.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936823i067156EDC4AAEA45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="barritown_0-1688456003690.png" alt="barritown_0-1688456003690.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In plain text:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Calculated Column = IF ( DATEDIFF ( [Default Date], TODAY(), DAY ) &amp;lt; 365, [Default Date], BLANK() )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Best Regards, &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Alexander&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;A href="https://youtube.com/@powerbi-vlog" target="_blank"&gt;My YouTube vlog in English&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;A href="https://youtube.com/@pbi-vlog" target="_blank"&gt;My YouTube vlog in Russian&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 07:34:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3313788#M123938</guid>
      <dc:creator>barritown</dc:creator>
      <dc:date>2023-07-04T07:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Updating a column in a table with only dates with in 365 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3316946#M124119</link>
      <description>&lt;P&gt;Alexander,&lt;/P&gt;&lt;P&gt;&amp;nbsp; That worked great.&amp;nbsp; Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 19:06:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Updating-a-column-in-a-table-with-only-dates-with-in-365-days/m-p/3316946#M124119</guid>
      <dc:creator>robs67stang</dc:creator>
      <dc:date>2023-07-05T19:06:02Z</dc:date>
    </item>
  </channel>
</rss>

