<?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 a Non-Volatile TODAY() function in New Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2396734#M62560</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365602" data-lia-user-login="bjpowell93" class="lia-mention lia-mention-user"&gt;bjpowell93&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fill the date with the formula in the power query.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Add custom column to fill which row has no date.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then the resulting result is rewritten to the file. I use the .csv file format here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Pbix in the end you can refer.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 03:14:11 GMT</pubDate>
    <dc:creator>v-chenwuz-msft</dc:creator>
    <dc:date>2022-03-16T03:14:11Z</dc:date>
    <item>
      <title>Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2385837#M61800</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset that will be refereshed regularly and contains c.450,000 rows of individual products. In each row are a series of pass/fail criteria in different columns. Once all of the criteria say "pass", a status column updates to say "pass", indicating there are no fails in the criteria.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like, is a new column that states the date on which the status column updated to say "pass".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using the TODAY() function, but because it's volatile it doesn't stay fixed because I don't want this newly input date to roll-on, rather be fixed to the date the status changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure whether this is best tackled by simply adding a new column and inputting a formula, or whether it should be a conditional column, custom column, or done by invoking a custom function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any solutions would be hugely appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 10:35:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2385837#M61800</guid>
      <dc:creator>bjpowell93</dc:creator>
      <dc:date>2022-03-10T10:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2385990#M61813</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365602" data-lia-user-login="bjpowell93" class="lia-mention lia-mention-user"&gt;bjpowell93&lt;/a&gt; , add in power query &lt;/P&gt;
&lt;P&gt;Date.From(DateTime.FixedLocalNow())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/" target="_blank"&gt;https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 11:17:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2385990#M61813</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-10T11:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2386076#M61822</link>
      <description>&lt;P&gt;So, create a new column in power query - is this a custom column this would be input into?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To double-check, the next time the data is refreshed, the newly input date wouldn't change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I integrate this&amp;nbsp;&lt;SPAN&gt;Date.From(DateTime.FixedLocalNow()) function into an IF statement for the status changing to "pass"?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can't see "IF" as an option for a custom column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 11:38:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2386076#M61822</guid>
      <dc:creator>bjpowell93</dc:creator>
      <dc:date>2022-03-10T11:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2386101#M61824</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To clarify, what I'd need is a date the status changed to "pass" upon a daily refresh, input in a new "Date Status Pass" column for every product row. Any that don't have a status of "pass" will be left blank in this new date column.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 11:41:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2386101#M61824</guid>
      <dc:creator>bjpowell93</dc:creator>
      <dc:date>2022-03-10T11:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2386144#M61827</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would this be correct ("RFM Pass/Fail" is the status column):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if [#"RFM Pass/Fail"] is Pass then Date.From(DateTime.FixedLocalNow()) else null&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 13:28:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2386144#M61827</guid>
      <dc:creator>bjpowell93</dc:creator>
      <dc:date>2022-03-10T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2388180#M61987</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, when I've refreshed my report today with&amp;nbsp;&lt;SPAN&gt;Date.From(DateTime.FixedLocalNow()), the date has now changed to today's date, not stayed at yesterday's date.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know why this is?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 08:55:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2388180#M61987</guid>
      <dc:creator>bjpowell93</dc:creator>
      <dc:date>2022-03-11T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2394017#M62376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365602" data-lia-user-login="bjpowell93" class="lia-mention lia-mention-user"&gt;bjpowell93&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, power bi is sent query to data source to get data then calculate. If you refresh, it will refresh the whole data, so the calculation result won't be saved. It means you can not keep the date created by today()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try add the date in original data&amp;nbsp;source or maybe you can try python script in power bi query, run python script to save the date then power bi get data from the python script result.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts" target="_blank"&gt;Run Python Scripts in Power BI Desktop - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 05:46:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2394017#M62376</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-03-15T05:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2394481#M62414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="320777" data-lia-user-login="v-chenwuz-msft" class="lia-mention lia-mention-user"&gt;v-chenwuz-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for these ideas - do you know what the Python script would look like?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Python isn't something I'vr done before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 08:16:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2394481#M62414</guid>
      <dc:creator>bjpowell93</dc:creator>
      <dc:date>2022-03-15T08:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Non-Volatile TODAY() function in New Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2396734#M62560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="365602" data-lia-user-login="bjpowell93" class="lia-mention lia-mention-user"&gt;bjpowell93&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fill the date with the formula in the power query.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Add custom column to fill which row has no date.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then the resulting result is rewritten to the file. I use the .csv file format here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Pbix in the end you can refer.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 03:14:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-Non-Volatile-TODAY-function-in-New-Column/m-p/2396734#M62560</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-03-16T03:14:11Z</dc:date>
    </item>
  </channel>
</rss>

