Forum Discussion
rajulshah
5 years agoResident Rockstar
Native Query > Query not folding after filtered rows
Hello everyone,
I have SQL datasource and fetching just one table.
I want to apply Incremental Refresh on the table. Hence, I created 2 parameters - RangeStart & RangeEnd and also both, parameters and the date field both have Date/Time as datatype.
So, when I do all the transformations, I am able to see 'View Native Query' as enabled. As soon as I filter the field with these parameters, it becomes disabled.
So I tried following alternatives:
- I tried to filter the field with just the date values, but I found very weird behaviour. Whenever I had "1st July 2021", it used to show as enabled. But whenever I tried other date value, let's say, "26th June 2021", it again got disabled.
- I tried the solution given in this blog but it used to work with a datevalue and didn't work with the Incremental Refresh parameters.
- I checked out the video by Patrick but I am not able to get the queries as mentioned by him.
Does anyone have faced this issue or can guide me through it?
Any help would be great.
Thanks in advance.