Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
akhassim
New Member

undefined

I have a line and column clustered column chart. In my x axis is (MMM yyyy). In my column y axis is Planned value and actual cost. In my line y axis is Earned value. The ACTUAL cost data needs to stop at the same date as the last Earned Value line - can this be done?

 

 

 

akhassim_0-1696602499733.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@akhassim Your datamodel need to contains a Date field that is used as the X-axis, and that it is properly sorted in ascending order. And this date filed should be common to both the Earned value and Actual cost. 

 

To calculate a flag that determines whether to show the Actual cost data, you need to create calculated column in your data model. This column will be used as a filter in your visuals.

 

 

ShowActualCost =
IF (
[Date] <= MAX ( 'YourTable'[Date] ),
"Show",
"Hide"
)

 

Create your line and clustered column chart as you said, with MMM yyyy on the X-axis and add planned Value and Earned value to the Clustered column Y-axis and add Actual cost to the same clustered column y- axis.

 

 

By using showactualcost calculated column as a filter, you will control visibility of the Actual cost data based on the selected date. It will stop at the same date as the last Earned Value line.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@akhassim Your datamodel need to contains a Date field that is used as the X-axis, and that it is properly sorted in ascending order. And this date filed should be common to both the Earned value and Actual cost. 

 

To calculate a flag that determines whether to show the Actual cost data, you need to create calculated column in your data model. This column will be used as a filter in your visuals.

 

 

ShowActualCost =
IF (
[Date] <= MAX ( 'YourTable'[Date] ),
"Show",
"Hide"
)

 

Create your line and clustered column chart as you said, with MMM yyyy on the X-axis and add planned Value and Earned value to the Clustered column Y-axis and add Actual cost to the same clustered column y- axis.

 

 

By using showactualcost calculated column as a filter, you will control visibility of the Actual cost data based on the selected date. It will stop at the same date as the last Earned Value line.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors