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
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.
Highlighted
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
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

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.

Top Ideas
Users Online
Currently online: 43 members 902 guests
Please welcome our newest community members: