Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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.
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
217 | |
89 | |
82 | |
66 | |
57 |