Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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
After I changed it to single direction, problem resolved.
I have the same question, could anyone know why?
Great question. But of course - no real answer here.
@Anonymous , Refer if this from SQLBI, can help
Congrts on posting useless link. This is not the answer
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.