Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Basic Beginners Question. Getting a value from another table into a table

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 Lookup...
  • bhanu_gautam's avatar
    2 years ago

    Anonymous ,

     

    Try using below measure

     

    Salesprice = LOOKUPVALUE('Sales Price Per Unit'[$ Sales Price Per Unit], 'Sales Price Per Unit'[ProductId], [ProductId])


    TotalValue = [Quantity] * Salesprice