Forum Discussion

JohannSteyn's avatar
JohannSteyn
Frequent Visitor
4 years ago
Solved

ALLEXCEPT with a range

Hi, I'm new here. I am trying to add a colum that will show the SUM of "amount to distribute" IF 1 - the "juristicentityid" is the same AND 2 - the "id" is equal to or larger than all of the other...
  • amitchandak's avatar
    4 years ago

    JohannSteyn , try a measure like

     

    Sumx(filter(Table, [juristicentityid] = earlier([juristicentityid]) && [id] >= earlier([id])) ,[amount to distribute])