Forum Discussion
nvizard
6 years agoRegular Visitor
Count distinct values across two separate rows in two separate tables
Hi all, I am trying to count the number of distinct values that occur in two separate columns in two separate tables (count the number of distinct values as though the two columns were appended) F...
- 6 years ago
You may try the measure below.
Measure = COUNTROWS ( DISTINCT ( UNION ( VALUES ( Table1[Column1] ), VALUES ( Table2[Column1] ) ) ) )
v-chuncz-msft
Community Support
6 years ago
You may try the measure below.
Measure =
COUNTROWS (
DISTINCT ( UNION ( VALUES ( Table1[Column1] ), VALUES ( Table2[Column1] ) ) )
)