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
Hi Team,
How to write this is M query (Condition coloum)
Solved! Go to Solution.
Hi @Anonymous,
You can try:
if [Q2 Converted]=0
then "N/A"
else if [Q2 Converted]>=[Baesline converted]
then "Yes"
else "No")
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @Anonymous,
You can try:
if [Q2 Converted]=0
then "N/A"
else if [Q2 Converted]>=[Baesline converted]
then "Yes"
else "No")
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
@Anonymous , I doubt there is one. We use nested if then else.
But refer this blog
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |