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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
ksheth
Helper I
Helper I

Need time series showing only Year on axis, but counts by month and year when hovering over visual?

Hello,

 

I am trying to create a time series visual with counts over time, where the x-axis only shows the Year but when you hover over the visual the pop-up shows the Month and Year. I have 2 different data sets I am using, and while I was able to accomplish this for one of the daa sets, replicating the same process for the second data set does not seem to be working. I understand I likely have to use the Date Hierachy within the visual, and I have followed the same process for the time series visual for both data sets yet I am seeing different results.

 

Both of the data sets have Date columns that include the day of week, day, month, and year. See snippets of the Date column and format settings for each data set below, for reference:

 

Data set #1:

ksheth_3-1742245389418.png

 

Data set #2:

ksheth_4-1742245692779.png

 

I also created a calculated column within each data set called "MonthYear" that gives me the Month and Year, using this formula:

 

 

MonthYear = format('DATA SET'[DATE],"mm-yyyy")

 

 

 

The calculated MonthYear columns in both data sets also have the same format settings as their original Date columns (as seen in snippets above).

This is what I want:

ksheth_0-1742244884640.png

And this is how I made this visual:

ksheth_5-1742246007544.png

As you can see, this visual only shows the Year on the x-axis, but shows but Year and Month when I hover over it.

 

This is the visual that is giving me a problem:

ksheth_8-1742246171104.png

And this is how I made this visual:

ksheth_7-1742246127511.png

 

As you can see, the second visual does show me both Month and Year when I hover over the visual, but the x-axis also is broken down by Year and Month instead of Year alone. If I remove "Month" from the MonthYear date hierarchy, I face the following issue where the visual only shows the Year when I hover over it (see below snippet).

ksheth_9-1742246426983.png

 

How can I fix this so I can consistently display my visual as intended? Thank you!!

1 ACCEPTED SOLUTION
Tutu_in_YYC
Super User
Super User

Try changing the x-axis setting to Continuous

Tutu_in_YYC_0-1742247045754.png

 

View solution in original post

3 REPLIES 3
Tutu_in_YYC
Super User
Super User

Try changing the x-axis setting to Continuous

Tutu_in_YYC_0-1742247045754.png

 

Yes, this solved my issue! I can't believe it was so simple. Thank you very much!

welcome!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.