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
juanrivera63
New Member

Calendar Year is a text column but I need to filter for dates greater than 2011

I have a report in paginated report builder with 3 columns

I want to only show data for years >= 2011

But the column Calendar YEar is text, how can I do this in query designer ? 

 

 

 

1 REPLY 1
Medina
Resolver I
Resolver I

Hi juanrivera63

 

You can do the following:

  1. Right-click on the dataset you want to apply the filter,
  2. Select Filters
    1. Enter the following: CInt(Year)
    2. Change the data type from Text to Integer
  3. Operator >=
  4. Value 2011

Dataset Properties.png

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.