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! It's time to submit your entry. Live 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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 39 | |
| 23 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 64 | |
| 38 | |
| 31 |