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

Check if a value is in any digit of another column

Dear all, good morning.

 

I am trying to check if a value in one column appear in another one. The issue I am currently facing is that the column may contain multiple values and I would need to check these one by one.

 

Below is the situation I am facing:

 

 

I have a table with all customer requests:

 

CustomerRequested ServiceStatus
APick-up*This column should be completed based on the other column
BPick-up*This column should be completed based on the other column
CDelivery*This column should be completed based on the other column

 

And another one with the services completed for each customer

 

ServiceNumServiceTypeRealised for
1Pick-upA,B
2DeliveryC

 

Desired Result:

 

CustomerRequested ServiceStatus
APick-upCompleted
BPick-upCompleted
CDeliveryCompleted

 

How may I achieve this ?

2 REPLIES 2
Anonymous
Not applicable

Hello @davehus , good morning.

 

No, I understood what you did but lets say I have a column with 10 different Customers for the realized column. I would split by delimiter "," and afterwards unpivot the selected columns right?

 

Lets say after 1 month I have the column with 20 customers, it will not pivot all of the 20 columns, since I selected only the previous 10 correct?

davehus
Memorable Member
Memorable Member

Hi @Anonymous , I've based the attached on your example. Please click through the powerquery steps to see how the data is being transformed. Is this what you need?

https://drive.google.com/file/d/1JfF072By-CHOUi3uzk-GMA8nVdNrKeXY/view?usp=sharing

 

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.