Forum Discussion

AutoKris's avatar
AutoKris
Frequent Visitor
4 years ago
Solved

Cumulative report using data items with two attributes (Planned vs Actual Date)

Hi All, Just starting with Power BI, took 15h courses, still hard for me to get around below problem. I have data table with a list of projects with attributes such as potential efficiency saving...
  • AutoKris's avatar
    4 years ago

    Hi All, thanks for your inputs.

    I actually resolved it using the Transformation process, creating two new tables for Planned and Actual dates, leaving only the values of Benefits and the last month date.

     

    Secondly to created a cumulated value I created new measures for both using the CALCULATE formula.

     

    Actual Efficiency (h) = CALCULATE (
    SUM ('Completed Efficiency'[Actual Closure Month]),
    FILTER (ALL ('Completed Efficiency'[ActualEndDate] ), 'Completed Efficiency'[ActualEndDate] <= MAX ( 'Completed Efficiency'[ActualEndDate])))