Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I've made the following table containing two items from the "Master" data sheet with product facts (Product Gegevens); ProductID and PurchasePrice. Also I've created a Running Total Measure "Totaal Voorraad". I'd like to multiple this measure (middle column) with the right colum (purchase price). The following formula won't be accepted, hence I've tried to use RELATED and RELATEDTABLE in order to make it work. This didn't do the trick unfortunately....
Does anyone has a solution for this issue?
Tyson.
@Anonymous
What is the relationship between the 2 tables, connect by which field? Is it possible to share the sample pbix.
Paul
Hi @Anonymous / Paul,
Thanks for your question. I'm not able to share a pbix file with you. However, I can send you this screenshot of the corresponding model. They're connected via the ProductID.
Hi @Anonymous
Measure =
[Totaal Voorraadd] * SELECTEDVALUE ( 'Product Sales'[Purchase Price] )
You must use the SELECTEDVALUE or MAX function to determine which row (which value) you want to multiply.
_______________
If I helped, please accept the solution and give kudos! 😀
Hi Ikalawski,
Thanks for your feedback, but it doesn't work yet. Both the table containing al ProductID's and the table with one ProductID sorted by date does not show a total stock value correctly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 44 |