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.
Hi all,
I have two tables in power bi:
1: With Projects Names
2: With URL (which includes project names)
For the 2 table there are many different URL's with same project name.
I want to somehow connect these two table so that I can use table 1 as a visual filter(drop down).
For ex.
Solved! Go to Solution.
Hi @Anonymous,
To achieve your requirement, you can use SEARCH() function to match two tables. Please refer to following calculated column with DAX expression:
Key Column = CALCULATE ( IF ( COUNTROWS ( VALUES ( 'Project Names'[Project Names] ) ) > 1, "More than 1 Project Names", VALUES ( 'Project Names'[Project Names] ) ), FILTER ( ALL ( 'Project Names'[Project Names] ), SEARCH ( 'Project Names'[Project Names], 'URL'[URL], 1, 0 ) <> 0 ) )
Thanks,
Xi Jin.
Please provide sample data of the two tables.
Please refer to the image attached.
@Anonymous
you have mentioned in your post that you have two tables? I want to see both tables. So, i can provide a solution. Without your data structure, it is hard to guess.
Hi @rocky09,
I have two tables, one has URL's and the other has some project names which are present in the URL, and there is nothing else in thse two tables which is relevant.
Hi @Anonymous,
To achieve your requirement, you can use SEARCH() function to match two tables. Please refer to following calculated column with DAX expression:
Key Column = CALCULATE ( IF ( COUNTROWS ( VALUES ( 'Project Names'[Project Names] ) ) > 1, "More than 1 Project Names", VALUES ( 'Project Names'[Project Names] ) ), FILTER ( ALL ( 'Project Names'[Project Names] ), SEARCH ( 'Project Names'[Project Names], 'URL'[URL], 1, 0 ) <> 0 ) )
Thanks,
Xi Jin.
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 |
---|---|
73 | |
71 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |