Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, I am using the text filter visual. Is it possible to count how many times the text typed into the search bar appears? E.g. If I enter"red" into the search bar in this case the output would be 2...
| blue red yellow green |
| blue yellow |
| orange |
| purple red |
Solved! Go to Solution.
Hi @badger123 ,
Based on my test, you could refer to below formula:
a = CALCULATE(COUNTROWS('Table1'),FILTER(ALL(Table1),SEARCH("red",CALCULATE(MAX('Table1'[Name])),,BLANK())<>BLANK()))
Result:
You could download the pbix file to have a view.
Regards,
Daniel He
Hi @badger123 ,
Based on my test, you could refer to below formula:
a = CALCULATE(COUNTROWS('Table1'),FILTER(ALL(Table1),SEARCH("red",CALCULATE(MAX('Table1'[Name])),,BLANK())<>BLANK()))
Result:
You could download the pbix file to have a view.
Regards,
Daniel He
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 65 | |
| 50 | |
| 45 |