INVENTORY STOCK VALUE

I’m working on an inventory app. I am using the formula below:
Sum(Select(Inventory[Amount], [ITEM ID]=[_THISROW].[Item ID]))
But the formula is summing the whole column [Amount] and not summing by [ID Item] on total stock available

Admin11a1ab_0-1693852175669.png

 

the formula is summing the whole column [Amount] and not summing by [Item ID] on total stock available (IT MEANS THAT What I want is that if item id 01 has 5 products and 02 has 5 and 03 has 2, what each one has appears, not that they all add up)

 

Admin11a1ab_1-1693852197581.png

 

Admin11a1ab_2-1693852197586.png

 

 

0 4 134
4 REPLIES 4

Die Spalte [ARTIKEL-ID] in der Tabelle "Bestand" sollte vom Typ "REF" sein, und [Artikel-ID] in der Tabelle "Artikel" sollte die Schlüsselspalte sein, damit der Ausdruck funktioniert.

Die Werte sind wie von Ihnen angegeben, aber die gesamte Tabelle wird trotzdem hinzugefügt und nicht nach Element-ID

Admin11a1ab_0-1693856268505.png

 

Bei meiner Inventar-App funktioniert der Ausdruck also, jedoch in einer VC-Spalte mit dem Namen [Verbleibender Betrag] in der Artikeltabelle.

Also erstelle ich eine neue virtuelle Spalte und gebe die Formel ein?

 

Top Labels in this Space