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/
VahidDM sir modifed the measure . true return only for the all four below values same
Eo_IN_tables,Eo_Out_tables,IN_Tables,CMN
please find the below screen shot for your reference . its true or false wrongly returned sir
Anonymous what is the aggregation of these Eo_IN_tables,Eo_Out_tables,IN_Tables columns in that Matrix/Table?
and it seems the result should be false in that image your shared?
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
- Anonymous4 years agoNot applicable
VahidDM sir i have used iun the table format . its all in don't summarize . True status conditional all the four value should be then only it will be true other wise its false
Example :
Eo_IN_tables Eo_Out_tables IN_Tables CMN Status
22951661 22951661 22951661 22951661 True
22951661 4928060 4776026.39 4776026.39 False