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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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