I have fields
Company Code, Max_Invoice_Date_GMT_Updated,Invoice_Date_GMT, Quantity
which looks like
I want to sum quantity where Invoice_Date_GMT = Max_Invoice_Date_GMT_Updated.
I wrote this
Sum({<[Invoice_Date_GMT_Updated]=p([Max_Invoice_Date_GMT_Updated])>}Quantity)
but my values doesn't match.