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 Experts
How would you write the following in M Script as a custom column
= if [type redemption = "Early" or "Full" then [Cash Amt] else Null
getting an error on second condition "Full"
Solved! Go to Solution.
Hello @Anonymous
It should be like this:
if [type redemption] = "Early" or [type redemption]= "Full" then [Cash Amt] else null
Hello @Anonymous
It should be like this:
if [type redemption] = "Early" or [type redemption]= "Full" then [Cash Amt] else null
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |