Forum Discussion
SimplyABA
1 year agoNew 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 dat...
FarhanJeelani
1 year agoSuper User
Hi SimplyABA ,
To clear out old data from your Power BI dataset and ensure only the desired date range appears, follow these steps:
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.
Clear Data Cache:
- After modifying your query, clear the dataset cache from the Power BI Service by going to Settings > Datasets > Clear Cache.
Ensure Data Model Refresh:
- In Power BI Service, ensure the dataset is fully refreshed after clearing the cache and modifying the query.
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.
- SimplyABA1 year agoNew Member
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?