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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
I have a column with 6 different entries, contract 1, contract 2, contract 3, contract 4, contract 5, contract 6. How do you do a formula in a custom column to say if column says contract 1,2 or 3 put new contract in the custom column and if column says contract 4,5,6 put old contract,
many thanks
Solved! Go to Solution.
Case sensitive as follows
= if [column] = "contract 1" or [column] = "contract 2" or [column] = "contract 3" then "new" else "old"
Thanks Matt, I have followed that but get the below error
You seem to be missing a " after (Mantra)
Brilliant thanks for your help
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 38 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 93 | |
| 84 | |
| 32 | |
| 31 | |
| 25 |