That Topic explicitly states that {REPORT INVENTORY}
is hard-coded and only accepts a couple parameters. It will not work for your purpose.
It is using the {REPORT CONSUMPTION DETAILS:X}
Tag, in which you can use one of these filters:
C.Warehouse=="Warehouse Name"
(PCW=Warehouse Name)
Where PCW
is the abbreviation for “Periodic Consumption Warehouse”.
See also this post:
Here is a Report showing Inventory Consumption from a Warehouse named SHOP …
[Inventory Consumption:2, 1,1, 1, 1, 1, 1, 1.1]
>Item|Used|Unit|Pred|InStock|Added|Removed|Warehouse
{REPORT CONSUMPTION DETAILS:
C.Name.asc,C.Consumption.Sum,C.Unit,C.Inventory.Sum,C.InStock.Sum
,C.Added.Sum,C.Removed.Sum,C.Warehouse
:(PCW=SHOP) && C.Consumption>0}