Forum Discussion

jos818's avatar
jos818
Icon for Helper I rankHelper I
3 years ago
Solved

Create a column to easily use as a filter

Hi, I have 3 columns created in a master table called 'Patients' all rows are at patient level. For this example, we label the columns as A, B and C of which contains either Yes or No alongside their...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi jos818 ,
    Please try the below logic for your calculated column:

    Group D = IF(('table'[Group A] = "Yes" || 'table'[Group B] = "Yes" ) && 'table'[Group C] = "No", "Yes", "No")

    Below is the result:


    Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!