March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all
I am trying do something simple.
I have a table with a quantity and I want to multiply it by value per unit to get a total value.
I am trying to pull that value into the table using Lookupvalue
Solved! Go to Solution.
@Fergal2 ,
Try using below measure
Salesprice = LOOKUPVALUE('Sales Price Per Unit'[$ Sales Price Per Unit], 'Sales Price Per Unit'[ProductId], [ProductId])
TotalValue = [Quantity] * Salesprice
Proud to be a Super User! |
|
I fixed the table so the column was no longer a text and is now a number and it worked. Thanks again for your help and the Measure
@Fergal2 ,
Try using below measure
Salesprice = LOOKUPVALUE('Sales Price Per Unit'[$ Sales Price Per Unit], 'Sales Price Per Unit'[ProductId], [ProductId])
TotalValue = [Quantity] * Salesprice
Proud to be a Super User! |
|
I get a similar error
Is it because its text in this table?
Do I need to reimport the table and ensure its a number?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |