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.
Good day,
Trying to create quick measure using FILTER command twice, but error "Too many arguments were passed to the FILTER function. The maximum argument count for the function is 2". How to fix it?
The formula itself that I come up with:
ReportPassed3GI% = CALCULATE(COUNTA(Append_RFO_Details_New[Status]),FILTER(Append_RFO_Details_New,Append_RFO_Details_New[SubGroup]="3GI",FILTER(Append_RFO_Details_New,Append_RFO_Details_New[Status]="Ok")))
/CALCULATE(COUNTA(Append_RFO_Details_New[Personnel ID]))+0
Solved! Go to Solution.
@Anonymous
Please try
ReportPassed3GI% =
CALCULATE (
COUNTA ( Append_RFO_Details_New[Status] ),
FILTER (
Append_RFO_Details_New,
Append_RFO_Details_New[SubGroup] = "3GI"
&& Append_RFO_Details_New[Status] = "Ok"
)
)
/ CALCULATE (
COUNTA ( Append_RFO_Details_New[Personnel ID] ),
KEEPFILTERS ( Append_RFO_Details_New[SubGroup] = "3GI" )
) + 0
Hi @Anonymous
please try
ReportPassed3GI% =
CALCULATE (
COUNTA ( Append_RFO_Details_New[Status] ),
FILTER (
Append_RFO_Details_New,
Append_RFO_Details_New[SubGroup] = "3GI"
&& Append_RFO_Details_New[Status] = "Ok"
)
)
/ CALCULATE ( COUNTA ( Append_RFO_Details_New[Personnel ID] ) ) + 0
Hi Tamer J,
by filter no argument, thanks a lot to you, but I've mistaken only in one part. If we / by Personnel ID, it will count all others as well, and final percent and result will be not quite correct. Can we / to SubGroup only with 3GI values?
@Anonymous
Please try
ReportPassed3GI% =
CALCULATE (
COUNTA ( Append_RFO_Details_New[Status] ),
FILTER (
Append_RFO_Details_New,
Append_RFO_Details_New[SubGroup] = "3GI"
&& Append_RFO_Details_New[Status] = "Ok"
)
)
/ CALCULATE (
COUNTA ( Append_RFO_Details_New[Personnel ID] ),
KEEPFILTERS ( Append_RFO_Details_New[SubGroup] = "3GI" )
) + 0
It works completely fine! Thank you a lot
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.