Forum Discussion

2 Replies

  • bansikpopat 
    >> First you need both table in uniq id/index column then you can use LOOKUPVALUE and other Formula .
    for i.g.

    New Column UnitPrice =
    var ids = 'Table A'[Index]
    VAR Result = CALCULATE(MAX(Table B[UnitPrice]),Table B[Index]=ids)
    Return
    Result
    • bansikpopat's avatar
      bansikpopat
      Frequent Visitor

      Material id is the unique id between the tables. Can I not do anything with that? 

      Also,  I tried to understand above solution but I was not able to get it. I looked up index columns on internet but it did not make much sense. 

      New to writing queries with powerBI.