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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Manimalinc
Frequent Visitor

How to check text string AND group membership in one query

I am looking to find out if
language = either "German, french, Spanish, English"
AND
Group membership = "External"

"Language" is a column pulled out of the source
External is a group from a column "requestor" - ( anyone outside of the company)

I.E
if language = German and Group is External then = "German source
if language = French and Group is External then = "French source
etc

any help must appreciated... driving me made - is it even possible ?

 

tried a few different solutions not got any past stage 2 ...

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Manimalinc , Based on what I got

 

Switch(True(),

[language] = "German" && [Group] = "External", "German source",

[language] = "French" && [Group] = "External", "French source",
)

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Manimalinc
Frequent Visitor

Perfect !!! thanks a lot !!

amitchandak
Super User
Super User

@Manimalinc , Based on what I got

 

Switch(True(),

[language] = "German" && [Group] = "External", "German source",

[language] = "French" && [Group] = "External", "French source",
)

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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