Forum Discussion

yaseenhamid's avatar
yaseenhamid
Frequent Visitor
3 years ago
Solved

Need help Creating chart with 2 commulative lines in power Bi

-I am trying to create this in power Bi.  -I m importing this data in excel.  -after unpivoting columns other than first column . I'm getting this data in power Bi. -to calcula...
  • Arul's avatar
    3 years ago

    yaseenhamid ,

    use this measures,

     

    Cumulative Earned Value = 
    CALCULATE(
        SUM('Table'[Cost]),
        'Table'[Cost Type] = "Earned Value Cost",
        'Table'[Date]<=MAX('Table'[Date]))
    Cumulative Planned Value = 
    CALCULATE(
        SUM('Table'[Cost]),
        'Table'[Cost Type] = "Planned Value Cost",
        'Table'[Date]<=MAX('Table'[Date]))

     

    Thanks,

    Arul