Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have two tables. Table 1 contains descriptions (see example). table 2 lists keywords. I would like to use DAX in table 1 to create an extra column in which it is indicated whether some of the keywords in table 2 appear in a description of table 1.
I have to do this in DAX because I want to get the data in direct query mode. I know how to merge with contains in the query edirot, but then direct query is not an option anymore.
Who has the golden tip?
Hey @AntrikshSharma ,
thanks for your help. it look's like the solution.
But the 'COUTROWS' function is not allowed in a calculated collumn in direct query models.
Is there a way to do this in direct qeury mode?
@henriwestra Completely forgot about the direct query part. It looks like you will have to do this either through a measure and show it in the report or do it in Power Query.
@henriwestra Created a dummy file for you, try this and let me know the feedback. The file is attached below my signature.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 20 | |
| 12 | |
| 11 |