My query and dashboard show a different number of results. While it is normal for the dashboard to show more since the query is limited to 10000. My problem is the opposite and I wasn’t able to find anyone else who seems to have had this issue.
I created a query and once it it put into a dashboard, it gets less results.
I’m not filtering results on the query:
nor am I filtering the grid itself:
This is a brand new dashboard with nothing else. I started completely over in case I had done something and forgot to change it back, but this involved rewriting the query from the start, and then creating a new dashboard using that query.
Just curious what you query looks like - and if you include index fields?
I believe I’ve seen some strange behavior in dashboards when I didn’t include any key fields in the underlying BAQ.
This subquery is used to grab the max transaction number from PartTran for a specific part. This is then fed to the next query to find the date of that last transaction.
This brings those two queries together along with part to get the description and part type based on a UD field and part type as the back up. It also sums up the total value. The links are all on PartNum.
I uploaded a copy of the BAQ. Sorry, I first did pictures because I didn’t think it would be helpful if someone were not on the same version of Epicor. Should have done both.
I’ll try adding the company field even though all of our files have the same company.
I’ll try adding the index fields where possible, but the majority of the queries involve grouping / aggregation or combining queries that do.
If either of those are fixes, I will post here but otherwise, any additional thoughts or directions to go / look are welcome.
So I was only able to add the index fields to a single one of the queries (subquery 2) and could not carry that any further or use it anywhere. I added them to the Display Columns for that single subquery and didn’t use them anywhere else or even move them further along because of aggregation issues.
So, using any kind of reason or logic, shouldn’t fix it. But this is Epicor. Problem solved. Thank you so much for your help. Very much appreciated.