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
Syndicate_Admin
Administrator
Administrator

Extract Certain Users

Hello Experts, I have some user reports, in some cases the system assigns a chain of people for tracking, however I only need to assign a person the closure of said event to follow up, and I would not be finding a way to do it, the users I want to leave listed in a column is only one of the lab users currently highlighted in the users column.

ArgenisSuarez_0-1655472212977.png

Greetings and thank you very much.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @ArgenisSuarez 
Please refer to sample file with the solution https://www.dropbox.com/t/8vsnZ9m7YnzmWJDy

1.png2.png

Final User = 
VAR QualifiedUsers = VALUES ( 'Follow Up'[User Failure Follow Up] )
VAR CurrentUsers = Failures[User]
VAR ConvertToPath = SUBSTITUTE ( CurrentUsers, ", ", "|" )
VAR T1 = GENERATESERIES ( 1, PATHLENGTH ( ConvertToPath ), 1 )
VAR T2 = ADDCOLUMNS ( T1, "@User", PATHITEM ( ConvertToPath, [Value] ) )
VAR AllUsers = SELECTCOLUMNS ( T2, "User", [@User] )
VAR T3 = INTERSECT ( AllUsers, QualifiedUsers )
VAR NumOfQualifiedUsers = COUNTROWS ( T3 )
VAR FinalUsers = CONCATENATEX ( T3, [User], "|" )
VAR FinalUser = PATHITEM ( FinalUsers, 1 )
RETURN
    FinalUser

View solution in original post

3 REPLIES 3
tamerj1
Super User
Super User

Hi @ArgenisSuarez 
Please refer to sample file with the solution https://www.dropbox.com/t/8vsnZ9m7YnzmWJDy

1.png2.png

Final User = 
VAR QualifiedUsers = VALUES ( 'Follow Up'[User Failure Follow Up] )
VAR CurrentUsers = Failures[User]
VAR ConvertToPath = SUBSTITUTE ( CurrentUsers, ", ", "|" )
VAR T1 = GENERATESERIES ( 1, PATHLENGTH ( ConvertToPath ), 1 )
VAR T2 = ADDCOLUMNS ( T1, "@User", PATHITEM ( ConvertToPath, [Value] ) )
VAR AllUsers = SELECTCOLUMNS ( T2, "User", [@User] )
VAR T3 = INTERSECT ( AllUsers, QualifiedUsers )
VAR NumOfQualifiedUsers = COUNTROWS ( T3 )
VAR FinalUsers = CONCATENATEX ( T3, [User], "|" )
VAR FinalUser = PATHITEM ( FinalUsers, 1 )
RETURN
    FinalUser
ArgenisSuarez
New Member

Admin, here you can find the edit data with the expected results.

Failure                User

1122Luciano Martinez
1123Camilo Sexto, Alfonzo Hernandez, Pedro Lopez, Martin Fiero, Lautaro Fernandez
1234Martin Fiero
2432Camilo Sexto, Lautaro Fernandez, Pedro Lopez
2488Alfonzo Hernandez
2892Pedro Lopez, Alfonzo Hernandez, Martin Fiero, Lautaro Fernandez, Camilo Sexto
3296Lautaro Fernandez
3700Alfonzo Hernandez
4104Leonardo Castillo
4509Juan Castro

 

User Failure Follow Up

Juan Castro
Luciano Martinez
Martin Fiero
Lautaro Fernandez
Leonardo Castillo
Leonardo Semprum
Alfonzo Hernandez
Carlos Ruiz
Estefania Solis
Julio Estrada

 

Failure             User

 Final Data Example
1122Luciano Martinez
1123Alfonzo Hernandez
1234Martin Fiero
2432 Lautaro Fernandez
2488Alfonzo Hernandez
2892 Martin Fiero
3296Lautaro Fernandez
3700Alfonzo Hernandez
4104Leonardo Castillo
4509Juan Castro

 

 

Please let me know if that is clear.

Regards

tamerj1
Super User
Super User

Hi @Syndicate_Admin 

would you please request @ArgenisSuarez to advise the the expected results and to provide copy/paste version of the sample data?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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