Topic: Highlighting - parameter for whole group Posted: 17 Mar 2017 at 6:49am
I'm trying to highlight a Client group heading that has several products. Each product has a year of purchase and a qty.
I'm trying to Highlight the Client group heading if that client didn't purchase anything at all in 2016.
How do I make the highlight parameter look at the whole group of products? I'm finding it highlights the client group if it hasn't bought SOME of the products in 2016 even if they have bought others in 2016.
How do I make it look at the products as a single parameter rather than several.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 17 Mar 2017 at 10:03am
create a grouping flag that gives you a group total you can use for what you want.
row level formula
//flag
if table.saleyear = 2016 then 1 else 0
sum this at the client group level and if that sum = 0 highlight
if sum(@flag,client)=0 then crYellow
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum