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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
phuocnguyen
Frequent Visitor

Create dynamic table based on text filter values

Hi guys, i need felp for this:

As you can see I have a TEXT FILTER and TABLE displayed below:

phuocnguyen_0-1641787209082.png

What I need here is to hide all the values in the table as the first sight, user can only see the values by typing what they need in the search box).

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @phuocnguyen ,

 

You can try below steps:-

 

1. Create a seperate table with below code:-

 

 

Table = DISTINCT(Sheet1[OrigSalesId])

 

 

2. Use newly created table column in the search text visual.

3. Now Create a measure with below code and use it as filter on your table visual:-

 

 

_filter =
IF (
    MAX ( Sheet1[OrigSalesId] ) = SELECTEDVALUE ( 'Table'[OrigSalesId] ),
    1,
    0
)

 

 

 

Below is your file for your reference:-

 

 https://file.io/hLllhowC6hjc

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

8 REPLIES 8
Samarth_18
Community Champion
Community Champion

Hi @phuocnguyen ,

 

You can try below steps:-

 

1. Create a seperate table with below code:-

 

 

Table = DISTINCT(Sheet1[OrigSalesId])

 

 

2. Use newly created table column in the search text visual.

3. Now Create a measure with below code and use it as filter on your table visual:-

 

 

_filter =
IF (
    MAX ( Sheet1[OrigSalesId] ) = SELECTEDVALUE ( 'Table'[OrigSalesId] ),
    1,
    0
)

 

 

 

Below is your file for your reference:-

 

 https://file.io/hLllhowC6hjc

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Thank you, this work well for me.

Hi @Samarth_18 ,

Thank you for your instruction, but the file has been deleted, could you check it again?

@phuocnguyen ,Please check your Private message. I have sent you updated url.

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

VahidDM
Super User
Super User

Hi @phuocnguyen 

 

did you add the OrigsalesId column to the field of Text filter visual.

VahidDM_0-1641787659411.png

 

 

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Dear @VahidDM ,

Yes it is

phuocnguyen_0-1641795797680.png

 

Can you share your PBIX file?

 


Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.