Forum Discussion
Anonymous
4 years agoNot applicable
Margin % difference for 2 years
Hi, My margin % is from profit divide sales. How do I calcualate the margin % difference for both year? There is subtotal in the formatting, but I want difference instead.
- Anonymous4 years ago
Hi Anonymous ,
You want to replace subtotal with the result you want. You can use the ISINSCOPE function.
Measure = IF(ISINSCOPE('Table'[Year]),[Percentage],[Difference])The example I attached is relatively simple, you can refer to it.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi Anonymous ,
You want to replace subtotal with the result you want. You can use the ISINSCOPE function.
Measure = IF(ISINSCOPE('Table'[Year]),[Percentage],[Difference])
The example I attached is relatively simple, you can refer to it.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.