Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Set value for all records with same ID based on column value

Dear Community,   I am trying to add new column. If product include "A" then all id can get same value Is it possible? Regards, Betty
  • amitchandak's avatar
    4 years ago

    Anonymous , A new column


    var _1 = countx(filter(Table, [order] = earlier([order]) && [product] = "A") , [Order])
    return
    if(isblank(_1), Blank() , "V")