Forum Discussion

summer025's avatar
summer025
Regular Visitor
5 years ago

PowerBIIntegration.Refresh() sometimes not work

What I do:

1. Create a PowerBI report in PowerBI Desktop, publish to Power BI service.

2. On Power BI service ,create a PowerApp embed in the PowerBI.

3. In PowerApp,there is a button which call PowerFlow to update data in SQLServer.

 

Expected:The PowerBI table should refresh


My problem is: On by button OnSelect event, I use 'PowerBIIntegration.Refresh();' to refresh the PowerBI table,sometimes successfuly refresh, but sometimes the table not refresh.

 

My Button OnSelect Event:
If(
Delete.Run(
param1,
param2
),
Notify(
"Records updated successfully ",
NotificationType.Success,
1500
),
Notify(
"Records not updated",
NotificationType.Error
)
);
PowerBIIntegration.Refresh();

1 Reply