Forum Discussion
Anonymous
8 years agoNot applicable
You can't create a relationship between these two columns...
So I get why this is happening even though they are the exact same numbers in both columns from both tables: There are duplicates in my CService table because since a company can have multiple...
- Anonymous8 years ago
Anonymous,
My mistake, there is a syntax error in my original DAX. Please use DAX below instead, replace CBIZ with your own table.NewTable = FILTER( DISTINCT( UNION( DISTINCT(CBIZ[CompanyID]), DISTINCT(CService[co]) ) ), NOT(ISBLANK(CBIZ[CompanyID])) )
Regards,
Lydia
Anonymous
8 years agoNot applicable
Anonymous,
Create a new table using DAX below. Then create relationship between the new table and the other two tables.
NewTable = FILTER( DISTINCT( UNION( DISTINCT(CBIZ[CompanyID]), DISTINCT(CService[co]) ) ), NOT(CBIZ[CompanyID]) )
Regards,
Lydia
Anonymous
8 years agoNot applicable
Anonymous attempted to do this but it doesn't let me finish typing the formula out:
- Anonymous8 years agoNot applicable
Anonymous I'm sorry, it actually did work. Now I'm just getting this error message:
- Anonymous8 years agoNot applicable
Anonymous,
My mistake, there is a syntax error in my original DAX. Please use DAX below instead, replace CBIZ with your own table.NewTable = FILTER( DISTINCT( UNION( DISTINCT(CBIZ[CompanyID]), DISTINCT(CService[co]) ) ), NOT(ISBLANK(CBIZ[CompanyID])) )
Regards,
Lydia