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
emma313823
Helper IV
Helper IV

How to get a year to show properly

Hi All

 

I can't figure out what I'm doing wrong on this visual.

 

Backstory:

I had to excel worksheets, which I needed to pull into access an combine due to exceeding excel row limitations.  One contained all of our 2014 sales and the other contains all of 2015 and 2016 data.  After importing the worksheets into access and combining into a new table, I connected that table to BI Desktop.  Typically, if you hover over a datapoint on the visual it would show you that value - in this case it should show you each month for the corresponding year.  The visual shows each year, as does the legend, however if when you hover over a month it only shows me the datapoints for 2015 and 2016 not 2014, yet the 2014 line is there.  Can anyone offer any guidance as to why and how to fix this so when you hover it shows the datapoint for 2014?

 

BI Screenshot.png

 

Emma

Emma
2 REPLIES 2
v-sihou-msft
Employee
Employee

@emma313823

 

@PavelR is correct. If there's no fact data on "9" for year 2014, it will be no data point even it already generated a contiguous line. This is exepected behavior. The tooltip will not generate date values automatically depending on line trend. So you have to add the fact data in your source worksheet.

 

Regards,

PavelR
Solution Specialist
Solution Specialist

Hi @emma313823

 

it is just because the fact, that you don't have any data for 9/2014. The line is shown because you have X axis type as continuos, so it connects your data points on visual even though that between this points is no data for some month. When you switch X axis type to categorical, then you will see and get it.

 

Xaxis.PNG

 

Regards.

Pavel

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.