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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Oketa_Emma
Frequent Visitor

smartfilterbySQLBi

Hellos

I am requesting for your assistance, I am using the SmartFilterBySQLBI in my desktop power Bi reporting Vitalization to help me search for names of members that participated in an event. I have a column, ("Team") with names of a Team of two members that participated in an event. E.g. Oketa Emma and Tutu Moses in many rows. But a member like Tutu Moses can also be with many other different members starting or ending with his name, e.g. Tutu Moses and Onen Geofrey..... Etc. I also created a column of unique names ("Names") of all the participants e.g. Tutu Moses....etc. in rows with a created relationship to the Team, Which i used in the SmartFilterBySQLBI visualization field. 

 

When I search and select Tutu Moses from the SmartFilterBySQLBI search box, I am only able to view results of Tutu Moses only when the Team starts with Tutu Moses but not When it ends with Tutu yet I am interested in all both starting and ending.

 

QN How can i make the SmartFilterBySQLBI search box display results of all the teams containing Tutu Moses?

 

Thank you

Oketa

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Oketa_Emma,

 

If I understand you correctly, you should be able to follow steps below to get your expected result.

 

I assume you have a table with "Team" column called "Table1", and a table with "Name" column called "Table2" like below.

 

t1.PNGt2.PNG

 

1. Remove the relationship between "Table1" and "Table2" if there is.

 

2. User the formula below to create a new measure.

Measure =
SUMX (
    Table2,
    FIND (
        FIRSTNONBLANK ( Table2[Name], 1 ),
        FIRSTNONBLANK ( Table1[Team], 1 ),
        ,
        0
    )
)

3. Use the measure as visual level filter on the visual that you want to display the "Team" column, and apply "is greater than 0" for the filter.

 

f1.PNG

 

4. Then you should be able to use the "Name" column in the SmartFilterBySQLBI visualization field to display results of all the teams containing Tutu Moses etc.

 

r1.PNG

Here is the sample pbix file for your reference. Smiley Happy

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Oketa_Emma,

 

If I understand you correctly, you should be able to follow steps below to get your expected result.

 

I assume you have a table with "Team" column called "Table1", and a table with "Name" column called "Table2" like below.

 

t1.PNGt2.PNG

 

1. Remove the relationship between "Table1" and "Table2" if there is.

 

2. User the formula below to create a new measure.

Measure =
SUMX (
    Table2,
    FIND (
        FIRSTNONBLANK ( Table2[Name], 1 ),
        FIRSTNONBLANK ( Table1[Team], 1 ),
        ,
        0
    )
)

3. Use the measure as visual level filter on the visual that you want to display the "Team" column, and apply "is greater than 0" for the filter.

 

f1.PNG

 

4. Then you should be able to use the "Name" column in the SmartFilterBySQLBI visualization field to display results of all the teams containing Tutu Moses etc.

 

r1.PNG

Here is the sample pbix file for your reference. Smiley Happy

 

Regards

Thanks very much, it worked!!!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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