Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Gabry
Super User
Super User

Help Needed with Duplicated Data in Embedded Power BI Report

Hello,

I have an embedded report with a simple matrix that displays a hierarchy and some formulas / numbers. In this page, I also included a button to refresh the dataset via API (outside the report).

The problem I'm facing is that occasionally, the data within the matrix gets duplicated. All the entries are displayed twice; the numbers and entries are correct but appear completely duplicated. I can't understand what might be causing this issue. Moreover, I'm unable to reproduce the problem consistently, but my clients have sent me screenshots showing the duplicated data.

Could this be related to caching? I have already disabled caching in the dataset settings, but could it be something related to browser cache? Is there any setting that can be checked in the report embedding? The embedding is done with Angular.

Thank you for your support.

3 REPLIES 3
Gabry
Super User
Super User

Does anyone have any insight on how to handle browser cache when refreshing the dataset via API? Or could this issue be caused by something else?

v-yangliu-msft
Community Support
Community Support

Hi  @Gabry ,

 

 

It is possible that when the data was refreshed, the old data was not completely deleted and new data has come in, you can tap the Visual Object Refresh button in the top right corner after a successful refresh, you can also try clearing your browser cache or using a different browser to see if the problem still exists.

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yangliu-msft , 
thanks for the reply.

Here my answer:

1)the report is embedded in our application so there is no button for refresh the visuals.

2) I can't ask to customer's users to clear the cache of the browser

3)I can't really say because I can't reproduce the error but as I saw if I open it whit another browser the problem is gone. 

 

What I'm looking for is a setup or some code I could write in the embedding to prevent this issue from happening, or any other fix that doesn't involve manual work from the end users.

Is it possible to refresh visuals via API? Additionally, I should mention that refreshing the browser is not sufficient when this issue occurs.

 

 

 

thanks

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.