<?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: Calculated Column - Current Value minus Previous Value (DirectQuery) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Current-Value-minus-Previous-Value-DirectQuery/m-p/1934618#M42057</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="139366" data-lia-user-login="stalerik" class="lia-mention lia-mention-user"&gt;stalerik&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I am not sure whether all calculations related to Date/Time are supported in DirectQuery.&lt;/P&gt;&lt;P&gt;In DirectQuery, limited number of DAX functions can be used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Still you can try creating a measure by allowing unrestricted measures.&lt;/P&gt;&lt;P&gt;Go to File-&amp;gt;Options and Settings-&amp;gt;Options-&amp;gt;Globa-&amp;gt;DirectQuery-&amp;gt;"Allow unrestricted measures in DirectQuery mode".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However this is not recommended as it may send heavy T-SQL scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please mark it as 'Accept as Solution' so that others could find it easily.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanket Bhagwat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 07:31:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-02T07:31:26Z</dc:date>
    <item>
      <title>Calculated Column - Current Value minus Previous Value (DirectQuery)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Current-Value-minus-Previous-Value-DirectQuery/m-p/1934036#M42051</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a method to calculate the difference between the current value and a value in the same row from one hour ago.&amp;nbsp; I have tried several examples but I get stuck because I am using a DirectQuery connection.&amp;nbsp; I am also not sure if I should use calculated column or measure but I have been trying for a calculate column.&amp;nbsp; My table has a DateTime column and a Values column.&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 01:01:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Current-Value-minus-Previous-Value-DirectQuery/m-p/1934036#M42051</guid>
      <dc:creator>stalerik</dc:creator>
      <dc:date>2021-07-02T01:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column - Current Value minus Previous Value (DirectQuery)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Current-Value-minus-Previous-Value-DirectQuery/m-p/1934618#M42057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="139366" data-lia-user-login="stalerik" class="lia-mention lia-mention-user"&gt;stalerik&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I am not sure whether all calculations related to Date/Time are supported in DirectQuery.&lt;/P&gt;&lt;P&gt;In DirectQuery, limited number of DAX functions can be used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Still you can try creating a measure by allowing unrestricted measures.&lt;/P&gt;&lt;P&gt;Go to File-&amp;gt;Options and Settings-&amp;gt;Options-&amp;gt;Globa-&amp;gt;DirectQuery-&amp;gt;"Allow unrestricted measures in DirectQuery mode".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However this is not recommended as it may send heavy T-SQL scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please mark it as 'Accept as Solution' so that others could find it easily.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanket Bhagwat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 07:31:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-Current-Value-minus-Previous-Value-DirectQuery/m-p/1934618#M42057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-02T07:31:26Z</dc:date>
    </item>
  </channel>
</rss>

