Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The X-axis is the date and Y-axis is the Item#.
| Item # | Target | L value | |
| AA | 87.54 | 85 | |
| AA | 87.54 | 75 | |
| AA | 87.54 | 90 | |
| AA | 87.54 | 87 | |
| BB | 75 | 65 | |
| BB | 75 | 80 | |
| BB | 75 | 70 | |
Solved! Go to Solution.
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.
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
But will the Y-axis change dynamically with respect to the target value?
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.
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
Yes, this works, thank you.
Hi @Anonymous ,
You can create three Y-axis constant lines here.
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!