The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I'm trying to do an incremental refresh on my DataFlow Gen2. I'm using a column that is DateTime format. So what I do is sort descending the date column, then create make a drill down for the first value of it [0].
This new query is then used to filter the data in the first query, so that only the new values are append into the data base.
This is the database soreted desciding by DateTime
This is the data drilled down, that gets the most recent value of DateTime
This is the dataflow that I is trying to be perform
But in the dataflow twhen I filter for that query I don't have any issues:
But when I try to run the dataflow or Publish it, then the error 'We cannot apply operator < to types Table and DateTime' appears but, the data drill down is the same that the origin.
Any solution for this incremental refresh?
Solved! Go to Solution.
So what I do is sort descending the date column
Sorting operations in Power Query are very likely to break folding. Avoid at all cost.
Incremental Refresh in Dataflows is fully automated. You are not allowed to provide your own filter statement. All you can do is indicate the datetime column that should be used. The Power BI service then adds the required M code at the end (!!!) .
Using incremental refresh with dataflows - Power Query | Microsoft Learn
So what I do is sort descending the date column
Sorting operations in Power Query are very likely to break folding. Avoid at all cost.
Incremental Refresh in Dataflows is fully automated. You are not allowed to provide your own filter statement. All you can do is indicate the datetime column that should be used. The Power BI service then adds the required M code at the end (!!!) .
Using incremental refresh with dataflows - Power Query | Microsoft Learn