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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.