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

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

Reply
Niels_T
Post Patron
Post Patron

How to select a specific value from a table

Hello,


I would like to make a measure where I select a specific string out of a column.

 

Right now I have this dax measure:

Value = SELECTEDVALUE('Vendor List'[EU / Non-EU])
 
I select all values of that specific column. However I do not want that I only want to select all values that contain "EUR" for example.
1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @Niels_T 

There are many ways to do that one.
Three of the simpler ways.
1. select Contains in the filter pane
2. Create a text filter visual
3. Create a measure similar to the one below and then filter the measure equal to 1 in the filter pane

Measure = 
IF(FIND("o",SELECTEDVALUE(financials[Product]),1,-1)<>-1,1,0)

 

Result:

vangzhengmsft_0-1645502836573.png

Please refer to the attachment below for details.

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

Hi, @Niels_T 

There are many ways to do that one.
Three of the simpler ways.
1. select Contains in the filter pane
2. Create a text filter visual
3. Create a measure similar to the one below and then filter the measure equal to 1 in the filter pane

Measure = 
IF(FIND("o",SELECTEDVALUE(financials[Product]),1,-1)<>-1,1,0)

 

Result:

vangzhengmsft_0-1645502836573.png

Please refer to the attachment below for details.

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Pragati11
Super User
Super User

Hi @Niels_T ,

 

I am not clear on your requirement.

May be something like below - (assuming there is a Currency column in your table)

extractValue =
CALCULATE (
    VALUES ( 'Vendor List'[EU / Non-EU] ),
    FILTER ( ALL ( 'Vendor List'[Currency] ), 'Vendor List'[Currency] = "EUR" ) )
)

Share more details:

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Greg_Deckler
Community Champion
Community Champion

@Niels_T You can use SEARCH or FIND. I'm not following the use case exactly. 



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...

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.

Top Solution Authors