Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Experts
I cannot see the error here in my DAX' the filter filter is correct when I want to count the values and exclude blanks from second column I get an error..
Non MS Apps. = CALCULATE(COUNT(JohnH_SPO_EUCPriorityListAllDiv[Count]),FILTER(JohnH_SPO_EUCPriorityListAllDiv,JohnH_SPO_EUCPriorityListAllDiv[Microsoft or Not] = "Retain" || FILTER(JohnH_SPO_EUCPriorityListAllDiv,JohnH_SPO_EUCPriorityListAllDiv[Risk Based Criteria] <> BLANK())))
Solved! Go to Solution.
should you not use && rather than ||? what error are you getting
Non MS Apps. =
CALCULATE (
    COUNT ( JohnH_SPO_EUCPriorityListAllDiv[Count] ),
    FILTER (
        JohnH_SPO_EUCPriorityListAllDiv,
        JohnH_SPO_EUCPriorityListAllDiv[Microsoft or Not] = "Retain"
            && JohnH_SPO_EUCPriorityListAllDiv[Risk Based Criteria] <> BLANK ()
    )
)
Proud to be a Super User!
should you not use && rather than ||? what error are you getting
Non MS Apps. =
CALCULATE (
    COUNT ( JohnH_SPO_EUCPriorityListAllDiv[Count] ),
    FILTER (
        JohnH_SPO_EUCPriorityListAllDiv,
        JohnH_SPO_EUCPriorityListAllDiv[Microsoft or Not] = "Retain"
            && JohnH_SPO_EUCPriorityListAllDiv[Risk Based Criteria] <> BLANK ()
    )
)
Proud to be a Super User!
Thank you sir
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.