Get Free Trial

Date filter "Last Month/Year/Week" bringing same results as "Current Month/Year/Week"

Answered
Benni Anders asked on October 13, 2021

Hi,
we are using API data source together with Flexmonster Data Server. It all works fine and we are also able to use the Date Filtering mechanism. But there is one functionality which is not working. So assuming that today is the 10/13 and we are using Last month, we get all dates with dates of October. Same thing for when we are using Current month.
As you can see in the attached screenshots. When using Current Month it brings up dates from October, and when we use Last Month it brings up the exact same dates. We would assume that last month brings up dates from September?! The same thing happens with Last year (dates from 2021) and Last Quarter (brings date from October to December 2021). Not sure if we are doing anything wrong or if that is a bug?!
Thanks,
Benni

6 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 14, 2021

Hello,
 
Thank you for reaching out to us.
 
We did not manage to reproduce the described issue, not with Flexmonster Data Server or JSON data sources. Please make sure you apply changes using the “Apply” button after the desired condition is configured.
If it still does not work for you, please prepare a screencast demonstrating the problem.
It would be also useful for us to receive your data set, the Data Server configuration, and the Flexmonster report so that we could reproduce the issue on our side.
 
Looking forward to hearing from you.
 
Kind regards,
Illia

Public
Benni Anders October 14, 2021

Hi,
here is a link to a screencast. I can try to setup a small project for you to check. Next year/month/quarter are also all working. Only the LAST options are not.
https://watch.screencastify.com/v/hs3uHBsTNtuQTsBhAYJz
Thanks,
Benni

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 14, 2021

Hi, Benni,
 
Thank you for preparing the screencast.
 
Having a sample project would be really helpful for our investigation.
Meanwhile, we suggest updating the Data Server to make sure the latest version is used.
Here is our updating guide for your reference: Updating to the latest version • Flexmonster.
 
Kind regards,
Illia

Public
Benni Anders October 14, 2021

Hi Illia,
 
I just build a sample project
http://d.zenya.io/testfm/fmtest.html
But the strange thing is, that this report behaves correctly. But the report that is integrated in our application is not working correctly. I am very confused and not really sure what to look for right now. It is definitely not the data server version, because both reports are related to the same data server. I can only think of a small configuration in the report, but I dont know what it could be.
Thanks,
Benni

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 14, 2021

Hello, Benni,
 
Thank you for preparing a sample. It brought some light on the possible nature of the problem.
 
The thing is, your sample uses the latest version of Flexmonster loaded through CDN. In its turn, your production environment may use an earlier version of the component.
 
We suggest updating Flexmonster (client-side component) to the latest version 2.9.9 and testing the behavior. Please clear your browser cache after updating to make sure the latest version is fetched.
 
Please let us know if it helps.
 
Regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster 2 days ago

Hi, Benni,
 
We are wondering if our suggestion was helpful in resolving the discussed issue.
 
Looking forward to hearing from you.
 
Kind regards,
Illia

Please login or Register to Submit Answer