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,
Is there a way you can add a X-Axis constant line that is based on TIME as well as date please? Date appears to be the only option, even though my data is includes timestamps.
I'm guessing if can't be achieved via the analytics pane then maybe using a measure/DAX?
I am looking to add X-Axis constant line that is based on single specific value that will move when i zoom in and out of a graph.
TIA
Solved! Go to Solution.
@FSD , I added a datetime field on X-axis , and added these two constant lines using fx
Measure 3 = date(2022,1,1) + time(15,20,0)
Measure 2 = date(2022,1,1) + time(14,20,0)
@FSD , I added a datetime field on X-axis , and added these two constant lines using fx
Measure 3 = date(2022,1,1) + time(15,20,0)
Measure 2 = date(2022,1,1) + time(14,20,0)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |