Forum Discussion
How to build a search from a longer string?
- 2 years ago
Please try the visual called "Text Filter".
- 2 years ago
You can do it by downloading a Text search slicer. Learn how here
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,
- 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.
You can do it by downloading a Text search slicer. Learn how here
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,
- 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.