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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Year showing as serial numbers in my table vsisual

Hi,

 

I have a table visual which has the following column Year, Month, Total Orders and Prev Month Orders, the issue here is that Year is showing up as a serial number instead of 2021, 2020 etc.  My Year splicer on the page has 2021 selected.

 

In my Date table Year is set as a Whole number data type and Format is set as Whole number. I tried changed Data Type to Text and an error came up on my visual.

 

How do I get the Year in my table to show 2021 and not the numbers in my example below.

 

YearMonthTotal OrdersPrev Month Orders
62651Jan33883223
56588Feb31763388
62651Mar35523176
60630Apr30823552
62651May32273082
60630Jun33253227
62651Jul35033325

 

Any help on this is much appreciated!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Anonymous I have a feeling that your year is set to numeric and you have an aggregation of SUM and that is the issue maybe? Try setting it to "Do not summarize".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
TheoC
Super User
Super User

Hi @Anonymous 

 

How does you Year appear in your Date table?

 

I recommend creating a new Calculated Colum using the below to see if a new column results in the same outcome:

 

New Column = VALUE ( FORMAT ( [Date]; "YYYY" ) )

 

or 

 

New Column = YEAR ( Date[Date] )

 

This should return just the year as a value. 

 

Let me know what happens!

 

Theo 😃

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Greg_Deckler
Community Champion
Community Champion

@Anonymous I have a feeling that your year is set to numeric and you have an aggregation of SUM and that is the issue maybe? Try setting it to "Do not summarize".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler ,

 

Thanks for this, my Year column is now showing 2021.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors