Forum Discussion
compare two columns
I have Global POL table, trying to Compare the two column CBL and CBL LOCAL .If both column value same its return true. if values not match and both column blank its return False. i have tired the below measure .
INPUT :
ID CBL CBL LOCAL
122 MS14-CA04CAS002 MS14-CA04CAS002
123 MS14-CA04CAS004 MS14-CA04CAS004
124 MS14-CA04CAS004 MS14-CA04CAS002
125
EXPECTED OUTPUT:
ID CBL CBL LOCAL TRUE/FALSE
122 MS14-CA04CAS002 MS14-CA04CAS002 TRUE
123 MS14-CA04CAS004 MS14-CA04CAS004 TRUE
124 MS14-CA04CAS004 MS14-CA04CAS002 FALSE
125 FALSE
5 Replies
- KeyurPatel14Responsive Resident
Hii Anonymous ,
Please try below formula: - KeyurPatel14Responsive Resident
Hii Anonymous ,
Please enter below formula: - KeyurPatel14Responsive Resident
Hii Anonymous ,
Can you please try following measure:I have taken this as a sample data so apply this formula to your data and if this helps you then accpet this as a solution and give a thumbs up.
- Mahesh0016Super UserCompare =IF (Compare[CBL ]=Compare[Column1] && AND(Compare[CBL ]<>BLANK() , Compare[Column1]<>BLANK()),"True","False")
- AnonymousNot applicable
KeyurPatel14 if both column blank its also False