question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filters general: Add "in the past" date filters

See original GitHub issue

Reference: #171 https://github.com/lightdash/lightdash/issues/171#issuecomment-875446493

Example filter: from last 7 days Proposed implementation:

  • FE: have inputs for measure ( years, months, weeks, days ) and quantity
  • BE: calculate date ( based on current date, measure and quantity ) and apply a >= operator

TODO:

  • What filters do we want ?
  • How can we build a query without using SQL server functions ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ZeRegocommented, Feb 4, 2022

Preview: Screenshot 2022-02-04 at 13 40 20

1reaction
ZeRegocommented, Feb 4, 2022

@TuringLovesDeathMetal It is possible to have it in the same dropdown 👍 FYI I’m going to leave the ‘complete’ work for a separate PR under the issue #572

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel Filter Date Filters - YouTube
To filter data to include data based on dates, you can use the FILTER function with one of Excel's date functions. The Excel...
Read more >
“In the Previous” Date Filters In Power BI/Get&Transform ...
The reason this is happening is that the M code generated by the UI uses the Date.IsInPreviousNMonths function, so as a result the...
Read more >
Date Filters in Excel (Easy Tutorial)
Date Filters · 1. Click any single cell inside a data set. · 2. On the Data tab, in the Sort & Filter...
Read more >
Create Relative Date Filters - Tableau Help
In the Filter dialog box, click Relative dates, and then select the unit of time for the filter. For example, to show only...
Read more >
Filter data in a range or table - Microsoft Support
Select any cell within the range. · Select Data > Filter. Filter button · Select the column header arrow Filter arrow . ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found