The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
You should use || or {} instead of OR.
Remaining tasks =
CALCULATE(
COUNTROWS('Data source 1'),
KEEPFILTERS('Data source 1'[State] IN {"New", "Active"})
)
Remaining tasks =
CALCULATE(
COUNTROWS('Data source 1'),
KEEPFILTERS('Data source 1'[State] = "New" || 'Data source 1'[State] = "Active")
)
You should use || or {} instead of OR.
Remaining tasks =
CALCULATE(
COUNTROWS('Data source 1'),
KEEPFILTERS('Data source 1'[State] IN {"New", "Active"})
)
Remaining tasks =
CALCULATE(
COUNTROWS('Data source 1'),
KEEPFILTERS('Data source 1'[State] = "New" || 'Data source 1'[State] = "Active")
)