Forum Discussion
Calculate for specific variables/material
I'm Trying to make calculation like IF equation in excel.
The expectation is like when the material number is 1003067 i want it to be times 0.5 and the other materials would just times 1 (as original as it was)
Can you please help to suggest on how to do that?
- Anonymous3 years ago
Hi MuhamadIlhamsya ,
I suggest you to create a calculated column as below.
Column = IF('Table'[MaterialNumber] = 1003067,'Table'[Total QTY] * 0.5,'Table'[Total QTY])Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- AnonymousNot applicable
Hi MuhamadIlhamsya ,
I suggest you to create a calculated column as below.
Column = IF('Table'[MaterialNumber] = 1003067,'Table'[Total QTY] * 0.5,'Table'[Total QTY])Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- MuhamadIlhamsyaFrequent Visitor
hi Anonymous
Thanks a lot for the help! It works now.
Regards,
Ilhamsyah