Forum Discussion
KevBI
4 years agoHelper I
Need help with Measure please
Hello Guys, I have following Table The Column I am having problems with is the marked AOPWD Column. It is a calculated column : AOPWD = 'Spoilage AOP 2022'[AOP] / 'Spoilage AOP 2022'[...
- Anonymous4 years ago
Hi KevBI ,
I think there is something wrong in your calculate logic.
The calculate logic of your measure is 60900 / (20 * 7) = 435.
Try this code.
AOPWDMeasure = DIVIDE ( SUM ( 'Spoilage AOP 2022'[AOP] ), SUM ( 'Spoilage AOP 2022'[WDMonth] ) ) * ( [workdays] )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.
KevBI
4 years agoHelper I
Thanks amitchandak !
It doesn't calculate correctly though, maybe I am doing something worng.
I attached a sample Report, thank you for helping out!
https://1drv.ms/u/s!Aq582f-TWdgxi2jvJdiLbdfcRHHK?e=czCfaz
Ashish_Mathur
4 years agoSuper User
Hi,
Modify your measure to
AOPWDMeasure = Divide(sum('Spoilage AOP 2022'[AOP]) ,sum( 'Spoilage AOP 2022'[WDMonth])) * ([workdays])
Hope this helps.