Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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 April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |