Forum Discussion
Comparing two table columns which is having Many to many relationship
- 4 years ago
Anonymous OK try this, and update the column names in the last row of the measure
Status = VAR _A = CALCULATE( MAX( vw_IntegrationDataCheck[CMN] ), FILTER( vw_IntegrationDataCheck, vw_IntegrationDataCheck[ColumnType] = MAX( Out_DataComparison_Totals[columntype] ) && vw_IntegrationDataCheck[CalendarYear] = MAX( Out_DataComparison_Totals[CalendarYear] ) ) ) RETURN IF( MAX( Out_DataComparison_Totals[EO_IN_Tables] ) = _A && MAX( Out_DataComparison_Totals[EO_Out_Tables] ) = _A && MAX( Out_DataComparison_Totals[ IN_Tables] ) = _A, TRUE(), FALSE() )If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi,
It would be good to have more information e.g. which column you are using to create relationship and what kind of error you are getting. Regardless I think you can use the following structure:
If(lookupvalue(search column, add two conditions here (4 columns in total))=blank(),False,True)
So the idea here is to check if lookupvalue matches columns in your search table and if it does return true/false.
- Anonymous4 years agoNot applicable
ValtteriN i have used columntype column for relationship between two tables Many to Many Relationship. i am getting below Error
The column 'My table 2 [CMN]' either doesn't exist or doesn't have a relationship to any table available in the current context.