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
CloudMonkey
Post Prodigy
Post Prodigy

AND argument limit of 2

Hi,

 

I'm trying to create a calculated field and I see there is a limit on the number of arguments of 2. Please does anyone know how to build an AND query with 5 arguments?

 

Thanks,

 

CM

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi CloudMonkey

You can use the double ampersand operator (&&) to form the conjunction of more than two expressions.
e.g. A && B && C &&...

 

Or you could nest a bunch of AND functions, but that's probably harder to read.


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

2 REPLIES 2
OwenAuger
Super User
Super User

Hi CloudMonkey

You can use the double ampersand operator (&&) to form the conjunction of more than two expressions.
e.g. A && B && C &&...

 

Or you could nest a bunch of AND functions, but that's probably harder to read.


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Brilliant, thanks!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors