Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @smpa01,
If I understand you correctly, a simple DAX formula could do that.
I assume you have a table called "Table1" with NAME and ID column.
And another table called "Table2" with Partial Name column.
Then you should be able to use the formula below to create a calculate column in "Table2" to get ID from "Table1" based on the value of Partial Name.
Column = CALCULATE ( MAX ( Table1[ID] ), FILTER ( Table1, SEARCH ( Table2[Partial Name], Table1[NAME],, 0 ) > 0 ) )
Regards
Hi @smpa01,
If I understand you correctly, a simple DAX formula could do that.
I assume you have a table called "Table1" with NAME and ID column.
And another table called "Table2" with Partial Name column.
Then you should be able to use the formula below to create a calculate column in "Table2" to get ID from "Table1" based on the value of Partial Name.
Column = CALCULATE ( MAX ( Table1[ID] ), FILTER ( Table1, SEARCH ( Table2[Partial Name], Table1[NAME],, 0 ) > 0 ) )
Regards
@v-ljerr-msftthanks for the solution. Is there a way to achieve this in Power Query by any chance - searching a column of Partial Text Strings in another list of column containing Text Strings.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |