Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

5.5 Setting Up Scheduled Data Refresh

Lesson 45 of 62 in the free Power BI notes on Siksha Sarovar, written by Rohit Jangra.

Setting Up Scheduled Data Refresh

Scheduled refresh ensures your published reports always show the latest data without manual intervention.

Why Scheduled Refresh?

• Reports published to Power BI Service use a snapshot of the data at publish time • Without scheduled refresh, reports show stale data • Scheduled refresh automatically updates the dataset on a defined schedule

Refresh Methods

MethodDescriptionWhen to Use
Manual RefreshClick "Refresh now" in ServiceAd-hoc updates
Scheduled RefreshSet times for automatic refreshRegular data updates
Incremental RefreshRefresh only new/changed dataLarge datasets
DirectQueryReal-time queries (no refresh needed)Live dashboards
DataflowsRefresh shared/reusable dataEnterprise ETL

Setting Up Scheduled Refresh

Pre-requisites: • Report must be published to Power BI Service • Data source credentials must be configured • For on-premises sources: Power BI Gateway must be installed

Steps:

  1. In Power BI Service → Navigate to your workspace
  2. Find the dataset → Click •••Settings
  3. Expand Scheduled refresh
  4. Toggle Keep your data up to dateOn
  5. Set Refresh frequency: Daily or Weekly
  6. Set Time zone and Time(s) for refresh
  7. Add up to 8 refresh times per day (Pro) or 48 times (Premium)
  8. Click Apply

Power BI Gateway

Required for refreshing data from on-premises sources (local SQL Server, file shares, etc.)

Types of Gateways:

TypeDescriptionUse Case
Standard GatewayShared gateway for multiple usersEnterprise/team use
Personal GatewaySingle user onlyIndividual development/testing

Gateway Setup:

  1. Download from Power BI ServiceSettingsManage gateways
  2. Install on a machine that can access the data source
  3. Register the gateway with your Power BI account
  4. Configure data source connections and credentials
  5. Map published datasets to the gateway

Data Source Credentials

Before refresh can work, you must configure credentials:

  1. Go to dataset SettingsData source credentials
  2. Click Edit credentials for each data source
  3. Enter authentication details:
  • Authentication method: OAuth2, Basic, Windows, Anonymous
  • Privacy level: Public, Organizational, Private
  1. Click Sign in or Apply

Incremental Refresh

For large datasets, refresh only new or modified data instead of the entire dataset.

Setup in Power BI Desktop:

  1. Create two parameters: RangeStart and RangeEnd (type: Date/Time)
  2. Filter your table using these parameters in Power Query
  3. Define the incremental refresh policy:
  • Archive period: How much historical data to keep
  • Refresh period: How much recent data to refresh each time
  1. Publish to Power BI Service

Benefits: • Dramatically faster refresh times • Lower resource consumption • Reduced load on source systems • Essential for datasets with millions of rows

Monitoring Refresh

Refresh History:

  1. Dataset → •••Refresh history
  2. View: Status (Success/Failure), Duration, Start/End time
  3. Check error messages for failed refreshes

Common Refresh Failures:

IssueSolution
Credentials expiredRe-enter credentials in data source settings
Gateway offlineEnsure gateway machine is running
Source unavailableCheck network/firewall to data source
Query timeoutOptimize Power Query, use incremental refresh
Memory exceededReduce dataset size, remove unused columns

Best Practices

• Schedule refreshes during off-peak hours to minimize source system load • Use incremental refresh for large datasets (100K+ rows) • Set up failure notifications to get alerted on refresh errors • Keep dates/times consistent with your time zone • Use dataflows for shared data preparation across multiple reports • Monitor refresh duration — increasing times may indicate growing data or query issues