Reply
FilipK
Resolver I
Resolver I
Partially syndicated - Outbound

How to run incremental refresh with unix timestamp

I wonder how it's possible to run an incremental refresh when I only receive the unix timestamp in ms.

There are a lot of ways how convert the timestamp for sure but I've just seen solutions that are not foldable.

 

Who can help out?

2 REPLIES 2
amitchandak
Super User
Super User

Syndicated - Outbound

@FilipK , there was a blog around the date key, see if that can help

https://www.fourmoo.com/2020/03/11/how-to-configure-incremental-refreshing-in-power-bi-with-datekey-...

 

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Syndicated - Outbound

@amitchandak , thanks for your reply. 

I'm afraid this doesn't work since the relation with unix timestamp between the epochtime and the date in date format is more complex than this:  (x as datetime) => Date.Year(x)*10000 + Date.Month(x)*100 + Date.Day(x). With the unix time there are much more rules to consider.

As you can see here the calculation written in C is not that easy.

 

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)