refresh data
25 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.5KViews0likes5CommentsRefresh chain
Hi there, As recommended by Power BI Documentation (https://learn.microsoft.com/en-us/power-query/dataflows/best-practices-developing-complex-dataflows), it's more efficient if you separate the ETL in different dataflows by having a staging dataflow and a transformation dataflow. By doing so you gain a lot in efficiency, but not much on administration. As you split ETL in many dataflows and datasets, by the time you have to set a individual schedule configuration for each dataflow/dataset that belongs to the lineage. To make schedule administration easier, it would be nice if we could configurate a Refresh Chain, where you could select a specific dataflow/dataset, view it's refresh timeline. Then all dataflow/dataset dependency would be shown in a timeline graph. It would also be nice if we could configure the refresh schedule of the first dataflow/dataset in lineage and the following dataflow/datasets would have a option to schedule a update "As soon as possible".Scheduled 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.7KViews1like3Commentsincremental refresh is not working properly
Hello Team, I have configured the incremental refresh, rangestart: 1st jan 2020 rangeend:31 dec 2021 turned on the incremental refresh for specific table and store rows last 1 year, refresh rows last 1 month. when i update some values at table in db then feb month data is updating and showing the values correctly when i update the modified date for feb its not showing on the reports after dataset refresh successfully. my power bi file is getting query folding error like below any idea?832Views0likes1CommentPower 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.6KViews0likes3CommentsCan't refresh data from public API even it passes the Data Source Credentials.
Hi, I'm getting producer price index data from a public API. It works fine on power bi desktop and it passes the Data Source Credentials test on the server(See picture below). However, when I tried to click the "Refresh now" on the server. I got the error below. Underlying error code: -2147467259 Underlying error message: [Unable to combine data] Section1/PPI DATA1-25/Removed Other Columns references other queries or steps, so it may not directly access a data source. Please rebuild this data combination. DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259 Microsoft.Data.Mashup.MashupSecurityException.DataSources: [{"kind":"Web","path":"https://api.bls.gov/publicAPI/v1/timeseries/data/"}] Microsoft.Data.Mashup.MashupSecurityException.Reason: PrivacyError Cluster URI: WABI-US-NORTH-CENTRAL-redirect.analysis.windows.net Activity ID: 0d87b62e-a8b6-432a-aba6-4296ac92b817 Request ID: 2fa3c846-3e08-c54e-6443-9bd021e1d61d Time: 2021-03-11 18:37:12Z Here is my M query. Please help make it work. Thank you. let url = "https://api.bls.gov/publicAPI/v1/", startyear = Number.ToText(Date.Year(DateTime.LocalNow())-1), endyear = Number.ToText(Date.Year(DateTime.LocalNow())), data = "{ ""seriesid"": [""WPU071102"",""WPUID632""], ""startyear"": """ & startyear & """, ""endyear"" : """ & endyear & """ }", Source = Json.Document(Web.Contents(url, [Headers=[#"Content-type"="application/json"], Content = Text.ToBinary(data), RelativePath = "timeseries/data/" ])), Results = Source[Results], #"Converted to Table" = Record.ToTable(Results), #"Expanded Value" = Table.ExpandListColumn(#"Converted to Table", "Value"), #"Expanded Value1" = Table.ExpandRecordColumn(#"Expanded Value", "Value", {"seriesID", "data"}, {"Value.seriesID", "Value.data"}) in #"Expanded Value1" RickSolved1.5KViews0likes3Comments