Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
Solved! Go to Solution.
you need to relate your tables:
and then the measures are easy
RemainingQuantity = SUM( Transactions[Quantity] )
Value =
SUMX(
Items,
[RemainingQuantity] * Items[UnitPrice]
)
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
@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!
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]
)
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
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
Hi @Anonymous
Please share your sample table. that would be efficient way to find a solution for you.
Cheers
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |