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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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")
)