Forum Discussion
Database refresh date and power bi refresh date
- 2 years ago
hi Pankhuri_16
Step1: You can use GetDate function in SQL Server and store that date only after all necessary tables have refreshed.
Step2: Capture date during Power BI refresh, please note that by default when you refresh your dataset on Power BI service, it returns datetime in UTC, so it may differ from your date time captured on SQL Server. You will need to make sure Date returned by Power BI service is per your timezone by converting it(Check Timezone functions in PowerQuery).
How do we store database refresh date in any table on sql server ?
- talespin2 years agoSolution Sage
hi Pankhuri_16
Step1: You can use GetDate function in SQL Server and store that date only after all necessary tables have refreshed.
Step2: Capture date during Power BI refresh, please note that by default when you refresh your dataset on Power BI service, it returns datetime in UTC, so it may differ from your date time captured on SQL Server. You will need to make sure Date returned by Power BI service is per your timezone by converting it(Check Timezone functions in PowerQuery).