Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi, is it possible to add a line to a chart based on a measure. I am hoping to acheive the equivalent of a constant line (vertical dashed line) which reflects the day in the month of today's date.
I have managed to add a pointer to the current chart but it''s not ideal as I was hoping for a constant vertical line (which shifts each day when report refreshed).
DAX code is here for the current day marker:
Current Day Marker = IF(MAX('FactsheetApproval'[DayOfMonth2]) = DAY(TODAY()), 3, 0)
I tried it via the X-axis constant line settings but the marker is stuck at zero when i do this:
Any thoughts? Thanks in advance.
Solved! Go to Solution.
Can you try DAY(TODAY()) in a measure in X-axis constant line settings?
Can you try DAY(TODAY()) in a measure in X-axis constant line settings?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
16 | |
10 | |
8 | |
8 | |
7 |