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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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