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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.