Forum Discussion
Incremental refresh with ID (YYYYMMDD)
- 8 years ago
basically you need to apply filter on IdDay, based on RangeStart & RangeEnd parameters
sample syntax:=Table.SelectRows(#"Changed Type", each [IdDay] >= Date.Year(RangeStart)*10000+Date.Month(RangeStart)*100+Date.Day(RangeStart) and [IdDay] < Date.Year(RangeEnd)*10000+Date.Month(RangeEnd)*100+Date.Day(RangeEnd))
#"Changed Type" was the name of the previous step in my mock up table
you need to adjust it to whatever is the last step in your query
Also you don't need to go to Advanced editor, it's sufficient to press 'fx' = that will create a new step, and you can paste the formula there
Great! Now I got it to work.
Had to make sure the formula bar was actually enabled, otherwise there is no way to enter a formula.
Thanks for the help!
- Anonymous7 years agoNot applicable
Hello
I understand how you use the non date field to put the filters in your Power Query and filter the data as per 2 parameters.
However, once you apply your changes and enable Incremental Refresh for your table, it does expect a datetime field, isn' it?
How did you handle that?
Regards