The BOM is not show correct value when selected following assembly order.

SW2017SP1.0

When I set the BOM and use "Following assembly order " then the BOM is show in variable.

I try to SW2016 is same this problem. Why?

SolidworksBill Of Materials