Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear, I have a table with products and their prices. I want to create a new calculated column that, according to the product, adds +2 to the price.
I want to add 2 if the product is Doll:
| Product | Price | New Price |
| Trolley | 5 | 5 |
| Doll | 5 | 7 |
| Pawn | 5 | 5 |
I Tried:
measure = IF (Product [Name] = "Doll", Product [Price] + 2, Product [Price]) But it is not working.
HI @AyaneYep
If the measure you mentioned is not working then you have to change your column to whole number type as mentioned below.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.