<?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: Query within Power Automate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Query-within-Power-Automate/m-p/3484138#M133283</link>
    <description>&lt;P&gt;Hii, once try this&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FILTER( KEEPFILTERS(VALUES('Mail'[DateTimeReceived])), AND( 'Mail'[DateTimeReceived] &amp;gt;= ToString(utcNow(), "yyyy-MM-dd"), 'Mail'[DateTimeReceived] &amp;lt;= ToString(utcNow() + DateDiff(DAY, 1), "yyyy-MM-dd") ) )&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2023 20:15:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-18T20:15:16Z</dc:date>
    <item>
      <title>Query within Power Automate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Query-within-Power-Automate/m-p/3483772#M133253</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;DIV&gt;I have used a Power BI query within Power Automate with the Power Automate step "Run a query against a dataset". Now, I want to make the date specification dynamic so that today's date is always pulled.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The query looks like this:&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FILTER(&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;KEEPFILTERS(VALUES('Mail'[DateTimeReceived])),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AND(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Mail'[DateTimeReceived] &amp;gt;= &lt;STRONG&gt;(DATE(2023, 10, 17) + TIME(15, 1, 40))&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Mail'[DateTimeReceived] &amp;lt;= &lt;STRONG&gt;(DATE(2023, 10, 18) + TIME(15, 1, 40))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would like to replace (DATE(2023, 10, 17) + TIME(15, 1, 40)) with utcnow(), but then it gives me the following error message:&lt;BR /&gt;'The template language function 'utcNow' expects its parameter to be of type string. The provided value is of type 'Integer'.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can someone help me?&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot!&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Oct 2023 15:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Query-within-Power-Automate/m-p/3483772#M133253</guid>
      <dc:creator>pbi_besi</dc:creator>
      <dc:date>2023-10-18T15:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query within Power Automate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Query-within-Power-Automate/m-p/3484138#M133283</link>
      <description>&lt;P&gt;Hii, once try this&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FILTER( KEEPFILTERS(VALUES('Mail'[DateTimeReceived])), AND( 'Mail'[DateTimeReceived] &amp;gt;= ToString(utcNow(), "yyyy-MM-dd"), 'Mail'[DateTimeReceived] &amp;lt;= ToString(utcNow() + DateDiff(DAY, 1), "yyyy-MM-dd") ) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 20:15:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Query-within-Power-Automate/m-p/3484138#M133283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-18T20:15:16Z</dc:date>
    </item>
  </channel>
</rss>

