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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Helper II
Helper II

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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