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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
all
I hope you can help?
I would like to add a column you table A using an IF formula which looks up three criterias in table B. To Give a YES or NO answer. I have tried the formula below and get a "Too few arguments were passed to the IF function. The minimum argument count for the function is 2." Error message
Thanking you in advance
Solved! Go to Solution.
Hi @Anonymous ,
you can try the formula below:
Correct = IF(([Name] = RELATED(TableB[Name])) && ([REAL_TIME] >= RELATED(TableB[REAL_TIME - 3] )) && (TableA[REAL_TIME] <= RELATED(TableB[REAL_TIME + 3])), "YES" , "NO")
Let me know if it works
LC
Interested in Power BI templates? Check out my blog at www.finance-bi.com
Hi @Anonymous ,
you can try the formula below:
Correct = IF(([Name] = RELATED(TableB[Name])) && ([REAL_TIME] >= RELATED(TableB[REAL_TIME - 3] )) && (TableA[REAL_TIME] <= RELATED(TableB[REAL_TIME + 3])), "YES" , "NO")
Let me know if it works
LC
Interested in Power BI templates? Check out my blog at www.finance-bi.com
Thank you. It worked a treat!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!