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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Manasi25
Helper II
Helper II

Filter column by specific words

Hello Team

I have Col named "Short Description" from where i want to create new col by filtering with specific words from short description.

I used below dax for it, but unable to count, also i added conditional col, still it showing same data and count.

GMI =

COUNTAX(PTS,PTS[Short Description] IN {"GMI","IBM"})

My Data - 
Manasi25_0-1718169676232.png

 





2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Manasi25 

pls try if this is what you want

Measure = CALCULATE(count('Table'[short description]),CONTAINSSTRING('Table'[short description],"GMI")||CONTAINSSTRING('Table'[short description],"IBM"))




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

Proud to be a Super User!




View solution in original post

Manasi25
Helper II
Helper II

Thank you for help ! It worked.

View solution in original post

3 REPLIES 3
Manasi25
Helper II
Helper II

Thank you for help ! It worked.

you are welcome





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

Proud to be a Super User!




ryan_mayu
Super User
Super User

@Manasi25 

pls try if this is what you want

Measure = CALCULATE(count('Table'[short description]),CONTAINSSTRING('Table'[short description],"GMI")||CONTAINSSTRING('Table'[short description],"IBM"))




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

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.