cancel
Showing results for 
Search instead for 
Did you mean: 

comparing 2 fields that means 2 objects in webi

Former Member
0 Kudos

Hi Gurus, I have a report and I need to compare 2 fields having the same boolean values 1 and 0.My work is to find the number of rows having the same boolean value "0".I tried a lot but cannot solve that can u guys share ur thoughts.

thanks,

San

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I am not sure If I understand you correctly . But try -

Flag=if(var1=0 and var2=0) then 1 else 0

Count(Flag)

I hope this help

Former Member
0 Kudos

Yes, I solved it by using the where condition.It is working.Thanks for the suggestion

Answers (1)

Answers (1)

former_member210032
Active Participant
0 Kudos

HI Santhosh,

Can you share how you solved your issues.

Regards

Mustafa