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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mwackers
New Member

Text Filter- Need no items shown if blank and only allow exact text to result in showing a item.

I am building a Power BI report to allow people to enter a Unique Case ID and only return the information for that case.

 

The Unique Case ID in contained in the Title field.

 

I want the text search bar to only return a single case if it matches the Unique Case ID exactly.

 

Here is my filter to see if a search has been performed.

mwackers_1-1704388116060.png

 

If no search, the search bar is blank it returns a zero., But the filter is not working and shows all the cases.

mwackers_7-1704388760715.png

 

If there is part of a Unique Case ID it should, show a case, like the example below

mwackers_5-1704388723577.png

 

and it should not show multiple results.

mwackers_6-1704388741922.png

 

 

Only the following should return a result. A complete Unique Case ID that is an exact match.

mwackers_4-1704388644642.png

 

 

Any help would be appreciated.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @mwackers 

May I ask if this is the expected output you are looking for? Based on your description, I have found a visual named Text Filter that accomplishes what you are looking for, note that this visual only supports filtering on a single column of values. Following picture shows the effect of the display.

vyaningymsft_4-1704971333992.png

 

vyaningymsft_1-1704971238642.png

 

 

vyaningymsft_2-1704971238643.png

 



Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi, @mwackers 

May I ask if this is the expected output you are looking for? Based on your description, I have found a visual named Text Filter that accomplishes what you are looking for, note that this visual only supports filtering on a single column of values. Following picture shows the effect of the display.

vyaningymsft_4-1704971333992.png

 

vyaningymsft_1-1704971238642.png

 

 

vyaningymsft_2-1704971238643.png

 



Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Dangar332
Super User
Super User

hi, @mwackers 

try to use has HASONEFILTER() it check column is filterd and only one item selected or filterd

filter check =
hasonefilter(tablename[columnname])

No luck yet. Here is what I did.

mwackers_1-1704393358238.png

 

mwackers_0-1704393330900.png

 

hi, @mwackers 

 

you didn't select any case id thats why it retun false if you select only and only one id then it retun true . it's boolean expresion

How can the results show no rows if it is false?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors