Forum Discussion
Anonymous
4 years agoNot applicable
HASONEVALUE returning false although only 1 distinct value.
Good day my fellow dax experts,
Can someone help me to understand how HASONEVALUE works. From the documentation of the function
"TRUE when the context for columnName has been filtered down to one distinct value only. Otherwise is FALSE".
However, it returns FALSE when i run it on the Contoso Data. May i know why this is happening? As A.Datum or Adventure works should only have 1 distinct value in their respective table, hence it should return TRUE.
Regards
Adrian
5 Replies
- amitchandak
Super User
Anonymous , Refer if this from SQLBI, can help
- Marcin82Frequent Visitor
Congrts on posting useless link. This is not the answer
- Marcin82Frequent Visitor
Great question. But of course - no real answer here.
- AnonymousNot applicable
I have the same question, could anyone know why?
- AnonymousNot applicable
After I changed it to single direction, problem resolved.