I've found a solution to my problem:
select distinct p.CycleID, isnull(d.SegmentCode, 'No Segment') SegmentCode, dbr.RuleName, pc.HeliosKey, P.recordtype,
case
when CellPhone is null then 'N' else 'Y'
end CellPhone,
case
when BusinessPhone is null then 'N' else 'Y'
end BusPhone,
case...