Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Inventory Value

Hello!

 

I am currently working on a report with data from an older version of NAV to display infromation about the inventory but I've hit a snag when it comes to displaying the current inventory value.

 

I got two tables to work with:

Items (Contains item prices, descriptions etc.)

Item Ledger Entry (Contains "Remaining Quantity" which is a series of +1 -1 for each item)

The tables are linked by Item No

 

All i really want to do is multiply the sum of "Remaining Quantity" for each item with the item price but can't figure out how.

 

1 ACCEPTED SOLUTION

you need to relate your tables:

 

and then the measures are easy

 

RemainingQuantity = SUM( Transactions[Quantity] )

 

Value =
         SUMX(
                 Items,

                 [RemainingQuantity] * Items[UnitPrice]
          )

 

 

Capture.PNG

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

View solution in original post

5 REPLIES 5
LivioLanzo
Solution Sage
Solution Sage

@Anonymous

 

please post a sample of your data along with expected results

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Anonymous
Not applicable

Sample Data:

No | Description | UnitPrice
10  | Adapter |99

 

Entry No | Item No | Quantity | Remaining Quantity
1 | 10 | 1 | 1
2 | 10 | -1 | 0

3 | 10 | 2 | 2

 

Goal:

 

No | Remaining Quantity | Value(Remaining Quanitity * UnitPrice)

10 | 2 | 198

you need to relate your tables:

 

and then the measures are easy

 

RemainingQuantity = SUM( Transactions[Quantity] )

 

Value =
         SUMX(
                 Items,

                 [RemainingQuantity] * Items[UnitPrice]
          )

 

 

Capture.PNG

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

tex628
Community Champion
Community Champion

Hello Gandalf, 

 

If you want to calculate inventory value you should calculate that from the Value entry table. It's more accuarate than the item table. 

/ J


Connect on LinkedIn

Hi @Anonymous

 

Please share your sample table. that would be efficient way to find a solution for you.

 

Cheers

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.