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
I want to be able to automatically add vertical lines to my line chart. I have columns in my sql db which define the position of the vertical line on x-axis and columns that define its attributes (like name and name2). The name and name2 should be drawn next to the vertical line.
Example in pictrue attached.
Is this possible to do in powerBI?
Hi,
you can use X-axis constant line function in the Analytics panel of your oblject if it is present.
Then you can set a value or set a function in wich you can configure a Measure that calculate the value from your column of database.
If i resolve your problem please mark my answer as a solution to help the others.
Thank you
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |