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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors