I have a saved search with the following criteria:...
# suiteanalytics
m
I have a saved search with the following criteria:
Copy code
Type is Credit Memo
Main Line is True
Applied To Transaction is Invoice #XXXXXXX
And the following result columns:
Copy code
Amount (Foreign Currency)
This search returns only one row and the value in that row is 2833.31. When I add a summary type of SUM to that column on the Results tab and run the search, the value is 5666.62. Anyone know why the value is being doubled when SUMming a single result?
g
It’s pretty common to have these strange effects when a summarized save search also has a join in it (Applied to Transaction).
You could try using MAX instead.
Or use another rule that would eliminate duplicates. Perhaps Applying Transaction is NULL
m
Thanks for this. I was unaware of the complication. MAX did work for me, but I went with changing it to use Main Line is No and that seemed to work as well.
👍 1
n
Sum(distinct {amount}) is also a consideration when you will have multiple but different results that you want summed.