I am trying to create a BOM for my project in an indented type with detailed numbering. Under the top assembly, there is a subassembly (item 3) with QTY of 2. The QTY of all parts inside the that subassembly (item 3.1, item 3.11, item 3.2 ......) should be 2 x the QTY in each subassembly. But when I generated the BOM, it only give the QTY of all parts inside the that subassembly (item 3.1, item 3.11, item 3.2 ......) for one subassembly, which is not right. Is there a way to solve the problem?
thanks.

Actually that is the correct standard method. The BOM shows that you need 2 sub-assys, with each sub-assy consisting of the listed items.
If you use the Parts only option, the total quantity of parts will be shown.
Tank you for your response.
May be it is the correct standard method, But when I give that BOM to the workshop, they pick up all parts form inventary according to the QTY column. And during assembly, they come back to me saying that they do not have enough parts for assembly.
Anyway, is thers a setting let the QTY of parts in subassembly follow the tatol QTY in top-assembly?
Not that I know of. The only workaround I can think of is to have two BOMs. One for Top-level only where only sub-assys are shown, and the other for Parts only to list all parts.
Nope, you'll need to give them a parts-only BOM.
You might be able to convert your indented BOM using equations. Add a Total quantity column and then use
equations to total the quantities
Solidworks does not give you a true total number of items. You can do the "parts only" options as long as you don't use weldments but still you loose the subassembly listing. You can only do this outside SW in excel for instance but this requires editing. You can use the assembly visualization tool as well. This will give you a total qty of parts but again not for weldements.
Don't reinvent the wheel. train the people pulling the parts how to read your print.