Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.
@Anonymous ,
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
@Anonymous ,
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?
User | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
41 |
User | Count |
---|---|
108 | |
52 | |
50 | |
40 | |
40 |