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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

How can I build a Line Chart based on Planned an Actual dates?

Hi All!

 

I have table with 8 columns in it which contains an information about action items and their statuses in percentage.

 

How can I build a Line Chart visual to see planned dates vs actual dates?

 

For example, thats the data that I have to begin with:

DepAI#AI NamePlanned StartActual StartPlanned EndActual EndStatus
SalesAI1A5/1/20245/1/20247/7/20247/7/2024100%
TrainingAI2B3/1/20243/1/202412/31/20243/31/202416,50%
ProcurementAI3C8/1/2024 9/30/2024 0%
TrainingAI4D9/21/2024 10/21/2024 0%
HRAI5F7/28/2024 8/31/2024 0%
HRAI6G7/22/2024 11/30/2024 25%
4 REPLIES 4
bhanu_gautam
Super User
Super User

@Anonymous , You can follow below steps

 

Click on the Line chart icon in the Visualizations pane.
Configure the Line Chart:

Drag the Dep column to the Legend field to differentiate lines by department.
Drag the Planned Start and Actual Start columns to the X-axis field. This will create two separate lines for planned and actual start dates.
Drag the Planned End and Actual End columns to the X-axis field as well. This will add lines for planned and actual end dates.
Drag the AI Name column to the Values field to display the action item names.
Format the Line Chart:

Click on the Format pane (paint roller icon) to customize the appearance of your chart.
Under Data colors, you can assign different colors to the planned and actual dates for better visualization.
Adjust the X-axis and Y-axis settings to ensure the dates are displayed correctly.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Anonymous
Not applicable

Dear @bhanu_gautam ,

 

It doesn't work... All I get is two straight lines when I'd like to see rundown curve...

 SaltaSultan_0-1722842591158.png

 

When I've added some quick measures to count actual and planned (I'm new user of DAX and probably doing something wrong) it shows more likable result, but still not rundown

 

SaltaSultan_1-1722843061357.png

 

 

Anonymous
Not applicable

Hi @Anonymous ,

 

Explain the reasons for choosing a line chart. Would using a matrix to model a Gantt chart be better for presenting data?

vcgaomsft_0-1722927568270.png

Create A Gantt Chart In Power BI With A Matrix Visual - YouTube

 

Best Regards,
Gao

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!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Anonymous
Not applicable

Hi @Anonymous ,

 

I'm not choosing line chart myself, it was requested from dashboard owner department) 

 

I've suggested different approach to this data, cause line chart is not suitable for it.

 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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