Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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?
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
87 | |
84 | |
68 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
71 | |
67 |