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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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 Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors