I've written this syntax to calculate a new column called Priority companies
COUNT(DISTINCT CASE WHEN
(Company Name IS NOT NULL)
AND ((Activity types
LIKE '%attended event%' )
OR (Activity types
LIKE '%email engagement%')
OR (Activity types
LIKE '%webcast attended%')
OR (Activity types
LIKE '%webpage visit'))
AND (distribution team
LIKE '%marketing')
AND (salesforce contact record type
LIKE '%Institutional/ Third Party')
THEN Company Name
END). I added it to a pivot table, and I had values like 1 & 0. If I want to make sure the values 1 are shown as Priority, how do I do that?