Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Gowtham174
Creator
Creator

Exclude field values and include field values in set analysis

Hi All,

I have below table and i need to show as below.

Image1.PNG

Output1

image2.PNG

Output2

image3.PNG

 

=Sum({$<NAME2 -= {'A','B'}, NAME3 = {'C','E'}>} Sales)

its showing null, please help me on this.

 

Thanks,

Gowtham

 

 

 

 

 

3 Replies
Channa
Specialist III
Specialist III

if Name2 is null you want to show Name 3 values

Channa
Channa
Specialist III
Specialist III

IF(not isnull(Name2),Name2,Name3)

this should be UR name expression

 

for measure just put SUM(SALES)

Channa
Gowtham174
Creator
Creator
Author

In name 3 field A and B is already present in name2

hence we need to show name3 which is not present in name2