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
byr10112
Microsoft Employee
Microsoft Employee

Grouping by ID to see if a certain value exists in column

I have the following table: 

Request IDLanguage Requested
1001English
1001French
1002English
1003French
1003Spanish
1004English

 

I'm trying to create a table view on PowerBI, where I would like to see if the customer requested (request ID) a French language service or not. I tried creating a column that said if the language requested is French then True else False, but I'm getting duplicate results that look like this:

IDFrench Flag
1001False
1001True

 

Is there a way for me to group by the ID and check if the French language is requested in the request? Ideally the final table will look like:

IDFrench Flag
1001True
1002False
1003True
1004False

 

 

Thanks

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@byr10112,

 

Try this measure:

 

French Flag = CALCULATE ( COUNT ( Table1[Request ID] ), Table1[Language Requested] = "French" ) > 0

 

DataInsights_0-1645112705201.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@byr10112,

 

Try this measure:

 

French Flag = CALCULATE ( COUNT ( Table1[Request ID] ), Table1[Language Requested] = "French" ) > 0

 

DataInsights_0-1645112705201.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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