Forum Discussion

Gareth_Hunt's avatar
Gareth_Hunt
Icon for Helper II rankHelper II
6 years ago
Solved

help with DAX

Hi Guys,   this may be on here twice thought I was signed in before posting but now cannot seethe original post so here goes   I would like to  do something that feels very simple but Im new to D...
  • amitchandak's avatar
    6 years ago

    Gareth_Hunt , Create a new column like

    new column =
    var _salesm = maxx(filter(Table,table[Order] =earlier([Invoice])),[Salesman])
    return
    if([TYPE] ="IN",[Salesman],[_salesm])