cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lavina03 Regular Visitor
Regular Visitor

shows wrong year

Hi,

 

Please help me figure out why my year is shown wrong. I have created date Hierarchy and when I go to drill down by year it shows 2000 and 2500. I have attached screenshot

 

http://screencast.com/t/61zIfa1nNE

2 REPLIES 2
Highlighted
Super User
Super User

Re: shows wrong year

You could try changing the data type of your year column to text. 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Moderator v-sihou-msft
Moderator

Re: shows wrong year

Hi @lavina03,

 

Based on your screenshot, you build your date and import it into chart properly. Please check your if it aggreate all data on Year 2000 only. And if you use numeric data type for Year, please select "Continuous" type in format for X-axis so that it will not use a big interval on X-axis. Please refer to link below:

 

Tutorial: Customize X-axis and Y-axis properties

 

Also I suggest you use text type for Year name column, it will have all years appear on axis. See my sample below:

 

Capture.PNG

 

Regards,

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 25 members 915 guests
Please welcome our newest community members: