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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |