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
SimplyABA
New Member

Clearing a PowerBI Dataset

I have a PowerBI dashboard connected to a third-party database through an API.  I started using it in 2023 and have data dating back to the beginning.  I want to now change the date range for the dataset.  Although I've changed my queries to exclude 2023 data, when I refresh, I still have 2023 data showing in my dashboard.  How can I clear out the old data?

 

I've tried clearing the data cache to no avail.

 

2 REPLIES 2
FarhanJeelani
Super User
Super User

Hi @SimplyABA ,

To clear out old data from your Power BI dataset and ensure only the desired date range appears, follow these steps:

  1. Remove 2023 Data in Query Editor:

    • Go to Power Query Editor.
    • Apply a filter on the date column to exclude data for 2023.
    • Make sure this filter is saved and applied before closing the editor.
  2. Clear Data Cache:

    • After modifying your query, clear the dataset cache from the Power BI Service by going to Settings > Datasets > Clear Cache.
  3. Ensure Data Model Refresh:

    • In Power BI Service, ensure the dataset is fully refreshed after clearing the cache and modifying the query.
  4. Check for Stale Data:

    • Verify there is no stale data in the Data View of Power BI Desktop after the changes.

By following these steps, you should be able to remove the unwanted 2023 data and only show the new date range. If the issue persists, verify the query changes are being properly saved and applied during the refresh.

 

Please mark this as solution if it helps you. Appreciate Kudos.

Thank you for your quick response.  I'm stuck at step 3 above.  I don't seem to have a "Clear Data" option available under the Modeling tab.  Is this where I should see it?

 

SimplyABA_0-1736368789131.png

 

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.