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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
v-stephen-msft
Community Support
Community Support

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
v-stephen-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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