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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dmaddern
Helper I
Helper I

Is there a way to allow a user to search a DAX Concatenated measure for specific text.

Hello

 

I have a concatenated text string and users want to search the results for specific terms.

Here is the DAX Formula:

 

project1Just = "Project: "& MAX(tblProject1[Project1]) & UNICHAR(10) & UNICHAR(10) &"Salaries: "& max(tblProject1[personnel_just1]) & UNICHAR(10) & UNICHAR(10) & "Fringe: " & max(tblProject1[fringe_just1]) & UNICHAR(10) & UNICHAR(10) & "Equipment: " & max(tblProject1[equip_just1]) & UNICHAR(10) & UNICHAR(10) & "Travel: " & max(tblProject1[travel_just1]) & UNICHAR(10) & UNICHAR(10) & "Supplies: " & max(tblProject1[supply_just1]) & UNICHAR(10) & UNICHAR(10) & "Contracts: " & max(tblProject1[contract_just1]) & UNICHAR(10) & UNICHAR(10) & "Other: " & max(tblProject1[other_just1])
 
I tried the different Slicer options incl the "Microsoft Text Filter" and "OKVIZ" but i am not allowed to map a Measure to the Field. Only accepts a DATA field.
I have seen other DAX solutions but not one that allows the user to enter the text value (e.g. user enters 'Copier" to search the DAX formula above to find all instances of the word 'copier').
 
1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@dmaddern - I would suggest using the Filters pane, the Advanced filtering, Contains feature:

Greg_Deckler_0-1608566653180.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@dmaddern - I would suggest using the Filters pane, the Advanced filtering, Contains feature:

Greg_Deckler_0-1608566653180.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi again,

I am trying to use the Filters pane but the field is deactivated. All the other visualizations work with the Filter pane. This is occurring both in PBI Desktop and the Workspace where it is published.

Any suggestions why the filter pane is not working on this measure. It is displayed in a table.

image.png

 

Screenshot 2020-12-23 134205.jpg

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors