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

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.

Reply
Anonymous
Not applicable

Return all rows for which column contains specific keyword

I have a table with Title column. I need to return all rows for which Title Contains "Keyword".

 

Do I need to return a new CALCULATETABLE for this? 

Please help me with DAX ? 

Thanks 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This worked though 🙂 
FILTER(Workitems, CONTAINSSTRING(Workitems[Title], "[Reg"))
 
 

View solution in original post

6 REPLIES 6
JarroVGIT
Resident Rockstar
Resident Rockstar

You can use this DAX filter expression:

 

FILTER(Table, CONTAINSSTRING(Table[Column], "Keyword" = TRUE)

 

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

This worked though 🙂 
FILTER(Workitems, CONTAINSSTRING(Workitems[Title], "[Reg"))
 
 

Good to hear my solution worked, although I didn't understood you wanted a calculated table as a result 🙂




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hi @JarroVGIT 

I am trying a new table with your syntax : 

 

Capture.JPG

Hi @Anonymous ,

 

can't you use an advance filter?

 

Keyword.png

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Anonymous
Not applicable

Hi @mwegener I can use the visual filter but then I need this values to do more calculation on it like count, filter by type etc. 

 

I would have to put the same filter on all those variations for different goals.

 

I prefer something like a CalculatedTable that contains  those filtered values and then I can just refer the table for visual.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.