evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in pure SQL and markdown
https://evidence.dev
MIT License
3.44k stars 167 forks source link

DateRange: Unable to select larger range after making a selection & auto end-range decrement #1892

Open AyushAgrawal-A2 opened 1 month ago

AyushAgrawal-A2 commented 1 month ago

Steps To Reproduce

Using following query in example-project image

Environment

Expected Behavior

Actual Behaviour

https://github.com/evidence-dev/evidence/assets/54364088/ee846730-4be2-4ce3-a2cc-87eea38c51f7

https://github.com/evidence-dev/evidence/assets/54364088/f4d17ae3-e08c-43ee-8311-3d95ce5ff607

Workarounds

Use a secondary query that is not filtered by the daterange, to drive the daterange (same as #1875 )