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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
KimmoS
New Member

How to build a search from a longer string?

Hello!

I have a large amount of rows containing this kind of five char substrings and I would like to create a text search in a visualisation to search for example all rows (row_id) containing for example string WX000. 
The number of rows is 3M so I would need a text box where a user could type a substring(s), he/she is interested in.


Is it possible to build a search like that?

 

KimmoS_0-1703688513976.png

With Regards,
Kimmo Sivonen

2 ACCEPTED SOLUTIONS
Ahmedx
Super User
Super User

Please try the visual called "Text Filter".

vstephenmsft_0-1675928449275.png

View solution in original post

speedramps
Super User
Super User

You can do it by downloading a Text search slicer. Learn how here

https://appsource.microsoft.com/en-us/product/power-bi-visuals/databrotherssro1596013704866.dbi_text...

 

However, I suspect each of your records has comma delimited tags?

 

For example, with a Product name the and Tags

TV, speaker, screen, aerial, remote

Radio, aerial, speaker, LCD display

Phone, aerial, speaker, screen

 

 

It is best practice to use Power Query to parse these to a 2-column table  with Product  and one Tags

TV, speaker,

TV, screen,

  1. aerial

TV, remote

Radio, aerial

Radio, speaker

Radio, LCD display

 

Then just user a standard filer with the search option turned on.

See https://learn.microsoft.com/en-us/power-bi/guidance/import-modeling-data-reduction

 

This will not increase storage; it will actually reduce storage and improve performance because Power BI uses a columnar rather than a tabular database. Power  BI will process millions of rows with just 2 short columns much faster than searching for a string in long text. It is a concept that novices struggle to understand.

I am an unpaid volunteer help, please show your thanks by clicking thumbs up and accepts as solution.

View solution in original post

2 REPLIES 2
speedramps
Super User
Super User

You can do it by downloading a Text search slicer. Learn how here

https://appsource.microsoft.com/en-us/product/power-bi-visuals/databrotherssro1596013704866.dbi_text...

 

However, I suspect each of your records has comma delimited tags?

 

For example, with a Product name the and Tags

TV, speaker, screen, aerial, remote

Radio, aerial, speaker, LCD display

Phone, aerial, speaker, screen

 

 

It is best practice to use Power Query to parse these to a 2-column table  with Product  and one Tags

TV, speaker,

TV, screen,

  1. aerial

TV, remote

Radio, aerial

Radio, speaker

Radio, LCD display

 

Then just user a standard filer with the search option turned on.

See https://learn.microsoft.com/en-us/power-bi/guidance/import-modeling-data-reduction

 

This will not increase storage; it will actually reduce storage and improve performance because Power BI uses a columnar rather than a tabular database. Power  BI will process millions of rows with just 2 short columns much faster than searching for a string in long text. It is a concept that novices struggle to understand.

I am an unpaid volunteer help, please show your thanks by clicking thumbs up and accepts as solution.

Ahmedx
Super User
Super User

Please try the visual called "Text Filter".

vstephenmsft_0-1675928449275.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.