Forum Discussion

almohalhel1408's avatar
almohalhel1408
Frequent Visitor
6 years ago
Solved

Delta Calculation for Duplicated row dates

hello every body ...   i have this table with duplicate rows for date column i want to calculate the Delta for "Deaths" only  ? like a Measure   plz help me guys   country   date              ...
  • amitchandak's avatar
    6 years ago

    almohalhel1408 ,

    You can try a new column like

    Diff = [values] - maxx(filter(Table,[country] =earlier([country]) && [status] =earlier([status]) && [date] =earlier([date]) -1),[Value])

     

    This will diff between same status