Forums › Cached › Customization › Reporting › Report Builder
This topic contains 7 replies, has 2 voices, and was last updated by Kevin Morton 5 years, 8 months ago.
-
AuthorPosts
-
November 25, 2013 at 6:33 am #7691
eleranI cannot seem to figure how to derive YTD sales by customer using a saved search. I want to generate a customer list for each of our sales territories showing YTD sales and I just can’t figure it out.
Any help is appreciated.
This is a cached copy. Click here to see the original post. -
November 25, 2013 at 9:35 am #7692
rnedelkowYou could customize this search to show ytd sales only. Currently , it shows last year and this year:
1. Reports > Saved Searches > All Saved Searches > New.
2. Choose Customer.
3. Search Title field: entered your preferred name for the search (eg. Sales Last Year and Sales Year to Date)
4. Under Criteria tab > Standard sub tab, on Filter column, display the dropdown field and set the following. Take note that on the popup window that will appear, you will have to choose a description, click Set and click the Add button after each criteria to proceed to the next line.
*Filter *Description
โ Transaction: Type is any of (your own set of transaction types)
โ Transaction: Main Line is true.
5. Under Results tab > Columns sub tab > Field column, click to display a dropdown and:
โ Name with Summary Type = Group.
โ Formula (Currency) with Summary Type = Sum and Custom Label = Summary Label = Sales Last Year:
CASE WHEN TO_CHAR({transaction.trandate},’YYYY’)=TO_CHAR({to day},’YYYY’)-1 THEN {transaction.amount} ELSE 0 END
โ Formula (Currency) with Summary Type = Sum and Custom Label = Summary Label = Sales YTD:
CASE WHEN TO_CHAR({transaction.trandate},’YYYY’)=TO_CHAR({to day},’YYYY’) AND {transaction.trandate}<={today} THEN {transaction.amount} ELSE 0 END
6. Save and Run.
Thanks,
-
November 25, 2013 at 12:49 pm #7693
eleranRE: saved search for YTD sales
Originally posted by rnedelkow
View Post
You could customize this search to show ytd sales only. Currently , it shows last year and this year:
1. Reports > Saved Searches > All Saved Searches > New.
2. Choose Customer.
3. Search Title field: entered your preferred name for the search (eg. Sales Last Year and Sales Year to Date)
4. Under Criteria tab > Standard sub tab, on Filter column, display the dropdown field and set the following. Take note that on the popup window that will appear, you will have to choose a description, click Set and click the Add button after each criteria to proceed to the next line.
*Filter *Description
โ Transaction: Type is any of (your own set of transaction types)
โ Transaction: Main Line is true.
5. Under Results tab > Columns sub tab > Field column, click to display a dropdown and:
โ Name with Summary Type = Group.
โ Formula (Currency) with Summary Type = Sum and Custom Label = Summary Label = Sales Last Year:
CASE WHEN TO_CHAR({transaction.trandate},’YYYY’)=TO_CHAR({to day},’YYYY’)-1 THEN {transaction.amount} ELSE 0 END
โ Formula (Currency) with Summary Type = Sum and Custom Label = Summary Label = Sales YTD:
CASE WHEN TO_CHAR({transaction.trandate},’YYYY’)=TO_CHAR({to day},’YYYY’) AND {transaction.trandate}<={today} THEN {transaction.amount} ELSE 0 END
6. Save and Run.
Thanks,
Thanks. You is a lifesaver.
Is there a way to make this search also show those customers, prospects & leads that do not have transactions yet?
-
November 26, 2013 at 2:41 pm #7694
jon@dogisgood.comRE: saved search for YTD sales
I’m getting a ERROR: FIELD NOT FOUND in each column. What needs to be put into the formula field? for ‘YYYY’ I put in ‘2012’ or ‘2013’ . Does something go in to the “to day” brackets?
-
November 26, 2013 at 3:31 pm #7695
rnedelkowHi Jon, the formula should run as is, without setting ‘YYYY’ values. {today} simply pulls today’s date.
Thanks,
-
November 26, 2013 at 3:52 pm #7696
jon@dogisgood.comExcellent – got it!
-
November 27, 2013 at 5:51 am #7697
eleranRE: saved search for YTD sales
Also Jon, make sure to remove the gap in the one instance of {to day} that might be the reason for your error
-
February 27, 2019 at 8:43 am #26096
Does anyone have a working copy of this solution as of today’s NetSuite version?
- This reply was modified 5 years, 8 months ago by Kevin Morton.
-
AuthorPosts
You must be logged in to reply to this topic.