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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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