Forum Discussion
LangeJan
Helper I
4 years agoCount not working when joining with other table
Hi
I have two tables. 'CUSTOMERS' and 'REFERENCE'.
I have made a count of how many times a VATNUMBER occurs in 'CUSTOMERS'. The count works fine, right up until I add data from the 'REFERENCE' tab...
tamerj1
Community Champion
4 years agoYou can try
VATNUM occurrences =
CALCULATE (
COUNTROWS ( AXtest_CUSTTABLE );
ALL ( AXtest_CUSTTABLE );
VALUES ( AXtest_CUSTTABLE[VATNUM] );
REMOVEFILTERS ( References )
)