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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors