Forum Discussion

vijay4's avatar
vijay4
Regular Visitor
3 years ago
Solved

2 Column Comparison and creating 3rd calculated column

Hi All,   Please refer the below Image, I need to create 3rd column -- only if the 2nd column value is available in 1st column. result should look like this...  
  • ray_aramburo's avatar
    3 years ago

    Hi,

    Adapting this post  your solution would be:

    NewColumn =
    VAR _SEL = SELECTCOLUMNS('TableName', "Actual KPI", 'TableName'[Actual KPI+SFS line])
    RETURN
    IF('TableName'[Level_02+SFS Line] IN _SEL, 'TableName'[Level_02+SFS Line], BLANK())