Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |