<?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 BUG in deployed SSRS PBIX? when generating measures in the same tabular model in a new PBIX in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/BUG-in-deployed-SSRS-PBIX-when-generating-measures-in-the-same/m-p/243143#M839</link>
    <description>&lt;P&gt;We have a pretty simple set of reports. We are using DirectQuery to a SQL 2016 Tabular model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a couple of simple measures defined in the Tab Model. the DAX for these looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX in tabular model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tickets Logged:= CALCULATE(SUM('Ticket_vw'[Ticket Count]), USERELATIONSHIP(Ticket_vw[Date Call Logged],Date_Hierarchy_vw[Date]))&lt;/P&gt;&lt;P&gt;Tickets Resolved:= CALCULATE(SUM('Ticket_vw'[Ticket Count]), USERELATIONSHIP(Ticket_vw[Date Call Resolved],Date_Hierarchy_vw[Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We link to this using DirectQuery to build a report that can be deployed. We deploy the report. Everything works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We edit the PBIX or start a new PBIX and add a measure in Desktop (this is exactly what we expect users to do when they Edit in PowerBI Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX in PowerBI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Net Tickets = [Tickets Logged] - [Tickets Resolved]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monkey about with this until you get a bad relationship issue&lt;/P&gt;&lt;P&gt;The Desktop edition shows the broken visual&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="infonav-dialogTitle"&gt;&lt;STRONG&gt;Couldn't load the data for this visual&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="infonav-dialogContent"&gt;&lt;DIV&gt;&lt;STRONG&gt;An unexpected exception occurred.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;OK, fair enough. I did somehting stupid. However if I refresh the SSRS screen with the wokring report open it also now gives me the error. Its not been changed but it now breaks. It breaks even if its a different user looking at it.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is BAD! something I did in PBI Desktop on my machine has broken a deployed report on the SSRS Server!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I restart the SSAS tabular instance or reprocess the model the SSRS report will start working again. So its somehting to so with caching or possibly an issue at the tabular end&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I run a set of Extended Event traces on the Tabular instance and run through teh steps again. No error reported in the Extended Events. the traces look the same for a working refresh of the SSRS report as they do when the same report comes back with "Broken"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Looking in the RSPowerBI log I see three errors (there are three broken visuals)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;All of whihc look pretty much like this&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2017-08-31 15:24:38.8004|ERROR|2213|PBI.DS.HostTrace|type:Error;message:Writing error DSR.Details: Message=Failed to execute the DAX query., HResult=0x80004005, ErrorCode=QuerySystemError, Language=en-US, ProviderErrorCode=0xC1000016, ProviderErrorMessage=[&amp;lt;pi&amp;gt;An unexpected exception occurred.&amp;lt;/pi&amp;gt;], ProviderGenericMessage=[Internal error: An unexpected exception occurred.], ErrorSource=PowerBI| RequestID = 61437fcd-2b87-a36e-4fb9-d7d69e7829cc ClientSessionID = 86add49c-b927-d2be-f26f-42395f3c100e&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;can anyone suggest what a next step might be and or what I might adjust to see what can be done.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I did wonder if I could adjust the security settings in the PBIX that we were editing but it doesn't show up as a connection in the connection details.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steve&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is all running on one DEV server with admin acocunts for two different devs, so I'm not expecting any permissions issues.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the GA release running the accompanying GA release version of PBI Desktop, all running agianst SQL2016 SP1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;many thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steve&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 31 Aug 2017 14:13:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-31T14:13:33Z</dc:date>
    <item>
      <title>BUG in deployed SSRS PBIX? when generating measures in the same tabular model in a new PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/BUG-in-deployed-SSRS-PBIX-when-generating-measures-in-the-same/m-p/243143#M839</link>
      <description>&lt;P&gt;We have a pretty simple set of reports. We are using DirectQuery to a SQL 2016 Tabular model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a couple of simple measures defined in the Tab Model. the DAX for these looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX in tabular model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tickets Logged:= CALCULATE(SUM('Ticket_vw'[Ticket Count]), USERELATIONSHIP(Ticket_vw[Date Call Logged],Date_Hierarchy_vw[Date]))&lt;/P&gt;&lt;P&gt;Tickets Resolved:= CALCULATE(SUM('Ticket_vw'[Ticket Count]), USERELATIONSHIP(Ticket_vw[Date Call Resolved],Date_Hierarchy_vw[Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We link to this using DirectQuery to build a report that can be deployed. We deploy the report. Everything works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We edit the PBIX or start a new PBIX and add a measure in Desktop (this is exactly what we expect users to do when they Edit in PowerBI Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX in PowerBI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Net Tickets = [Tickets Logged] - [Tickets Resolved]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monkey about with this until you get a bad relationship issue&lt;/P&gt;&lt;P&gt;The Desktop edition shows the broken visual&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="infonav-dialogTitle"&gt;&lt;STRONG&gt;Couldn't load the data for this visual&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="infonav-dialogContent"&gt;&lt;DIV&gt;&lt;STRONG&gt;An unexpected exception occurred.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;OK, fair enough. I did somehting stupid. However if I refresh the SSRS screen with the wokring report open it also now gives me the error. Its not been changed but it now breaks. It breaks even if its a different user looking at it.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is BAD! something I did in PBI Desktop on my machine has broken a deployed report on the SSRS Server!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I restart the SSAS tabular instance or reprocess the model the SSRS report will start working again. So its somehting to so with caching or possibly an issue at the tabular end&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I run a set of Extended Event traces on the Tabular instance and run through teh steps again. No error reported in the Extended Events. the traces look the same for a working refresh of the SSRS report as they do when the same report comes back with "Broken"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Looking in the RSPowerBI log I see three errors (there are three broken visuals)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;All of whihc look pretty much like this&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2017-08-31 15:24:38.8004|ERROR|2213|PBI.DS.HostTrace|type:Error;message:Writing error DSR.Details: Message=Failed to execute the DAX query., HResult=0x80004005, ErrorCode=QuerySystemError, Language=en-US, ProviderErrorCode=0xC1000016, ProviderErrorMessage=[&amp;lt;pi&amp;gt;An unexpected exception occurred.&amp;lt;/pi&amp;gt;], ProviderGenericMessage=[Internal error: An unexpected exception occurred.], ErrorSource=PowerBI| RequestID = 61437fcd-2b87-a36e-4fb9-d7d69e7829cc ClientSessionID = 86add49c-b927-d2be-f26f-42395f3c100e&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;can anyone suggest what a next step might be and or what I might adjust to see what can be done.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I did wonder if I could adjust the security settings in the PBIX that we were editing but it doesn't show up as a connection in the connection details.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steve&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is all running on one DEV server with admin acocunts for two different devs, so I'm not expecting any permissions issues.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the GA release running the accompanying GA release version of PBI Desktop, all running agianst SQL2016 SP1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;many thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steve&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:13:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/BUG-in-deployed-SSRS-PBIX-when-generating-measures-in-the-same/m-p/243143#M839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-31T14:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: BUG in deployed SSRS PBIX? when generating measures in the same tabular model in a new PBIX</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/BUG-in-deployed-SSRS-PBIX-when-generating-measures-in-the-same/m-p/245143#M893</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not able to reproduce the issue. Which Power BI report server version did you run? Please try to run the latest version: &lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=55790" target="_blank"&gt;https://www.microsoft.com/en-us/download/details.aspx?id=55790&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any ideas? &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="31487" data-lia-user-login="mgmeyer" class="lia-mention lia-mention-user"&gt;mgmeyer&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33561" data-lia-user-login="Jon-Heide" class="lia-mention lia-mention-user"&gt;Jon-Heide&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 12:54:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/BUG-in-deployed-SSRS-PBIX-when-generating-measures-in-the-same/m-p/245143#M893</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2017-09-04T12:54:14Z</dc:date>
    </item>
  </channel>
</rss>

