Forum Discussion

ashuaswinireddy's avatar
2 years ago
Solved

Substract Total count from specific event

Hello All,

 

I have below Data

NumberCategoryEvent
123UNMV1
124UNMV2
128IMMB1
129IMMB2
137FEMB1
189IMMB2
190UNSO
198FEPO
200IMNo

 

Total Number=count(number)=9

Total MB1=count(MB1)=2

Total MB2=count(MB2) =2

Total SO=Count(SO)=1

 

I need to substract total Number -specific events.

 

I am looking for a way to get below output.

Total NumberTotal Number - MB1(Total Number-MB1) - MB2((Total Number-MB1) - MB2)-SO
99-2=77-2=55-1=4

 

Please let me know how can I get this.

Thank you!

4 Replies