I have a transaction saved search. Criteria I have...
# general
k
I have a transaction saved search. Criteria I have the dates within Jan 1 - June 30 and Main line True. Results tab as follow: Customer Name COUNT. Results give me 216 Amount (Net) SUM. Results give me $618,374.19 Formula (Currency) SUM. Results give me 1602.78 which is wrong. My formula is Sum({netamount})/Count({name}) I just need the total amount / total customer count. 618374.19/216= 2862.84 I believe it's giving me the 1602.78 because it's taking into a COUNT of customers including their Sales Orders which is 386. Anyone know how to do this?
i
Formula (Currency) SUM seems wrong, since you are already dividing the sums. Try MAX
k
It gives me the same result :(
m
Try COUNT(DISTINCT({name}))
k
Beautiful! This worked! Thank you so much!! ☺️☺️☺️
Side question, how or where can I go to learn these things? The different codes/functions!
m
Search “sql expressions” in suiteanswers
❤️ 1
That’s a good start