DAX Function Guide
HASONEFILTER
Sam McKay
CEO & Founder
How does the HASONEFILTER work?
HASONEFILTER Formula Syntax
HASONEFILTER(<columnName>)
How do you use the HASONEFILTER?
It returns TRUE when the number of directly filtered values on columnName is one and only one. Otherwise, returns FALSE.
Related Blog Posts
Loading
Considerations when using the HASONEFILTER?
This function is similar to HASONEVALUE() with the difference that HASONEVALUE() works based on cross-filters while HASONEFILTER() works by a direct filter.
Related Video Tutorials
Loading
Formula examples using the HASONEFILTER
=IF(HASONEFILTER(ResellerSales_USD[ProductKey]),FILTERS(ResellerSales_USD[ProductKey]),BLANK())
Related Courses
Loading