Forum Discussion
Duplicate value error while refresh without having a duplicate
- 5 years ago
Thanks to your ideas v-kkf-msft! I found out that incremental refresh I need to further look into i and I indeed I was succesful. My filter in DAX was not set correctly.
= Table.SelectRows(dbo_View_..., each [msgtimelocal] >= RangeStart and [msgtimelocal] <= RangeEnd)Once I've changed it to
[msgtimelocal] > RangeStart and [msgtimelocal] <= RangeEnd
everything works fine.
Thanks to your ideas v-kkf-msft! I found out that incremental refresh I need to further look into i and I indeed I was succesful. My filter in DAX was not set correctly.
= Table.SelectRows(dbo_View_..., each [msgtimelocal] >= RangeStart and [msgtimelocal] <= RangeEnd)
Once I've changed it to
[msgtimelocal] > RangeStart and [msgtimelocal] <= RangeEnd
everything works fine.
Thanks FilipK Had the same problem and you solved it.
In the Native Query I was using "Between" instead of >= and <.
As the incremental refresh was not sending 1 query for all the historical data but several small queries of partitions and putting them back together, the between statement in SQL is including both days (start and end) and that's the reason I had an overlap and a double counting.