Report Filter Issue

Comments

7 comments

  • Avatar
    Alisdair Troup

    Hi Caroline

    In theory that looks fine - Have you validated that the data is correct ( rather than the filter being broken)?

    Remember these fields are also case sensitive - that has tripped us up a few times.

    Perhaps you could throw together a quick report to look at only "sales by item" "order . manual order type" = "Vendor Return" and see if that returns what you would expect?

    I hope this helps!

     

    Alisdair

    0
    Comment actions Permalink
  • Avatar
    Jason

    I don't have anything to add beyond what Alisdair suggested.

    I am curious as to what the "manual order type" data source is though, if you can expand on that. Is that just an attribute you've added to your orders?

    0
    Comment actions Permalink
  • Avatar
    Jason

    OK, so after looking at your primary query again, the issue is the OR operator you're using to try to exclude both Vender Return orders and PR orders.  See, that operator is making a split, so your query is processing everything up to the first or as one AND statement, and everything after the OR as another AND statement.

    The way you have your query written, you should be able to change that OR to an AND to also exclude manual_order_type = PR orders.

     

     

    0
    Comment actions Permalink
  • Avatar
    Caroline Elia

    Hi all,

    Manual Order Type is an attribute that we set up to help us classify our orders (Employee, Vendor Return, Test, etc) since there are certain things we don't want showing up when we run sales data.

    I've tried copying and pasting the phrase directly from the attributes page, but that doesn't seem to be working either.  I'll trying running a separate query on just those order types.

    0
    Comment actions Permalink
  • Avatar
    Caroline Elia

    Thanks, Jason!  I'll try that now, too.

    0
    Comment actions Permalink
  • Avatar
    Caroline Elia

    Hi Jason,

    Changing the OR to an AND worked!  I'm not sure how we missed that because we had originally changed (what we thought were all) the ORs to ANDs.

    Thanks!

    Best,

    Caroline

    0
    Comment actions Permalink
  • Avatar
    Jason

    Glad it worked. An extra set of eyes is usually a good thing. ;) 

    0
    Comment actions Permalink

Please sign in to leave a comment.