Forum Discussion
Anonymous
3 years agoNot applicable
Table Calculation (IF THEN ELSE)
Hi Everyone, I have 2 tables joined together using Left Out Join. Master Table App ID App Name Department 1 App1 Department1 1 App1 Department2 2 App2 Department2 3 A...
- Anonymous3 years ago
Hi Anonymous ,
Please new two calculated column:KEY = 'Table2'[App ID]&'Table2'[App Name]&'Table2'[Department]Check = VAR _key = 'Master Table'[App ID] & 'Master Table'[App Name] & 'Master Table'[Department] VAR _count = CALCULATE(COUNTROWS('Table2'),FILTER(ALL('Table2'),'Table2'[KEY]=_key)) VAR _result = IF(_count<>BLANK(),"MATCH","MISMATCH") RETURN _resultBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
HoangHugo
3 years agoSolution Specialist
Hi,
in table 2,
Match/Mistmach column = IF( COUNTROWS(CALCULATETABLE(Master table,'Master table[NameDepartment] = EARLIER ( 'Table 2[NameDepartment]),'Master table[App] = EARLIER ( 'Table 2[App])))>0,"Match","Mismatch")