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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
b_phippy
Regular Visitor

Line Chart Tooltip - X Axis Label

Hello,

 

I have a line chart that shows averages for 2 groups, the X-axis has three levels: Month, Week, and Date. (Figure 1)  When you drill down to the next levels of the hierarchy, the tooltip doesn't show the X-axis label.  This gets a bit confusing when looking at the week and date displays (Figure 2).  I'd like to add the X-axis label to the tooltip (similar to the column chart tooltip) so it changes based on the level you are viewing (Figure 3). I've tried creating a custom tooltip, but it shows all three levels at all times (Month, Week, Date).  Is there any way to add the X-axis label to the tooltip?

 

Figure 1:

b_phippy_0-1664987981021.png

 

Figure 2:

b_phippy_1-1664988934861.png

 

Figure 3:

b_phippy_2-1664989507040.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @b_phippy,

You can try to create a custom report tooltip page with visuals and use it as a tooltip on your chart. 

Create report tooltip pages in Power BI - Power BI | Microsoft Learn

To show the different data levels, you can add a formula with if statements and filters to check the current row context level.

Clever Hierarchy Handling in DAX - SQLBI

Row Context and Filter Context in DAX - SQLBI

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @b_phippy,

You can try to create a custom report tooltip page with visuals and use it as a tooltip on your chart. 

Create report tooltip pages in Power BI - Power BI | Microsoft Learn

To show the different data levels, you can add a formula with if statements and filters to check the current row context level.

Clever Hierarchy Handling in DAX - SQLBI

Row Context and Filter Context in DAX - SQLBI

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi Xiaoxin Sheng,

You suggested for creating a custom tooltip, but what if the requirement is only for "enabling an option to show X-axis label name on tooltip." Can you suggest how do we achive this instead of creating a custom tooltip which would be a complete different method.

 

Regards,

Haveesh  

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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