refresh data
19 TopicsPower BI Report Server - Refresh data on embedded report
Hi - Below, we have figured out the javascript code that can be pasted into the console to get a PowerBI Report Server report to refresh the data only (i.e. clicking the refresh button) on a timer. We can get this to work whether you are on the regular screen of the report server report or with it in the embed view, but not when it is actually embedded. The use case would be to provide "real-time" data using report server so that these reports could be kept open, refreshed, and the dropdown choices stay as the user selected. Does anyone know how to get this code below to work when embedding a report on a website on an internal network? Thank you! function refreshPowerBI() { this.frames[0].postMessage({kind:"powerbi.reportServerHost.IToolbarActionMessage",button:"refresh"},"https://[our report server]:443") } if(window.autoRefreshInterval) { clearInterval(window.autoRefreshInterval); }; window.autoRefreshInterval = setInterval(refreshPowerBI, 60*1000)6.4KViews0likes10CommentsWeb page as datasource automatic refresh error The module named 'Html' has been disabled...
Hi, PBIRS problem: User wanted to use a web page as source for their report. Web page do not require any authentication. Desktop working fine and reloads the data. Report server's automatic data refresh throws the following error: Data source error: Login failed for data source ‘Unknown’. When clicking the [i] after error message, the following is shown: essionID: 3ed14127-ea01-441f-a849-ca66d74c4755 [0] -1055784932: Expression.Error: The module named 'Html' has been disabled in this context.. . The exception was raised by the IDbCommand interface. from RSPowerBI_<>.log file: 2022-10-27 08:49:01.0640|ERROR|96|Error Processing Data Model Refresh: SessionId: 3ed14127-ea01-441f-a849-ca66d74c4755, Status: Error Failed to refresh the model, Exception Microsoft.AnalysisServices.OperationException: Failed to save modifications to the server. Error returned: 'Expression.Error: The module named 'Html' has been disabled in this context.. . The exception was raised by the IDbCommand interface. '. at Microsoft.AnalysisServices.Tabular.Model.SaveChangesImpl(SaveOptions options) at Microsoft.PowerBI.ReportServer.AsServer.TOMWrapper.RefreshModel(Database database) at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.RefreshDatabase(String databaseName, IEnumerable`1 dataSources, IEnumerable`1 parameters, String clientSessionId) at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshDatabase(AsDatabaseInfo asDatabaseInfo) at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0() at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext() 2022-10-27 08:49:01.1161|ERROR|96|Error Processing Data Model Refresh: SessionId: 3ed14127-ea01-441f-a849-ca66d74c4755, Status: Error Failed Data Refresh, Exception Microsoft.AnalysisServices.OperationException: Failed to save modifications to the server. Error returned: 'Expression.Error: The module named 'Html' has been disabled in this context.. . The exception was raised by the IDbCommand interface. '. at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.ExecuteActionWithLogging(Action methodToExecute, String description, String localizedDescription, String messageInFailure, RefreshInfo refreshInfo, DataAccessors dataAccessors, ReportEventType operation, Boolean isDataRetrieval, Boolean showInExecutionLog, Boolean sendToTelemetry) at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshData(RefreshInfo refreshInfo) at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0() at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext() M Query code in use: let Source = Web.Page(Web.Contents("https://www.worldometers.info/coronavirus/")), Data2 = Source{2}[Data], #"Changed Type" = Table.TransformColumnTypes(Data2,{{"#", Int64.Type}, {"Country, Other", type text}, {"Total Cases", type text}, {"New Cases", type number}, {"Total Deaths", type text}, {"New Deaths", type number}, {"Total Recovered", type text}, {"New Recovered", type text}, {"Active Cases", type text}, {"Serious, Critical", type number}, {"Tot Cases/ 1M pop", type number}, {"Deaths/ 1M pop", type text}, {"Total Tests", type text}, {"Tests/ #(lf)1M pop", type text}, {"Population", type text}}), #"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([#"Country, Other"] <> "Total:")) in #"Filtered Rows" PBIRS version: Version1.15.8300.38452(September 2022) Also happening in version: Version1.13.8054.40631(January 2022) All other datasources in use (like ODBC, Oracle, SSAS) are working as expected. Is the functionality disabled in some config files? A bug in PBIRS? Best regards, SörenSolved4.5KViews0likes5CommentsScheduled Refresh - hourly for only certain days
Hi, We have a report that the Finance department use and they would like it to refresh hourly but only for the 1st 4 days of each month. Is this possible to do? I've tried but can't see an option to do so. Thanks in advanced.Solved3.3KViews0likes5CommentsIs a Manual refresh of a report on power bi report server possible ?
Hi We are about to go live with an on premise power bi report server - i.e. on our network When a user goes to the web portal - and browses to a folder containing reports - like https://servername.domain.local/ReportsPBI/powerbi/folder1 then they see the report etc. At the top - their are some options - File, View, Edit in Power Bi Desktop, Explore Refresh. What does the refresh buton actually do ? i.e. will hitting the Refresh option do a manual refresh of the data in the report? If not is there a way for the end user to force a refresh of the data in the report (from their web browser?) ThanksSolved5.7KViews1like3CommentsPower BI Dataset On Demand Refresh not starting
This happens rarely, but sometimes when you refresh a Power BI Dataset in the app.powerbi.com, Refresh does not start (atleast in terms of Visually seeing the Refresh Icon Progress). but after few hours, it shows you It got refresh. Even in Setting - > Schedule Refresh initially It does not show your refresh in progress. For example - If I press refresh button twice, Since it was not showing me Refresh in Progress when I clicked on it first, after an hour or two, It shows 2 Refresh has been Completed. I cannot reproduce this bug everytime, but this happend to me 2-3 times already1.6KViews0likes3CommentsHow to do several data refresh simultanealy
I have a server with around of hundred .pbix published. Some of them are schedule to be refreshed once a day, but several refresh each hour. The problem is that in some moments the logs file shows that it has, for exemple, 20 .pbix are beeing refreshed, but when I do a query in the source database (DW) to look for the PBI querys I see that just a few queries are running in the same moment. I supose that the AnalysisSever wait to finished the firsts refreshs to run the others Is there any way, any configuration that turn possible to refresh serveral .pbi in the same time? thanks745Views0likes1CommentData in charts are missing after scheduled refresh from dataset
Hi community, I've created a file in PowerBi Desktop (latest version) and published to PowerBi online. Latest Gateway is configured and connection is working well. Data is pointing to ODATA Feeds and sharepoint. After daily scheduled refresh and clicking refresh button in report the data is lost in charts.(highlighted in images red) Sharepoint data is populating after refresh and is working (marked black in image). Uploaded pbix file , refreshed it and published via PowerBI Desktop the charts shows data again. But after scheduled refresh data is missing again. Hope you can help me to find a solution. Image Data Available Scheduled refresh Mssing Data409Views0likes0CommentsOptimize Refresh Time
Hello, I want to achieve less time for the process "Opening the file", "Refresh the file" and "Save / Publish the file". The model has two main tables of 2m rows each and some small tables (no more than 1k rows each). I'm wondering, if I scale up the ram of the server from 16GB to 32GB (or/and processor -> currently: CPU E5-2686 v4 @ 2.30GHz) is going to decrease the overall process time and save 40%, 50% of the time.1.2KViews0likes2CommentsReport Server Monitoring
I am working on a report to monitor certain things on the Power BI report Server. I was wondering what items others may be monitoring on reports. I am willing to share what I have done so far. Listed below are the items I am currently monitoring: A. Whether the scheduled data refreshes failed or succeeded. a. Would love to be able to get the failure message. B. What is the average response time of a query. a. Is there a way to determine when the report is first opened. I would like to calculate initial load time. C. What was the longest response time of a query per day. D. How many times a query took longer than 5 seconds.9.4KViews0likes3Comments