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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to multiply Measure with Fixed value from different table

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.... 

 

QuestionCommunity2.PNG


QuestionCommunity.PNG

 

Does anyone has a solution for this issue?

 

Tyson.

4 REPLIES 4
Anonymous
Not applicable

@Anonymous 
What is the relationship between the 2 tables, connect by which field? Is it possible to share the sample pbix.

 

Paul

Anonymous
Not applicable

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.Naamloos.png

lkalawski
Super User
Super User

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! 😀

Anonymous
Not applicable

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.

QuestionCommunity2.PNG

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors