BOM problems

Hi,

How do I make BOM to draw "length" custom property from routing assembly. It will show blank spaces.

Also is it possible to make this BOM to combine pipes?

I added variable with custom property but it doesn't work.

SolidworksSolidworks Pdm/enterprise Pdm