Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have 2 separate tracking tables, in which I pay attention to the status of a given user for given tasks. I would like to visualize these two tables in 2 separate diagrams. The problem is that I want to create a search bar where if the user enters his name, the 2 charts are automatically modified with his values. (I mean, if I type in Adam's name, the 2 charts will show only his data)
I have tried several solutions, but so far I have not been successful. If anyone could suggest a solution, I would be very grateful.
Table 1
Name | Task | Status |
Adam | xyz | in Progress |
Adam | xyz | Done |
Joe | xyz | no feedback |
Peter | xyzq | Done |
Table 2
Name | Task | Status |
Adam | xyz | no feedback |
Eve | xyz | done |
Peter | xyz | done |
Joe | xyz | done |
Solved! Go to Solution.
create a table containg all the names from both tables as such :
calculated table ==> dim_names = distinct( union ( distinct(tbl1[name]) , distinct(tbl2[name]) )
then link this table to both tables on the name column.
now in your search bar use the name column from the newly created table .
Your solutions is worked @Daniel29195 ,that is so great!
Hi, @doemorbe
The method provided by super user does work. I created the following example data:
Table1:
Table2:
I downloaded the following text search visual object from the visual object marketplace:
The following visual objects were created in my report:
I created a calculation table using the following DAX expression:
Name Table =
VAR _table1_name = SUMMARIZE('Table1','Table1'[Name])
VAR _table2_name = SUMMARIZE('Table2',Table2[Name])
RETURN SUMMARIZE(UNION(_table1_name,_table2_name),Table1[Name])
Use this calculated table with Table1, Table2 to create these relationships below:
Using the name column of the calculation table in the Text search slicer, the results are as follows:
If your Text Search slicer only works for one visual object, you can check the following visual object interactions to make sure that slicer has enabled filtering for your chart:
I have provided the PBIX file used in this instance below.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Your solutions is worked @Daniel29195 ,that is so great!
Hi, @doemorbe
The method provided by super user does work. I created the following example data:
Table1:
Table2:
I downloaded the following text search visual object from the visual object marketplace:
The following visual objects were created in my report:
I created a calculation table using the following DAX expression:
Name Table =
VAR _table1_name = SUMMARIZE('Table1','Table1'[Name])
VAR _table2_name = SUMMARIZE('Table2',Table2[Name])
RETURN SUMMARIZE(UNION(_table1_name,_table2_name),Table1[Name])
Use this calculated table with Table1, Table2 to create these relationships below:
Using the name column of the calculation table in the Text search slicer, the results are as follows:
If your Text Search slicer only works for one visual object, you can check the following visual object interactions to make sure that slicer has enabled filtering for your chart:
I have provided the PBIX file used in this instance below.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
create a table containg all the names from both tables as such :
calculated table ==> dim_names = distinct( union ( distinct(tbl1[name]) , distinct(tbl2[name]) )
then link this table to both tables on the name column.
now in your search bar use the name column from the newly created table .
Hi Daniel, thank you very much for your help, it works perfectly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
79 | |
58 | |
35 | |
34 |
User | Count |
---|---|
99 | |
59 | |
56 | |
46 | |
40 |