Forum Discussion

Ammii11's avatar
Ammii11
New Member
3 years ago
Solved

Cumulative progress calculation using discrete updates to progress

Hi, I am new to Power BI and do not have a particularly strong coding background. I am trying to display a project's progress (in terms of hours) over time based on earned value (in hours) for subm...
  • Ammii11's avatar
    Ammii11
    3 years ago

    For anyone out there interested, I ended up getting the result I was looking for using the following:

     

    measure = calculate(sumx(DISTINCT(table[document_number])),filter(allselected(table[document_received_date]),sheet[document_received_date]<=max(sheet[document_received_date])))

     

    Where document number is constructed such that future revisions have the same numbering and thus are not distinct.

     

    Note that for a given day the total will be shown but the cummulative sum avoids including the previous versions in the count.