Power BI: add a current date line in a chart
When I use a date chart, sometimes it is quite useful to add a current line to show in the chart, the current date. To do it, the only condition is that the chart in the “x-axis” should be “continuous” and not “categorical”:
This is my line chart but I can use a clustered one or else, the process is the same:
First I will create a simple measure to get the current day:
Selecting my chart, I will click on the magnifying glass when inside the “x-axis constant line”, click on “add line”:
Click on the “fx” icon:
In the “what field should we base this on” field, select the measure:
And here, it is my current date line:
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...
-
Refresh Power BI
From the Power BI Service, I can set refresh but, for instance, there is no option to do it monthly or each time a change is made...
-
Power BI alerts to be sent by email from an excel file based on condition
I will explain how to send a list of emails from an excel file after creating alerts...






