Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Accumulative Value in Line Chart

Hello there,   First of all, excuse me and my low skills on DAX. I have this "Earnings" column, and I need a Line chart where it shows an Accumulative version during time with the legend of the sh...
  • amitchandak's avatar
    4 years ago

    Anonymous , Ideal is datetime column and cumulative like

     

    sumx(filter(allselected(Table), Table[Datetime] <= Max(Table[Datetime])), Table[Earning])

     

    or

    sumx(filter(allselected(Table), Table[Datetime] <= Max(Table[Datetime]) && Table[ID] = max(Table[ID]) ) , Table[Earning])