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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Line Graph

Hello guys, I just wanted to know if we could build a dynamic line graph where for an input value you have an average, and min and max values set manually, and compare it with other data points around this graph. Below is an example of the graph. Thank you.

Screenshot (218).png

The X-axis is the date and Y-axis is the Item#.

 

Item #TargetL value 
AA87.54  85 
AA87.5475 
AA87.5490 
AA87.5487 
BB7565 
BB7580 
BB7570 
    
    
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Yes, first create a bar chart (make sure there is nothing on the legend), then apply conditional formatting, and finally convert to a line chart.

vcgaomsft_0-1655876084042.png

vcgaomsft_1-1655876128682.png

vcgaomsft_2-1655876161327.png

Attached PBIX file for reference.

 

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

But will the Y-axis change dynamically with respect to the target value?

 

Anonymous
Not applicable

Hi @Anonymous ,

 

Yes, first create a bar chart (make sure there is nothing on the legend), then apply conditional formatting, and finally convert to a line chart.

vcgaomsft_0-1655876084042.png

vcgaomsft_1-1655876128682.png

vcgaomsft_2-1655876161327.png

Attached PBIX file for reference.

 

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

Anonymous
Not applicable

Yes, this works, thank you.

Anonymous
Not applicable

Hi @Anonymous ,

 

You can create three Y-axis constant lines here.

vcgaomsft_0-1655695070652.png

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors