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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Gurps
Frequent Visitor

How to create a search bar to populate an empty table

Hi, 

 

I have a table called "Customers". 

 

|Customer | Customer Code | Owner|

 

I would like to create a Power Bi Report where a user is able to type in either the name of the Customer or the name of the Owner into a search bar and have a list populated showing the "Owner" and "Customer" based on what has been typed/searched.

 

I would like the report to display only the search bar and the remainder of the page to be blank.   Once the user begins searching, I would like the user to then see a table populated below with the results.   The table should be blank whilst the search bar is empty. 

 

The methods I have tried so far are:

 

"Text Search Slicer" Visual with a "Card" Visual.   This only allows for one entry to show in the card.  

 

"Smart Filter by OKVIZ" this provides a list under the search bar but if I were to Type the letter "A" I would see all Accounts with the letter A anywhere in the name. 

 

When I have used the "Text Search Slicer" with a Table, the table remains populated with all Customers and Owners until a term has been searched and I need the table to remain blank until the term has been searched. 

 

If anyone can provide any help with this, that would be massively appriecated.

1 ACCEPTED SOLUTION
Gurps
Frequent Visitor

I have resolved this 😄  I used the measure: 

 

Measure = SELECTEDVALUE(Customers[Customer], "")
 
Then on the "Text Search Slicer" Visual I added the Customer column.  
 
This way when nothing was searched the default value on the table was blank and so the table remains empty. 

View solution in original post

1 REPLY 1
Gurps
Frequent Visitor

I have resolved this 😄  I used the measure: 

 

Measure = SELECTEDVALUE(Customers[Customer], "")
 
Then on the "Text Search Slicer" Visual I added the Customer column.  
 
This way when nothing was searched the default value on the table was blank and so the table remains empty. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.