Gemma Morrison Posted December 24, 2019 Posted December 24, 2019 Hello, I have tried to run a report on a date prompt range however, when the report has been completed after running it shows all records from that date range to present? The only thing I can think of that is affecting the data would be because I have changed the category name, however I have included both within the filter. Has anyone got any ideas on why this might be happening?
Gemma Morrison Posted December 24, 2019 Author Posted December 24, 2019 @Victor Hi victor do you have any ideas on this one at all?
Bob Dickinson Posted December 24, 2019 Posted December 24, 2019 @Gemma Morrison Hi Gemma, Are you referring to the standard reporting (In the Admin Tool under Applications -> Service Manager -> Reporting)? If so we may move this to the reporting section of the forum. But could you send a screenshot of the filter criteria please? Also can I confirm you have fully run and downloaded the report and the data is incorrect? (I’ve know that sometimes if just checking the Data Preview, it can show slightly incorrect info) Kind Regards Bob
Gemma Morrison Posted December 24, 2019 Author Posted December 24, 2019 Hi Bob, Yes I am sorry! The screenshot is below for you, however I have run and downloaded the report as I noticed that the preview can be incorrect sometimes as you have said! thanks for getting back to me so quickly!
Victor Posted December 24, 2019 Posted December 24, 2019 @Gemma Morrison first... running reports on Christmas Eve? ... second your filter is not designed correctly to achieve what you need... it does not take into account operator precedence... enclose the OR statements in one bracket (both)... meanwhile I’ll try and find the forum post where I explained this in detail EDIT: on a second look the criteria is not straightforward so let me have a more in depth look to see how they need enclosing...
Victor Posted December 24, 2019 Posted December 24, 2019 Ok so, I think what you need is the category criterion enclosed in one bracket: (category = movement of items Collection OR category = movement of items Logistics) and then date resolved and status criterion in another bracket: (date resolved = user prompt OR status = resolved, closed)
Victor Posted December 24, 2019 Posted December 24, 2019 Fount the forum thread where I explained this in more detail and why brackets are needed when mixing operators:
Gemma Morrison Posted December 24, 2019 Author Posted December 24, 2019 @Victor Hi Victor, I know! trying to make the day go faster! Thank you, that's really helpful! I did have to re-read it a few times to get my head around it but I will give it a go and let you know how I get on!
Gemma Morrison Posted December 24, 2019 Author Posted December 24, 2019 @Victor Sorry to be a pain however I have just added in the brackets but it has brought back all records since our go live date?! :s am I getting it wrong?
Victor Posted December 24, 2019 Posted December 24, 2019 Hmmm... still? Ok... Might be that last OR... because of that it will bring resolved and closed since for ever... (just resolved and closed)... I think you need an AND there otherwise your date prompt won’t do anything for resolved and closed requests...
Gemma Morrison Posted December 24, 2019 Author Posted December 24, 2019 I think it has worked! Thanks @Victor Hope you have a lovely Christmas and a happy New Year! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now