Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tormi
Helper I
Helper I

Vertical line for todays date in Line and Clustered Column Chart

Hi all.

 

I have tried to read up on this, and I find many similar questions, and it seems people are getting it to work.


I would like to visualize today's date on my chart:

image.png

I have made a measure to give me the today's date with: 

TodaysDate = TODAY()
 
I have switched the visualization to LINE CHART but after choosing the "TodaysDate" measure the field "What field should we base this on?" turns blank:
image.png
I change my "MonthInCalender" to for instance "YEAR" and I do get the: "X-axis Constant Line" option.
 
Anybody got an idea for what I do wrong?

Thanks for any help.

 

5 REPLIES 5
millwardt
Helper I
Helper I

Did you find a solution to this - I'm also having the same issue where the field stays blank after choosing the 'TodaysDate' field

Nah, I really did not. I ended up with adding a graphical line that I have to move manually. Not really a solution but I moved on to other more important stuff. But would have been cool to have that functionality

 

tormi
Helper I
Helper I

Could this have anything with how the dates are formatted? If so can anybody help me understand what kind of format it should have?

Anonymous
Not applicable

Hi @tormi ,

 

You can add the line here:

vcgaomsft_1-1672969270016.png

vcgaomsft_0-1672969174758.png

vcgaomsft_2-1672969317044.png

 

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 in the Power BI Forum

Thanks for trying.

 

I do excactly what you show in your images, but in my result when I choose the field value in thee "FX" setting, the field just stays blank.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.