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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

custom column to fetch values from multiple columns based on Id reference

Hi All,

 

I have a requirement to validate cell value (id), against multiple columns and return a calulated column saying the ID is part of which all applications. Something like below

 

Initial Data:

 

IDNameApp1App2App3
1Steve1  
2paul 2 
3adam33 
4smith444

 

Post Applying Custom Column:

IDNameApp1App2App3App Details
1Steve1  App1
2paul 2 App2
3adam33 App1,App2
4smith444App1,App2,App3

 

Please help on how to build this requirement.

 

Regards,

Sivapratap.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous,

 

Maybe you can try to use following calculate column formula:

Detail=
CONCATENATEX (
    FILTER (
        {
            IF ( ISBLANK ( Table2[App1] ), "", "app1" ),
            IF ( ISBLANK ( Table2[App2] ), "", "app2" ),
            IF ( ISBLANK ( Table2[App3] ), "", "app3" )
        },
        [Value] <> BLANK ()
    ),
    [Value],
    ","
)

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Anonymous,

 

Maybe you can try to use following calculate column formula:

Detail=
CONCATENATEX (
    FILTER (
        {
            IF ( ISBLANK ( Table2[App1] ), "", "app1" ),
            IF ( ISBLANK ( Table2[App2] ), "", "app2" ),
            IF ( ISBLANK ( Table2[App3] ), "", "app3" )
        },
        [Value] <> BLANK ()
    ),
    [Value],
    ","
)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.