cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AbhishekKashyap Frequent Visitor
Frequent Visitor

Number filters for type "text"

Hey. So bascially, I have a column which has numbers, but the datatype of it is string. In the databse, I am used to using "greater than" ,"less than" operators on them, since it evaluates alphanumerically. However, In power BI, I haven't found a filter to resolve this problem.

image.pngText Filtersimage.pngNumber Filters

As you can see from the pictures, I want to apply the number filters onto a datatype string.
Note: Even though the column's datatype is text, it has only numbers. However, I would like to continue using it's datatype as text, if possible.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Number filters for type "text"

Hi @AbhishekKashyap 

As tested, when this column is of Text type, it doesn't support a number filter.

You could change the data type in Power BI (Modeling-data type).

What purpose would you like to continue using it's datatype as text?

If possible, you could let me know or post a new one to get help.

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
AbhishekKashyap Frequent Visitor
Frequent Visitor

Re: Number filters for type "text"

Thanks for the reply Maggie.

I used the column of numbers as text elsewhere and applied functionalities like append etc. So, I would like to retain it's datatype. 

Is there no workaround this problem? At this point, although I don't prefer them since I am new to PBI, any solution with M or DAX would be sufficient too. 

Community Support Team
Community Support Team

Re: Number filters for type "text"

Hi @AbhishekKashyap 

Based on my experience, "append" or some other functions don't need the column to be of Text type, could you show an example of your data which need to transform?

Additionally, refernces are here are regarding "append" or some other functions.

Common query tasks in Power BI Desktop

Append vs. Merge in Power BI and Power Query

 

Best Regards

Maggie

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)