Difference between DISTINCT and VALUES in DAX

Posted by Marco Russo (SQLBI) on SQL Blog See other posts from SQL Blog or by Marco Russo (SQLBI)
Published on Tue, 08 Mar 2011 00:39:37 GMT Indexed on 2011/03/08 8:16 UTC
Read the original article Hit count: 277

Filed under:
|
|
I recently got a question about differences between DISTINCT and VALUES in DAX and thanks to Jeffrey Wang I created a simple example to describe the difference. Consider the two tables below: Fact and Dim tables, having a single column with the same name of the table. A relationship exists between Fact[Fact] and Dim[Dim]. This relationship generates a referential integrity violations in table Fact for rows containing C, which doesn’t exist in table Dim. In this case, an empty row is virtually inserted...(read more)

© SQL Blog or respective owner

Related posts about DAX

Related posts about pivottable