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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Nahid_SJ
New Member

Power BI Embedded: How to Create Another Clone with Cleared Default Filters and Slicers?

I’m using Power BI Embedded in my web application with an embed token that allows users to edit reports from the frontend.

Here is the current workflow:

  • A user clicks the Edit button in the application.
  • The backend calls the Clone Report API to create a copy of an existing report.
  • The cloned report is embedded in edit mode using the embed token.
  • The user can modify the report (add visuals, drag fields, add filters/slicers, etc.).
  • The user then saves the report after making changes.

Now I want to extend this process.
After the user saves the edited cloned report, I want to automatically create another clone of that edited report, but with all filters and slicers cleared, even if the user has set default slicer or filter selections in the edited report.

So essentially the flow would be:

Original Report
↓
Clone #1 → User edits and saves (may contain default slicers/filters)
↓
Clone #2 → Same report structure but with cleared/default filters & slicers

Goal:
The second clone should have the same visuals and report structure, but no default filter or slicer selections applied, regardless of what the user configured in the edited report.

Questions:

  • Is it possible to clone a report while clearing slicer/filter states?
  • If not directly possible via the Clone Report API, what would be the recommended approach to achieve this?
  • Is there any way to reset slicer/filter state programmatically before creating the second clone?
1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @Nahid_SJ 

Thanks for reaching out to the Microsoft Fabric Community forum.

When using the Power BI Clone Report API, the cloned report is an exact copy of the source, including its report definition and any saved filter or slicer states. The API does not offer an option to clear or override slicer or filter selections during cloning. This means that any default slicer or filter selections in the original report will also appear in the clone.
If you want to create a cloned report without the filters you should first clone that report and then change filters dynamically using Power BI JavaScript SDK, you can call methods like await page.updateFilters(models.FiltersOperations.RemoveAll); to clear filters before saving. In conclusion, since the Clone Report API copies the current state of the report, programmatically clearing filters is the best ways to ensure the cloned report does not contain unwanted filter selections.

Use filters in a Power BI embedded analytics report | Microsoft Learn
Use slicers in Power BI embedded analytics | Microsoft Learn


I hope this information helps. Please do let us know if you have any further queries.
Thank you

View solution in original post

5 REPLIES 5
v-nmadadi-msft
Community Support
Community Support

Hi @Nahid_SJ 

May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.


Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @Nahid_SJ 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @Nahid_SJ 

Thanks for reaching out to the Microsoft Fabric Community forum.

When using the Power BI Clone Report API, the cloned report is an exact copy of the source, including its report definition and any saved filter or slicer states. The API does not offer an option to clear or override slicer or filter selections during cloning. This means that any default slicer or filter selections in the original report will also appear in the clone.
If you want to create a cloned report without the filters you should first clone that report and then change filters dynamically using Power BI JavaScript SDK, you can call methods like await page.updateFilters(models.FiltersOperations.RemoveAll); to clear filters before saving. In conclusion, since the Clone Report API copies the current state of the report, programmatically clearing filters is the best ways to ensure the cloned report does not contain unwanted filter selections.

Use filters in a Power BI embedded analytics report | Microsoft Learn
Use slicers in Power BI embedded analytics | Microsoft Learn


I hope this information helps. Please do let us know if you have any further queries.
Thank you

Thanks for the valuable information. Based on your information, i just changed by business requirement and solve internally . Thanks for the information .

Hi @Nahid_SJ ,
We really appreciate your efforts and for letting us know the update on the issue.

Please continue using fabric community forum for your further assistance.

Regards

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.