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.
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