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!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |