Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Get Value from Table having Implicit Relationship

Hello All,

 

I have a table with below relationship,

 

 

Now here what I want to is add a calculated column in Table A. The formula for Calculated Column in Table A will look something like this - 

 

Column Table A = IF(Table A[DateTime] >= Table B[StartDate] AND Table A[DateTime] < Table B[EndDate], 1, 0)

 

Now my issue is there is no direct relationship between Table A and Table B but both these tables are related to Date/Calendar table 

 

  • Anonymous , Try like new column

    if(isblank(countx(filter('Table B','Table A'[DateTime] >= 'Table B'[StartDate] && 'Table A'[DateTime] < 'Table B'[EndDate]),'Table B'[DateKey])),0,1)

2 Replies