Hello all,
THe below if statement runs fine until it gets to the 5th "IF" to isolate the DUMPED PRODUCT CUSTOMER. It will not split this customer out and into its own group.. any ideas?? thank you.
if {gsr_sales_analysis_v.pc_full_name} = "McCain Foods (Aust) Pty. Ltd." and {s1_commodity.commodity_id} = "POTCHI" then "McCains Ballarat Chips" else
if {gsr_sales_analysis_v.pc_full_name} = "McCain Foods (Aust) Pty. Ltd." and {s1_commodity.commodity_id} = "POTSLI" then "McCains Ballarat Peel" else
if {gsr_sales_analysis_v.pc_full_name} = "McCain Foods (Aust) Pty. Ltd." and {s1_commodity.commodity_id} = "POTMAS" then "McCains Ballarat Slivers & Mash" else
if {gsr_sales_analysis_v.pc_full_name} = "McCain Foods (Aust) Pty. Ltd." and {s1_commodity.commodity_id} = "PIZBAZ" then "McCains Ballarat Pizza Bases" else
if {gsr_sales_analysis_v.pc_full_name} = "McCain Foods (Aust) Pty. Ltd." and {gsr_sales_analysis_v.customer} = "DUMPED PRODUCT - CUSTOMER" then "McCains Ballarat Dumped" else
if {gsr_sales_analysis_v.pc_full_name} = "Safries Pty Ltd" then "McCains Sth Australia" else
if {gsr_sales_analysis_v.pc_full_name} = "Ready Meals" then "Ready Meals/Marvel" else
if {gsr_sales_analysis_v.pc_full_name} = "Marvel Packers" then "Ready Meals/Marvel" else
if {gsr_sales_analysis_v.pc_full_name} = "McCain Foods (Aust) Tasmania" then "McCains Tasmania" else {gsr_sales_analysis_v.pc_full_name}