Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi,
I'd like to disable the data loading in any date due to business requirement. Hence, even the data is having on excel or any other source. but PBI will not load it. Can you please advice how a we going to achieve this ?
Solved! Go to Solution.
Hi @Chanleakna123 -you won't directly use DAX since DAX primarily deals with data calculations and visualizations within the report. Instead, you would control the data loading and refreshing logic through Power Query (M language) or Power BI Service settings
In the Power Query Editor, select the date column you want to filter.Apply a Custom Filter to exclude rows with dates between your specified start and end date. You can set up a filter condition like:
Replace StartYear, StartMonth, StartDay, EndYear, EndMonth, and EndDay with your actual date values. This will ensure that any rows between the specified dates won’t be loaded into your data model.
Click Close & Apply to apply the changes. Now, data within that date range will not load into your report.
power bi services disabling Scheduled Refresh Between Specific Dates would works.
Hope this helps.
Proud to be a Super User! | |
To disable data loading in Power BI for certain dates, you can use a Date Filter in Power Query. Follow these steps:
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Hi @Chanleakna123 , To achieve your goal of preventing data loading for specific dates in Power BI, below approaches you can consider:
1. Power Query Filtering :
You can handle this within Power Query to filter out the unwanted date ranges at the data loading stage:
Open Power Query Editor (Home > Transform Data).
Identify the column containing your date information.
Apply a custom filter to exclude the rows that fall within the unwanted date range.
Right-click on the date column, select Filter Rows, and specify the range you want to exclude.
Once set, the data for the excluded dates will not load into your model after you click Close & Apply.
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Let's Connect on LinkedIn: https://www.linkedin.com/in/anmol-malviya/?originalSubdomain=in
Hi @Chanleakna123 ,
Based on the description, please try the following methods:
1.Select Transform data to open power query editor.
2.Select new source and get excel.
3.Select the Date column and choose Date filters to filter.
4.Set the filter rows.
5.The filter result is shown below. Besides, close and apply.
You can also view the following documents to learn more information.
Filter by values in a column feature description - Power Query | Microsoft Learn
Filter data (Power Query) - Microsoft Support
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Chanleakna123 ,
Based on the description, please try the following methods:
1.Select Transform data to open power query editor.
2.Select new source and get excel.
3.Select the Date column and choose Date filters to filter.
4.Set the filter rows.
5.The filter result is shown below. Besides, close and apply.
You can also view the following documents to learn more information.
Filter by values in a column feature description - Power Query | Microsoft Learn
Filter data (Power Query) - Microsoft Support
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@rajendraongole1 , thanks , really interested to know further.
Can you show me how to do it with the example?
Hi @Chanleakna123 , To achieve your goal of preventing data loading for specific dates in Power BI, below approaches you can consider:
1. Power Query Filtering :
You can handle this within Power Query to filter out the unwanted date ranges at the data loading stage:
Open Power Query Editor (Home > Transform Data).
Identify the column containing your date information.
Apply a custom filter to exclude the rows that fall within the unwanted date range.
Right-click on the date column, select Filter Rows, and specify the range you want to exclude.
Once set, the data for the excluded dates will not load into your model after you click Close & Apply.
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Let's Connect on LinkedIn: https://www.linkedin.com/in/anmol-malviya/?originalSubdomain=in
To disable data loading in Power BI for certain dates, you can use a Date Filter in Power Query. Follow these steps:
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Hi @Chanleakna123 -you won't directly use DAX since DAX primarily deals with data calculations and visualizations within the report. Instead, you would control the data loading and refreshing logic through Power Query (M language) or Power BI Service settings
In the Power Query Editor, select the date column you want to filter.Apply a Custom Filter to exclude rows with dates between your specified start and end date. You can set up a filter condition like:
Replace StartYear, StartMonth, StartDay, EndYear, EndMonth, and EndDay with your actual date values. This will ensure that any rows between the specified dates won’t be loaded into your data model.
Click Close & Apply to apply the changes. Now, data within that date range will not load into your report.
power bi services disabling Scheduled Refresh Between Specific Dates would works.
Hope this helps.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
77 | |
58 | |
42 | |
38 |
User | Count |
---|---|
116 | |
81 | |
79 | |
50 | |
39 |