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.
Hi!
I have the following situation: I have 3 categories (A, B ,C) , their value and loss. I have to DEDUCT the loss from category A AND ADD IT TO category C.
EXAMPLE:
CATEGORY | VALUE | LOSS |
A | 100 | 20 |
B | 120 | 0 |
C | 50 | 0 |
TOTAL | 270 | 20 |
EXPECTED RESULT:
CATEGORY | VALUE | LOSS |
A | 80 | 0 |
B | 120 | 0 |
C | 70 | 20 |
TOTAL | 270 | 20 |
WHAT MEASURE COULD I BUILD?
THANKS! ~~
Solved! Go to Solution.
Proud to be a Super User!
Proud to be a Super User!
Thank you for help! 🙂
Proud to be a Super User!
@ANM_97 , Need to create measures like this:
NEW VALUE = SUM(Table[Value])-SUM(Table[Loss])
NEW LOSS = 0
OR NEW LOSS MEASURE = SUM(Table[Loss])-SUM(Table[Loss])
It's not that simple. The value of LOSS = 20 must be subtracted from A and added to category C. I have attached a measure, but it does not add to category C.
depends on how you want to use it
RESULT 2 = SUMX ( table, 'table'[value] - 'table'[loss] )
Proud to be a Super User!
It's not that simple. The value of LOSS = 20 must be subtracted from A and added to category C. I have attached a measure, but it does not add to category C.
I try this:
But don't work ok, because the LOSS value is also low from the total value.
I am not sure why you are asking for someone else to come and help when I am putting my time into helping you? Please provide the code you have used in text form so i can see what is going on
Proud to be a Super User!
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |