Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a column in my dataset that has the prices of particular items. I would like to create a calculation that takes this price and multiplies it by 20%, adding the 20% as additional margin to the price of the item.
i.e.
$1.00 * [Margin) = $1.20
Looking for some quick DAX help on this...
Thanks.
Solved! Go to Solution.
To add to @v-ljerr-msft idea. Create a measure called "Margin" and assign the 20% value to it. This would look like
MARGIN = 0.2
Now do what was suggested by creating a column/measure that uses the formula:
NewPrice = 'YourTable'[Price] * (1 + [Margin])
Hi @irnm8dn,
According to your description above, I just assume you have table called "Table1" like below.
Then you should be able to use the formula below to add a calculate column to add the 20% as additional margin to the price of the item.
Column = Table1[Price] * (1 + 0.2)
Regards
To add to @v-ljerr-msft idea. Create a measure called "Margin" and assign the 20% value to it. This would look like
MARGIN = 0.2
Now do what was suggested by creating a column/measure that uses the formula:
NewPrice = 'YourTable'[Price] * (1 + [Margin])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |