We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Sliding time windows

Re-Open
Florian asked on September 7, 2022

Many of the reports we create with Flexmonster contain a time-related filter (e.g. only show sales from April to June).
Is it possible to define a time window that updates itself automatically?
For example, if I always want to see data from the last 30 days, could a filter switch automatically when a new day starts to display the current day and no longer display the 31st day?

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster September 7, 2022

Hello, Florian,

Thank you for reaching out to us.

To show the data from, for example, the last 30 days, we suggest using the approach illustrated in the following JSFiddle: https://jsfiddle.net/flexmonster/vuswb8f7/ 

Please let us know if it works for you. You are welcome to write to us in case further questions arise.

Kind regards,
Nadia

Public
Florian September 7, 2022

Hello Nadia,
thank you for your quick reply!
 
To expand on my question: Is it possible to set such a time window from the GUI, preferably by a user with little technical knowledge?
 
Kind regards,
Florian

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster September 8, 2022

Hi, Florian,

Thank you for the response.

Your developers can create a custom filter window with the additional logic in your application, so your users can use the new filters from the UI. You are welcome to check our documentation for reference: https://www.flexmonster.com/doc/customizing-toolbar/ 

We hope it helps. Please let us know if you have more questions.

Kind regards,
Nadia

Please login or Register to Submit Answer