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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JeffreyH
Regular Visitor

Report Builder DAX query search

Hello,

This is my first report using Power Bi Report Builder.

The question I am asking for assistance with is with DAX basically.

I created a query:

EVALUATE SUMMARIZECOLUMNS('Capital Pojects Report'[Reserved], 'Capital Pojects Report'[Product Name], 'Capital Pojects Report'[Product Description], 'Capital Pojects Report'[Goal],
FILTER(VALUES('Capital Pojects Report'[Product Name]), SEARCH("MERRC", 'Capital Pojects Report'[Product Name], 1, 0) > 0))

 

What I would like to add:

I would like to have both "MERRC" and "MERRD" to the retrevial. 

1 ACCEPTED SOLUTION

Sorry, try this

 

EVALUATE
SUMMARIZECOLUMNS(
'Capital Pojects Report'[Reserved],
'Capital Pojects Report'[Product Name],
'Capital Pojects Report'[Product Description],
'Capital Pojects Report'[Goal],
FILTER(
VALUES( 'Capital Pojects Report'[Product Name] ),
OR(
SEARCH(
"MERRC",
'Capital Pojects Report'[Product Name],
1,
0
)
> 0,
SEARCH(
"MERRD",
'Capital Pojects Report'[Product Name],
1,
0
)
> 0
)
)
)

 

If this post was helpful, please kudos or accept the answer as a solution.
~ Anthony Genovese
Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!

View solution in original post

3 REPLIES 3
AnthonyGenovese
Resolver III
Resolver III

Is this what you are looking to do?

 

EVALUATE SUMMARIZECOLUMNS('Capital Pojects Report'[Reserved], 'Capital Pojects Report'[Product Name], 'Capital Pojects Report'[Product Description], 'Capital Pojects Report'[Goal],
FILTER(VALUES('Capital Pojects Report'[Product Name]), OR(SEARCH("MERRC", 'Capital Pojects Report'[Product Name], 1, 0) > 0),SEARCH("MERRD", 'Capital Pojects Report'[Product Name], 1, 0) > 0)))

 

If this post was helpful, please kudos or accept the answer as a solution.
~ Anthony Genovese
Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!

This did not work.  

Here's the error that was returned to me

 

JeffreyH_0-1691618026194.png

 

Sorry, try this

 

EVALUATE
SUMMARIZECOLUMNS(
'Capital Pojects Report'[Reserved],
'Capital Pojects Report'[Product Name],
'Capital Pojects Report'[Product Description],
'Capital Pojects Report'[Goal],
FILTER(
VALUES( 'Capital Pojects Report'[Product Name] ),
OR(
SEARCH(
"MERRC",
'Capital Pojects Report'[Product Name],
1,
0
)
> 0,
SEARCH(
"MERRD",
'Capital Pojects Report'[Product Name],
1,
0
)
> 0
)
)
)

 

If this post was helpful, please kudos or accept the answer as a solution.
~ Anthony Genovese
Need more PBI help? PM me for affordable, dedicated training or consultant recomendations!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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