Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi All,
I have 1 column in my Nav_Item table called average selling price and I would like to multiply this by my Free Stock Value measure. For some reason when I perform this return answer is wrong... Anyone have any ideas? For example...
Customer Name | Product Name | Average Selling Price | Free Stock Quantity | Stock Value |
Bob | Apples | £98.12 | 10,208.44 | £250,412.93 |
Measure for Free Stock Quantity is using Total Quantity measure from my Nav_ItemLedger - Total TOB Approved Unposted from my Nav_SalesLine table here are the measures below...
Hopefully this is explained effectively and long story short...
'NAV_Item Ledger Entry'[Quantity]
...subtract...
'NAV_Sales Line'[Outstanding Quantity])
= Free stock Quantity and then get this Free stock Quantity * Average Sales Price....
Many Thanks,
Taylor 😊
Solved! Go to Solution.
Hi @Ttaylor9870
Please try
NewMeasure =
SUMX ( Nav_Item, Nav_Item[average selling price] * [Free Stock Value measure] )
Hi @tamerj1 , Thanks for replying!
This still gives the wrong answer, I'd assume this should give the correct one so it may be down to my data model then? I've tried everything and still can't manage to catch it.
Here is the relationship below...
And here are the tables...
Nav_Sales Line:
No_Production GroupAverage Selling PriceProduct NameDocument No_Outstanding Quantity
ABC | Lego | 1 | Blue | SO1234 | 33 |
ABC | Lego | 2 | Green | SO1235 | 44 |
ABC | Lego | 3 | Gold | SO1236 | 55 |
ABC | Lego | 4 | Black | SO1237 | 66 |
ABC | Lego | 5 | Silver | SO1238 | 77 |
JJJ | Cars | 1 | Red | SO1239 | 22 |
JJJ | Cars | 2 | Blue | SO1231 | 33 |
JJJ | Cars | 3 | Grey | SO1232 | 11 |
Nav_Item:
No_Production GroupAverage Selling PriceProduct Name
ABC | Lego | 1 | Spiderman |
JJJ | Cars | 2 | Optimus Prime |
Nav_Item Ledger Entry
Item NoQuantity
ABC | 2 |
ABC | 3 |
ABC | 6 |
JJJ | 7 |
JJJ | 2 |
JJJ | 3 |
Measures I have used so far...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
21 | |
14 | |
14 | |
13 | |
13 |