The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
-I m importing this data in excel.
-after unpivoting columns other than first column . I'm getting this data in power Bi.
-to calculate commulative of planned and earned values over time. I'm using this formula to create measure.
" Cumulative Total =
CALCULATE (
SUM('scurve'[Cost]),
FILTER (
ALL( 'scurve'[Date] ),
'scurve'[Date] <= MAX ( 'scurve'[Date] )
))
"
-Which calculates commulative for Planned and earned costs separately in same column.
-the issue is that when I add these fields in chart to show what I want. It doesn't show me accurate commulative lines in chart.
- I want 2 lines showing commulative of planned and earned values here as I posted photo in the beginning of excel chart.
Solved! Go to Solution.
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
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
Thanks for replying but this didnt solve the problem. I'm getting above posted results. I've give the link to excel file & Pbi file as well.
Sorry. It worked when i removed heirarchies from date field. Would aapreciate if you could explain why this doenst work when date is in the form of heirarchies.