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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
pstp
Frequent Visitor

Tooltip with most recent date

I built a YOY line graph with three years of data on it. I have data points for almost every day. The chart is using a calendar week number field from a calendar/date dimension table as its x-axis. I'm having trouble using any date field as the tooltip though. The goal is that when hovering over a set of points, it shows the most recent date in that area instead of just the week number (I've done this with other charts, but data is only from one day a week in those). Any suggestions on how to achieve what I'm looking to do? Image is included. tooltip_chart.jpg

1 ACCEPTED SOLUTION

Hi @pstp ,

create a measure like

last date = max('date'[date])

add the measure to the tooltips area

hope that helps



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


View solution in original post

4 REPLIES 4
Fowmy
Super User
Super User

@pstp 

You drag and drop the Date field from the calendar table to the Tooltips area

Fowmy_0-1627584994645.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

pstp
Frequent Visitor

@Fowmy That does not work. It will not allow me to drop the field there.

Hi @pstp ,

create a measure like

last date = max('date'[date])

add the measure to the tooltips area

hope that helps



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


@richbenmintz Is there a way to prevent it showing on every year. I'm using Year as the Legend field and it shows the date for each you. Can I get it to only show for the most recent year/date? 

pstp_0-1643136280398.png

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.