The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Solved! Go to Solution.
hi @ukare1996
try like:
Measure =
COUNTROWS (
FILTER (
'Network protection',
'Network protection'[Monitor 1]<>"None"
&& 'Network protection'[Monitor 1] <> BLANK()
)
)
verified with a simplified dataset:
it worked like:
if you prefer CALCULATE, try like:
Monitor 1 - Action taken by customer =
CALCULATE(
COUNT('Network protection'[Monitor 1]),
FILTER(
'Network protection',
AND(
'Network protection'[Monitor 1] <> "None",
'Network protection' [Monitor 1] <>BLANK()
)
)
)
hi @ukare1996
try like:
Measure =
COUNTROWS (
FILTER (
'Network protection',
'Network protection'[Monitor 1]<>"None"
&& 'Network protection'[Monitor 1] <> BLANK()
)
)
verified with a simplified dataset:
it worked like:
if you prefer CALCULATE, try like:
Monitor 1 - Action taken by customer =
CALCULATE(
COUNT('Network protection'[Monitor 1]),
FILTER(
'Network protection',
AND(
'Network protection'[Monitor 1] <> "None",
'Network protection' [Monitor 1] <>BLANK()
)
)
)
This worked - thank you so much 🙂
Hi @ukare1996
please try
Monitor 1 - Action taken by customer =
COUNTROWS (
FILTER (
VALUES ( 'Network protection '[Monitor 1 - Action taken by customer] ),
NOT (
'Network protection'[Monitor 1 - Action taken by customer]
IN { "None", BLANK () }
)
)
)
Hi,
That didnt work sorry. Below is a mock up example of what I need.
The ideal result I am expecting from here is 2 - with blanks and none excluded.
please try
Monitor 1 - Action taken by customer =
COUNTROWS (
FILTER (
'Network protection ',
NOT (
'Network protection'[Monitor 1]
IN { "None", BLANK () }
)
)
)