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
Anonymous
Not applicable

Text filter for exact match only

I would like to use text filter visual to filter my data in table. The data of all row should not be visibile to all so we have created a activation code against each row. I would like my user to input activatin code into search box and if that code is exact match only in that case data in table or other visual should poplulate. But right now if i type in search box even a single charachter and press search (or enter); matching all result are shown. Which i dont want.

 

Is there any way we can control the minimum lenght of search word in this visual or any other visual?

Please see the attached image for the refrence.

PS: I have tried Role based(row level security), but that will increase a lot of cost. 

Text Filter Whole word.PNG

Thanks, in Advance

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Try to drag measure below to Visual level filters and set Show items when the value is not blank.

Measure =
CALCULATE (
    SELECTEDVALUE ( Table1[activation code] ),
    ALLSELECTED ( Table1[activation code] )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-chuncz-msft

This is not working. What i wanted is in (Step 1) when user type in search box, search should only work when minimum lenth of search box is eg. 4 character. if typed word less then 4 character then search should not be performed. So that result table will show only single value. Right now resutl table is showing 2 rows.  Culd you please check below screenshot? 

 

Text Filter whole word issue.png

Have you found a solution for this?

Anonymous
Not applicable

@sayli Nope. I shall use Row level security feature instead.

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.