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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 110 | |
| 50 | |
| 32 | |
| 29 |