<?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 Assign yesterday date to a field in Filter rows in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Assign-yesterday-date-to-a-field-in-Filter-rows/m-p/3263524#M839</link>
    <description>&lt;P&gt;I have a date Field and I want to filter rows base on that&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wahmed20_0-1685610313103.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/922931i61555B08D111359D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wahmed20_0-1685610313103.png" alt="wahmed20_0-1685610313103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the &lt;STRONG&gt;Value ,&amp;nbsp;&lt;/STRONG&gt;I want to have yesterday date formula.&lt;BR /&gt;I used&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/datetime-fixedlocalnow" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/powerquery-m/datetime-fixedlocalnow&lt;/A&gt;&amp;nbsp;in the Query ribbon but it not working.&lt;BR /&gt;Only&amp;nbsp;&lt;SPAN&gt;#datetime(&lt;/SPAN&gt;&lt;SPAN&gt;2023&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;31&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;) is working in Query Editor.&lt;BR /&gt;What Query I should have in query editor for yesterday date? My date field is datetime&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 09:09:40 GMT</pubDate>
    <dc:creator>wahmed20</dc:creator>
    <dc:date>2023-06-01T09:09:40Z</dc:date>
    <item>
      <title>Assign yesterday date to a field in Filter rows</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Assign-yesterday-date-to-a-field-in-Filter-rows/m-p/3263524#M839</link>
      <description>&lt;P&gt;I have a date Field and I want to filter rows base on that&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wahmed20_0-1685610313103.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/922931i61555B08D111359D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wahmed20_0-1685610313103.png" alt="wahmed20_0-1685610313103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the &lt;STRONG&gt;Value ,&amp;nbsp;&lt;/STRONG&gt;I want to have yesterday date formula.&lt;BR /&gt;I used&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/datetime-fixedlocalnow" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/powerquery-m/datetime-fixedlocalnow&lt;/A&gt;&amp;nbsp;in the Query ribbon but it not working.&lt;BR /&gt;Only&amp;nbsp;&lt;SPAN&gt;#datetime(&lt;/SPAN&gt;&lt;SPAN&gt;2023&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;31&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;) is working in Query Editor.&lt;BR /&gt;What Query I should have in query editor for yesterday date? My date field is datetime&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 09:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Assign-yesterday-date-to-a-field-in-Filter-rows/m-p/3263524#M839</guid>
      <dc:creator>wahmed20</dc:creator>
      <dc:date>2023-06-01T09:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Assign yesterday date to a field in Filter rows</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Assign-yesterday-date-to-a-field-in-Filter-rows/m-p/3265192#M840</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;This worked for me&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; Date.From(DateTime.LocalNow() - #duration(1,0,0,0))&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jun 2023 07:37:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Assign-yesterday-date-to-a-field-in-Filter-rows/m-p/3265192#M840</guid>
      <dc:creator>wahmed20</dc:creator>
      <dc:date>2023-06-02T07:37:50Z</dc:date>
    </item>
  </channel>
</rss>

