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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

How to make lifetime Year Start and lifetime Forecast Year to Series in X- axis in a line visual

Hello,
I struggle with a dataset as shown below.
Activity table: 

ActivityUnitFYPeriodOutcomeLifetime_Year_StartedTotal LifeTimeLifetime_%_CompleteLifetime_Year_ForecastCompany
FuelteUFY23/24 P06P1 fuel retrieved201630024%2039Sema
FuelteUFY23/24 P07P1 fuel retrieved201625924%2039Sema
FuelteUFY23/24 P05P1 fuel retrieved201625024%2039Sema
ARDteUFY23/24 P07P2 storage1983190660%2033Sema
ARDteUFY23/24 P06P2 storage1983192360%2033Sema
ARDteUFY23/24 P08P2 storage1983188061%2033Sema
ARDteUFY23/24 P09P2 storage1983184961%2033Sema
ARDteUFY23/24 P05P2 storage1983194959%2033Sema
ARDteUFY23/24 P10P2 storage1983182862%2033Sema
ARDteUFY23/24 P11P2 storage1983181362%2033Sema

 

This table has a relationship to the datetable on FYPeriod.
what i want to achieve is to visual Total lifetime against year in a line chart and I have Lifettime Year Started and Lifetime Year Forecast base on activity slicer selected
But i need to ensure the x- axis using the Lifettime Year Started and Lifetime Year Forecast.
for example, Activity called ARD has lifetime year start as 1983 and forecast year is 2033, hence, I want to create a line chart to go from 1983 down to current year to the forecast year.
how can I achieve this?

Thanks

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Please try:

 

Create a measure:

measure = SUM('Activity'[Total LifeTime])

 

Just put the year of the date table on the X-axis and the measure on the Y-axis.

 

If that doesn't solve it, could you please provide me with the pbix file and remember not to log into your own account when you upload it in Power BI Desktop.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Anonymous
Not applicable

creating measure of TotalLifetime didn't work.
The issue is how can I make the Lifetime Year Start and Lifetime Forecast as a series in X-axis. for P1 fuel retrieved

tek01_0-1719852902617.png

I don't know how to do that. And this applies to outcome column when selected as a slicer. I can't share pbix. but the data posted on the question is a replica sample

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.