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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AndrewPF
Helper V
Helper V

change variable from text to numeric - visual filter no longer works

I have a basic bar chart with business name as X-axis and score as Y-axis. 

I have also applied some filters to restrict the data being displayed. 

One of these filters used a field of type text. 

However, when I changed the field to Int64.Type, the visual seemed to ignore the filter. 

I have tried reapplying the filter.  I have tried changing the filter from basic to advanced.  I cannot get it to work. 

Does anyone know what's happening?  This feels like a bug. 

I have the latest version of Power BI. 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @AndrewPF 
Text and numbers filters are behaving differently.
The text has functionalities as :

Ritaf1983_0-1694255373812.png

When at numbers you should use mathematical operators + logical and/or

Ritaf1983_1-1694255464449.png

Ritaf1983_2-1694255490374.png

So if you change the data type of your filter field you need to modify it according to its options.
For a more detailed explanation please attach a link to some dummy file.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @AndrewPF 
Text and numbers filters are behaving differently.
The text has functionalities as :

Ritaf1983_0-1694255373812.png

When at numbers you should use mathematical operators + logical and/or

Ritaf1983_1-1694255464449.png

Ritaf1983_2-1694255490374.png

So if you change the data type of your filter field you need to modify it according to its options.
For a more detailed explanation please attach a link to some dummy file.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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