CASE WHEN [Company].CurrentMember.Name = ‘Old Mutual’ OR
[Company].CurrentMember.Name = ‘Pick n Pay’ OR
[Company].CurrentMember.Name = ‘Sanlam Life insurance Ltd’ OR
[Company].CurrentMember.name = ‘Digiata’ OR
[Company].CurrentMember.Name = ‘Kaap Agri Bedryf Limited’
THEN
[Measures].[Profit by Expected Close date]*0.33
ELSE
[Measures].[Profit by Expected Close date]
END
I also want to add another parameter to my statement:
I have a custom field called “CF Type”. Within it is four choices
- Training
- Consulting
- System Retainer
- Time Retainer
What I am looking for is the Company and the “CF type” fields when they both hit, the data gets piped out. So something like this is what I need, but am failing at as it than only shows the stuff that hit those two parameters but excludes all else?
CASE WHEN [Company].CurrentMember.Name = ‘Old Mutual’ OR
[Company].CurrentMember.Name = ‘Pick n Pay’ OR
[Company].CurrentMember.Name = ‘Sanlam Life insurance Ltd’ OR
[Company].CurrentMember.name = ‘Digiata’ OR
[Company].CurrentMember.Name = ‘Kaap Agri Bedryf Limited’
AND [CF Type].currentMember.Name = ‘Training’ OR
[CF Type].currentmember.Name = ‘Consulting’
THEN
[Measures].[Profit by Expected Close date]*0.33
ELSE
[Measures].[Profit by Expected Close date]
END