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
Anonymous
Not applicable

SEARCH FUNCTION

Hi, please help me this case, i try to find the text value "1.NP" within column GroupActivityName, i create a measure like the below picture, but it's not woking.screenshot_1670562182.png

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your datamodel looks like, but please try something like below whether it suits your requirement.

 

New 1.NP measure: = 
SEARCH( "1.NP", SELECTEDVALUE( 'Opps (2)'[GroupActivityName]),1, 0)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Hi,

i delete the relationships of table Opps(2), it work well, but i don't understand why my datamodel is problem. Below is my datamodelscreenshot_1670568135.png

Anonymous
Not applicable

Hi @Anonymous ,

As checked your model settings, it shouldn't be the cause of problem... Which table the field [GroupActivityName] is from in the below screenshot? 

yingyinr_0-1670831204997.png

And if the field [GroupActivityName] is from the table 'Opps (2)', it can display the correct using the formula which provided by @Jihwan_Kim ... Otherwise, could you please provide some raw data in the tables and the matrix Fields settings? Thank you.

yingyinr_1-1670831390802.png

Best Regards

Hi,

It is a little bit difficult for me to find what is a problem by only seein a diagram.

What column from which table is used in the visualization? -> I think you can start from here.

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.