Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Reference current row in a measure

Dear community,   I am more and more getting desparate with the following issue and therefore now turning to you. Until recently I was an Excel power user, but now turned towards PowerBi, which I a...
  • amitchandak's avatar
    5 years ago

    Anonymous , try a new measure like

    calculate(sum(Table[Values to sum]), filter(allselected(Table), Table[Values to sum] >=max(table[Values to sum])))

     

    or new column like

    sumx(filter(Table,Table[Values to sum] >=earlier(table[Values to sum])),[Values to sum])