<?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 Report Server unable to Refresh Reports in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/397145#M5129</link>
    <description>&lt;P&gt;Try changing all the INNER JOIN to LEFT OUTER JOIN and see what the query gives you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ReportServer.dbo.ReportSchedule is the scheduled refresh (this gives you the GUID that is used for the name of the Job that undertakes the refresh in SQL Agent)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;msdb.dbo.sysjobs&amp;nbsp;gives you the details of the SQL Agent Jobs that get setup to execute the refresh (if these are missing delete the scheduled refresh and recreate it)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;INNER JOIN ReportServer.dbo.Subscriptions This just joins the ReportSchedule to the definition of the report/dataset in the RepoRTServer DB.&lt;BR /&gt;&lt;BR /&gt;ReportServer.dbo.[Catalog] gives you the detail of the report or dataset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ReportServer.&lt;/SPAN&gt;dbo.SubscriptionHistory gives you the history of the refreshes that have been issued&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try isolating out the report items that you think aren't running and see what you can find in each of the tables in turn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 12:47:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-16T12:47:21Z</dc:date>
    <item>
      <title>Power BI Report Server unable to Refresh Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/392772#M4988</link>
      <description>&lt;P&gt;Hi Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We&amp;nbsp;have an instance of Power BI Report Server (Oct 2017) version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 5 reports scheduled to refresh from the Oracle Data Source daily at 6 am.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the Schedule Panel in Site Setting, it shows the scheduler is running and refreshing every morning (Pic 1)&lt;/P&gt;&lt;P&gt;But the actual report is not refreshing and the schedule on the report shows not refreshed (Pic 2).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked the log files on the server but unable to find anything specific to schedule refresh fail. SQL Server Agent is Running on the Servers and there are no errors on the Event Logs for SSAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I find out the cause of this error? Is there a place to check the execution of each Schedule / Report?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 01:33:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/392772#M4988</guid>
      <dc:creator>rajiv_tarafdar</dc:creator>
      <dc:date>2018-04-10T01:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server unable to Refresh Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/393127#M4998</link>
      <description>&lt;P&gt;To "see" the underlying error messages for the failures you can use something like the query below (this should be run against the ReportServer DB of your PBI SSRS Server)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT
	sj.name AS SQLAgentJobName
	,c.name AS ReportName
	,c.[path] AS ReportPath
	,s.[Description] as SubscriptionName
	, rs.SubscriptionID
	, s.laststatus
	, s.eventtype
	, s.LastRunTime
	, sj.date_created
	, sj.date_modified
	,err.[Message] AS StatusMessage
	,err.SessionID
	,err.Errs
	,ErrData.ErrCode AS ErrorCode
	,ErrData.ErrMsg AS ErrorMessage
FROM ReportServer.dbo.ReportSchedule rs 
		INNER JOIN msdb.dbo.sysjobs sj
            ON rs.ScheduleID = CAST(sj.name AS uniqueidentifier)
			and 101 = sj.category_id
        INNER JOIN ReportServer.dbo.Subscriptions s
            ON rs.SubscriptionID = s.SubscriptionID
        INNER JOIN ReportServer.dbo.[Catalog] c
            ON s.report_oid = c.itemid
		LEFT OUTER JOIN (SELECT MAX(SubscriptionHistoryID) AS SubscriptionHistoryID, SubscriptionID FROM dbo.SubscriptionHistory GROUP BY SubscriptionID) sh
			ON rs.SubscriptionID = sh.SubscriptionID
			LEFT OUTER JOIN (SELECT SubscriptionHistoryID, 
									[Message],
									JSON_VALUE(Details, '$.SessionID') AS SessionID,
									JSON_QUERY(Details, '$.Errors')  AS Errs
							FROM dbo.SubscriptionHistory ) err
				ON sh.SubscriptionHistoryID = err.SubscriptionHistoryID
				CROSS APPLY OPENJSON(err.Errs) WITH( ErrCode INT '$.ErrorCode', ErrMsg NVARCHAR(4000) '$.Message') AS ErrData
-- to find specific report last status 
-- WHERE e.name = 'Usage Stats'
-- to find failed status
WHERE 
		LastStatus &amp;lt;&amp;gt; 'Completed Data Refresh'&lt;/PRE&gt;&lt;P&gt;You can obviously filter this for specific reports and or date ranges as required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should at least point you in the right direction&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note&amp;nbsp;that there is a "magic number" in that SQL that makes it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;INNER JOIN msdb.dbo.sysjobs sj
				ON rs.ScheduleID = CAST(sj.name AS UNIQUEIDENTIFIER)
				   AND 101 = sj.category_id&lt;/PRE&gt;&lt;P&gt;the 101 is the category_id of the Job Category called "Report Server"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can find the correct value for this using the following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;USE msdb
GO

SELECT * FROM dbo.syscategories&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think 101 is safe on most systems but it may well be different on your installation&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 10:15:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/393127#M4998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T10:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server unable to Refresh Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/396714#M5106</link>
      <description>&lt;P&gt;Thanks for the suggestion. Sorry I have been away and no one has checked. I will try it today.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why&amp;nbsp;does it have to be so complicated. MS surely needs to implement a&amp;nbsp;simpler way of looking at the log issues.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 23:17:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/396714#M5106</guid>
      <dc:creator>rajiv_tarafdar</dc:creator>
      <dc:date>2018-04-15T23:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server unable to Refresh Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/396843#M5108</link>
      <description>&lt;P&gt;I ran the SQL and it gave me nothing. I checked the ID for ReportServer was 100 so modified the SQL and still nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ReportSchedule table has 4 entries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also ran an SQL on the&amp;nbsp;&lt;SPAN&gt;ExecutionLog3 View.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT TOP (1000) [InstanceName]&lt;BR /&gt;,[ItemPath]&lt;BR /&gt;,[UserName]&lt;BR /&gt;,[ExecutionId]&lt;BR /&gt;,[RequestType]&lt;BR /&gt;,[Format]&lt;BR /&gt;,[Parameters]&lt;BR /&gt;,[ItemAction]&lt;BR /&gt;,[TimeStart]&lt;BR /&gt;,[TimeEnd]&lt;BR /&gt;,[TimeDataRetrieval]&lt;BR /&gt;,[TimeProcessing]&lt;BR /&gt;,[TimeRendering]&lt;BR /&gt;,[Source]&lt;BR /&gt;,[Status]&lt;BR /&gt;,[ByteCount]&lt;BR /&gt;,[RowCount]&lt;BR /&gt;,[AdditionalInfo]&lt;BR /&gt;FROM [ReportServer$PURDBPRD1001A].[dbo].[ExecutionLog3]&lt;BR /&gt;WHERE TIMESTART &amp;gt;= '2018-04-16 16:00:00'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returned 3 records showing 1 report had successfully "Data Model" Refresh from "LIVE" source.&lt;/P&gt;&lt;P&gt;Rest of the reports have no entries in the view inspite of being scheduled on the same schedule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Idea where I should be looking into next?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 06:36:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/396843#M5108</guid>
      <dc:creator>rajiv_tarafdar</dc:creator>
      <dc:date>2018-04-16T06:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server unable to Refresh Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/397145#M5129</link>
      <description>&lt;P&gt;Try changing all the INNER JOIN to LEFT OUTER JOIN and see what the query gives you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ReportServer.dbo.ReportSchedule is the scheduled refresh (this gives you the GUID that is used for the name of the Job that undertakes the refresh in SQL Agent)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;msdb.dbo.sysjobs&amp;nbsp;gives you the details of the SQL Agent Jobs that get setup to execute the refresh (if these are missing delete the scheduled refresh and recreate it)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;INNER JOIN ReportServer.dbo.Subscriptions This just joins the ReportSchedule to the definition of the report/dataset in the RepoRTServer DB.&lt;BR /&gt;&lt;BR /&gt;ReportServer.dbo.[Catalog] gives you the detail of the report or dataset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ReportServer.&lt;/SPAN&gt;dbo.SubscriptionHistory gives you the history of the refreshes that have been issued&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try isolating out the report items that you think aren't running and see what you can find in each of the tables in turn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:47:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/397145#M5129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server unable to Refresh Reports</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/402667#M5299</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 ran both SQL and see no errors. However the schedules are not running at each hourly interval. It seems to be missing some of the&amp;nbsp;Schedule. E.g. Below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ItemPath RequestType Format ItemAction TimeStart TimeEnd Source Status ByteCount RowCount AdditionalInfo&lt;BR /&gt;Report 1 Refresh Cache DataModel DataRefresh 24/04/2018 9:45 24/04/2018 9:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 2 Refresh Cache DataModel DataRefresh 24/04/2018 5:45 24/04/2018 5:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 3 Refresh Cache DataModel DataRefresh 24/04/2018 0:45 24/04/2018 0:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 4 Refresh Cache DataModel DataRefresh 23/04/2018 23:45 23/04/2018 23:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 5 Refresh Cache DataModel DataRefresh 23/04/2018 17:45 23/04/2018 17:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 6 Refresh Cache DataModel DataRefresh 23/04/2018 15:45 23/04/2018 15:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 7 Refresh Cache DataModel DataRefresh 23/04/2018 11:45 23/04/2018 11:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 8 Refresh Cache DataModel DataRefresh 23/04/2018 10:45 23/04/2018 10:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 9 Refresh Cache DataModel DataRefresh 23/04/2018 8:45 23/04/2018 8:46 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 10 Refresh Cache DataModel DataRefresh 23/04/2018 6:45 23/04/2018 6:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 11 Refresh Cache DataModel DataRefresh 23/04/2018 5:45 23/04/2018 5:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 12 Refresh Cache DataModel DataRefresh 23/04/2018 4:45 23/04/2018 4:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 13 Refresh Cache DataModel DataRefresh 23/04/2018 3:45 23/04/2018 3:46 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 14 Refresh Cache DataModel DataRefresh 23/04/2018 1:45 23/04/2018 1:45 Live rsSuccess 0 0 NULL&lt;BR /&gt;Report 15 Refresh Cache DataModel DataRefresh 23/04/2018 0:45 23/04/2018 0:45 Live rsSuccess 0 0 NULL&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 01:01:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-unable-to-Refresh-Reports/m-p/402667#M5299</guid>
      <dc:creator>rajiv_tarafdar</dc:creator>
      <dc:date>2018-04-24T01:01:20Z</dc:date>
    </item>
  </channel>
</rss>

