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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.