Forum Discussion

GeorgeG's avatar
GeorgeG
Icon for Helper I rankHelper I
5 years ago
Solved

Lookup a non blank value if two values are the same and return it.

Hi, I am looking to create the final column in the table below in PowerBI (replicated in excel for an example).   The idea is to use the Custom column instead of the [Description] column...
  • amitchandak's avatar
    5 years ago

    GeorgeG , A new column

    New column =

    var _1 = maxx(filter(table, [itemname] = earlier([itemname]) && [description] <> blank()), [description] )

    return

    if(isblank( [description] ) , _1, [description] )