If you set it to 3/1/2019 and 5/31/2019, does it include any results from April?
yes I do and returns qucikly. I have found if I run it 3/26 to 5/3 it will grab end of march, April and begin of May. Odd I canât get any closer. I wonder if there is some corrupt data April.
So 3/26 - 5/3 works and 3/27 - 5/3 doesnât ?
What about 3/27 - 3/30?
And then slowly adding days on to the end date (4/1, then 4/2, then 4/3, etc âŚ)?
Iâd be curious enough to add parameters to the BAQ and run it from in the BAQ desginer to see if you get similar results. To see if it is in the Data/BAQ or when the dashboard does its thing
We have the same issue with a dashboard that uses date filters. There were basically two reasons at the time, could be more. If there was no data for the start date, it would not return data. In such cases if we put only the start date, it sometimes worked. Another reason was a calculated field resulting in division by zero somewhere resulting in dashboard not getting any data. We corrected the calculated field to take care of such instances but the first reason still remains.
Thanks
Vinay Kamboj
Unfortunately none of that applies to us 
I think there might be an issue with the fact that APInvNumbers arenât unique.
At least, not by themselves. You could have two different vendors that both submit invoice# 12345.
Itâs only when you combine the vendor and the InvoiceNum, do you get a unique record.
Adding a join of:
GLJrnDtl.GroupID = APInvHed.GroupID
helps, doesnât guarantee that two invoices in the same group (from different suppliers) wonât accidentally match.
EDIT
You need to have
WHERE GLJrnDtl.Company = APInvHed.Company
AND GLJrnDtl.APInvoiceNum = APInvHed.InvoiceNum
AND GLJrnDtl.GroupID = APInvHed.GroupID
AND GLJrnDtl.VendorNum = APInvHed.VendorNum
and your condition of and ( GLJrnDtl.CreditAmount <> 0 ) to only get half the transactions
It might have been crashing when you run April date ranges, because thatâs where an APInvNum may have matched multiple past GL postings
Probably why your BAQ showed a GLJrnDtl associated with an invoice from 8 years earlier.
thanks I will mess with it and see what happens
I added the GLJrnDtl.GroupID = APInvHed.GroupID
I ran the Dashboard starting 4/1/2019 and adding a day each time. It ran until I hit 4/19/2019. So I ran from the BAQ only and if I try to run it for just 4/19 it doesnât work. Could there be a corrupt file somewhere? At least now I think it is more a data issue than a BAQ issue.
Did you add the VendorNum relationship too?
Yes
By âdoesnât workâ you mean the results are: a) errors out, b) missing some records, c) returns no records, d) returns extra/incorrect records?
no returned records
@Kimberley - if you query just GLJrnDtl and APInvHed separately (and for the dates giving you problems), do you get records that you can manually match up?
If I am understanding you correctly, yes.
Try temporarily removing the criteria
GLJrnDtl.CreditAmount <> 0
I was wrong I didnât have the VendorNum join on the tables and I added it. April works now.