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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
How to add 'and' under 'add conditional column'?
if 'target' is great than 2 and *****, then ***
Solved! Go to Solution.
Hi @Anonymous
In order to do that you will need to add a Custom Column
The syntax is the following below and NOTE that it is case sensitive
if [Target] > 2 and [Other column] = "Closed" then "My Output Closed" else if [Target] > 1 and [Other column] = "Open" then "My Output Open" else "Other Output"
Hi @Anonymous
In order to do that you will need to add a Custom Column
The syntax is the following below and NOTE that it is case sensitive
if [Target] > 2 and [Other column] = "Closed" then "My Output Closed" else if [Target] > 1 and [Other column] = "Open" then "My Output Open" else "Other Output"
@GilbertQ thanks, but i don't really get it. how do i add 'and' in the picture i attached? see above.
@GilbertQ yes, i'm in edit queries/add column/conditional column. but where to add 'and'
for example below, how should i say
if actualstart = 11/07/2017 and (or) ****, then output = 13/07/2017.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 192 | |
| 125 | |
| 99 | |
| 67 | |
| 48 |