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.
Hello Community,
I need please your help.
I have a one table and i want to add a new column in power bi.
The new column's formula named MP Plan = ($mt Plan-$mt Actual) but i want 100-200 (because i'm intested only by the Plan Column and not Actual).
Thank you so much,
Create a measure( Not column) Sum($mt_plan) - Sum($mt_actual) .
Thank you for your answer.
I need a new column.
1- New column formula :
if (Scenario=Plan) then MP Diff = $mt Actual-$mt Plan (100-200=-100)
2- After i will use this formula to calculate another new column :
if (Scenario=Plan) then MP Diff Plan = MP Diff * Amount (-100*40=-400)
@amitchandak wrote:Create a measure( Not column) Sum($mt_plan) - Sum($mt_actual) .
Hi @Anonymous
I'm not very clear about your request:
1- New column formula :
if (Scenario=Plan) then MP Diff = $mt Actual-$mt Plan (100-200=-100)
when Scenario=Plan it should be 0-200=-200 why -100?
2, if (Scenario=Plan) then MP Diff Plan = MP Diff * Amount (-100*40=-400)
shouldn't be -4000?
3. where's the Amount column in your second capture? please kindly complete it.
You can create a pivot table -https://radacad.com/pivot-and-unpivot-with-power-bi
Or Summarize table - https://docs.microsoft.com/en-us/dax/summarize-function-dax
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |