<?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: Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/438749#M6103</link>
    <description>&lt;P&gt;What data source are you trying to query? If it's a database, then you would have to use SQL and not DAX in the query. If its PowerQuery then I have no idea.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2018 10:58:12 GMT</pubDate>
    <dc:creator>Lorian</dc:creator>
    <dc:date>2018-06-13T10:58:12Z</dc:date>
    <item>
      <title>Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/390672#M4911</link>
      <description>&lt;P&gt;Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions such as SAMEPERIODLASTYEAR(), FIRSTDATE(), LASTDATE()...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts? Given that I don't want to use import mode.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:24:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/390672#M4911</guid>
      <dc:creator>JayZheng</dc:creator>
      <dc:date>2018-04-05T21:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/438749#M6103</link>
      <description>&lt;P&gt;What data source are you trying to query? If it's a database, then you would have to use SQL and not DAX in the query. If its PowerQuery then I have no idea.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 10:58:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/438749#M6103</guid>
      <dc:creator>Lorian</dc:creator>
      <dc:date>2018-06-13T10:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/438818#M6106</link>
      <description>&lt;P&gt;you would have to use sql if its a sql db, not dax. DAX would be after you get the data loaded.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 12:48:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/438818#M6106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-13T12:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/445530#M6207</link>
      <description>&lt;P&gt;Thanks for your response, however, I don't think we are on the same page here. Let me explain,&amp;nbsp;all my datasets are ready for report in SQL server as a view, which I can use direct query option to connect via PBI connection.&amp;nbsp; The reason I use DAX is for the on screen calculation when user multi-select different charts and graphs.&amp;nbsp; Now, I want to point one thing out that, it works when I use the normal PBI which is connected to the O365. But it won't work when I deployed it to the PBI on-premise server.&amp;nbsp; Hope that clarifies things. Again, it's not connection issue and I do not want to use "Import mode" though I know it will work.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 20:54:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/445530#M6207</guid>
      <dc:creator>JayZheng</dc:creator>
      <dc:date>2018-06-21T20:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI server (March 2018 released version) Direct Query CANNOT use built in DAX functions</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/445920#M6212</link>
      <description>&lt;P&gt;I see, sorry, then I don't think I can help.&lt;/P&gt;&lt;P&gt;Are you using DAX to create new columns or new measures? Sometimes I find that some DAX doesn't work in measures but does when I use it to create a new column. But the problem shows itself in the desktop book already before I save to the RS. Does the error specifically refer to DAX as the issue?&lt;/P&gt;&lt;P&gt;I've never really been able to get these &lt;SPAN&gt;SAMEPERIODLASTYEAR() type&amp;nbsp;&lt;/SPAN&gt;functions working, even in desktop. There are some relatively messy work-arounds floating&amp;nbsp;about that use filters instead. Maybe one of those will work? I found this very useful:&amp;nbsp;&lt;A href="http://radacad.com/dateadd-vs-parallelperiod-vs-sameperiodlastyear-dax-time-intelligence-question" target="_blank"&gt;http://radacad.com/dateadd-vs-parallelperiod-vs-sameperiodlastyear-dax-time-intelligence-question&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or perhaps calculate it in your SQL server view instead of PBI?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problems I've had with DQ on the on-premise RS so far have been access permission related as the user must have direct access to the server themselves to view it; you can't embed another user's credentials (like a shared user) in the data source like you can with import mode.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 09:00:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-server-March-2018-released-version-Direct-Query-CANNOT/m-p/445920#M6212</guid>
      <dc:creator>Lorian</dc:creator>
      <dc:date>2018-06-22T09:00:44Z</dc:date>
    </item>
  </channel>
</rss>

