Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
TechR21
Helper V
Helper V

Using 3 arguments with "AND" function

Is it possible to have more than 2 arguments when using  "AND" function in powerbi?

 

 

"NEwcolumn", IF ( AND(
       
        CALCULATE ( first argument ),
CALCULATE ( 2nd argument ),
CALCULATE ( 3rd argument )
) ,
        1,
        0
    )
       
   
)
 
2 works perfectly, but I need to include a 3rd argument. I tried different ways but cant seem to make it work, any ideas?
1 ACCEPTED SOLUTION
barritown
Super User
Super User

Hi @TechR21,

You could use && instead of AND():

IF ( <condition 1> && <condition 2> && <condition 3>, 1, 0 )

 

Best Regards,

Alexander

My YouTube vlog in English

My YouTube vlog in Russian

View solution in original post

2 REPLIES 2
mlsx4
Memorable Member
Memorable Member

Hi!

 

You can use the operator &&

barritown
Super User
Super User

Hi @TechR21,

You could use && instead of AND():

IF ( <condition 1> && <condition 2> && <condition 3>, 1, 0 )

 

Best Regards,

Alexander

My YouTube vlog in English

My YouTube vlog in Russian

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.