Is BOM level detection possible?

Is it possible to have an extra column in the BOM which indicated the level of the parts/(sub)assemblies of the top level?

I.e.:

  • Level 0 = top level
    • Level 1 = sub-assy A
      • Level 2 = Part 1
      • Level 2 = Part 2
      • Level 2 = sub-assy 1
        • Level 3 = Part 3
        • Level 3 = Part 4
    • Level 1 = sub-assy B

Etc..

What I'm trying to get is an extra column in the BOM with the level. Is this possible?

SolidworksBill Of Materials