In a saved search, I am trying to return the roste...
# general
c
In a saved search, I am trying to return the roster of certain team roles in columns rather than rows. For example, for a given customer, I'd like to have a 'Sales Rep', 'Account Manager' and 'Project Manager' column that fills out each column result with that particular role. This logic does not seem to work: CASE WHEN {salesteamrole}="Account Executive" THEN {salesteammember} END Any ideas on how to make this work?
j
your double quotes should be single quotes. does that work?
k
you might try decode instead
Copy code
Decode({salesteamrole},'Account Executive',{salesteammember})
c
Thanks -- both methods worked. And derp on me for having the double quote in the original CASE statement. It is insisting on dropping each result in a single line, but I will tackle that after lunch.
k
You'll have to group your search by customer
and then use a "maximum" summary of either result