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
LarsPW
Frequent Visitor

Filtering table doesn't work

LarsPW_0-1668436564244.png

I have a table with years which I want to be able so sort year by year. But as you see when I trying to add filters to the table, One year apperas sevral times in the filter list, and the list ends att year 2001 even though the years in the table exceeds until 2022, 

 

Does anyone have a clue why it does like this?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @LarsPW ,

 

It's recommended that you change the data type of the year column to whole number type first, and then sort it.

vstephenmsft_0-1668490943901.png

Data types in Power BI Desktop - Power BI | Microsoft Learn

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @LarsPW ,

 

It's recommended that you change the data type of the year column to whole number type first, and then sort it.

vstephenmsft_0-1668490943901.png

Data types in Power BI Desktop - Power BI | Microsoft Learn

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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