Forums › Cached › Customization › Reporting › Report Builder
This topic contains 9 replies, has 0 voices, and was last updated by evan_goldberg 13 years, 1 month ago.
-
AuthorPosts
-
October 6, 2011 at 11:25 am #7944
bonesI am trying to run a report that does the following.
Show me only the customers that are YES to a custom field (this works)
Of those filtered from above, I want to see the dollars that these customers spent with us. This works, but it drops customers from the report who do not have any transactions at all.
The problem is that if there are customers that haven’t spent ANYTHING with us, they are not showing up in the report at all. I would prefer to see them in the list with a $0 total.
Any help is appreciated.
Thanks
This is a cached copy. Click here to see the original post. -
October 6, 2011 at 11:30 am #7945
evan_goldbergRE: Customer report – show customers with no transactions
How are you showing the transaction total currently?
-
October 6, 2011 at 11:55 am #7946
bonesWell, the only way I know is to use the Transaction: Amount field. Is there a different/better way?
-
October 6, 2011 at 11:56 am #7947
evan_goldbergRE: Customer report – show customers with no transactions
Just adding that field should not be filtering out any customers. Do you have a filter on transaction type, e.g.?
-
October 6, 2011 at 11:59 am #7948
bonesWhen I do a basic report on Company, filtering out ONLY the Yes/No Checkbox (custom Field) That i mentioned, it pulls the list of all 77 records – which is correct. As soon as I add the Transaction Amount to the report, it filters out the companies that do not have any transactions. Logically, it seems to make sense that the report would do that, because you can’t have an amount on a transaction if it doesn’t exist. But I would prefer that it just state $0 for the total.
I am also grouping them together as a sum, but that shouldn’t matter either, right?
-
October 6, 2011 at 12:03 pm #7949
evan_goldbergRE: Customer report – show customers with no transactions
That’s not the results I observe. I get the same # of customers and it includes customers with no transactions, so I am not sure what is different. You are sure there is no transaction field being used in your filters, either standard or summary criteria?
-
October 6, 2011 at 12:13 pm #7950
bonesWell, the Date filter is there, from the “Sales” Report Component.
I guess I am starting this report from the wrong area?
-
October 6, 2011 at 12:28 pm #7951
evan_goldbergRE: Customer report – show customers with no transactions
Sorry – I thought you were using search. That’s my area of expertise – someone else will need to chime in about using standard reports in this way.
-
October 6, 2011 at 12:29 pm #7952
bonesIs this something i can do with a saved search?
-
October 6, 2011 at 12:38 pm #7953
evan_goldbergRE: Customer report – show customers with no transactions
Well, it gets a bit tricky actually because you need to filter out certain transaction types and/or filter to mainline, and then it becomes tricky to maintain the rows with no transactions. Generally the best way to do it is with a formula result field, whereby group by name and sum a formula such as
case when {transaction.mainline}=’*’ and {transaction.type}=’Sales Order’ then {transaction.amount} else 0 end
If you do this then it will show 0 for customers with no transactions and the sum of sales order amounts for those with transactions.
-
AuthorPosts
You must be logged in to reply to this topic.