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

View all the Fabric Data Days sessions on demand. View schedule

Reply
stefantaust
Helper I
Helper I

concatenate a filtered column

Hello, I have two tables that aren't linked. How can I concatenate a filtered column from each table to create a new table with a column containing the result. e.g., k30307599999

stefantaust_0-1750747064893.png

Thanks, Stefan

1 ACCEPTED SOLUTION
Demert
Resolver III
Resolver III

Hi @stefantaust ,

 

The filter context that you are giving in the report page can't transfer to table view where you create a new table. What you can do is create a measure that concatenate these two fields together and returns the value for example:

SELECTEDVALUE('Table'[Name]) & SELECTEDVALUE(Parameter[Parameter])

 

Giving the following output:

Demert_1-1750750003540.png

 

 

View solution in original post

2 REPLIES 2
Demert
Resolver III
Resolver III

Hi @stefantaust ,

 

The filter context that you are giving in the report page can't transfer to table view where you create a new table. What you can do is create a measure that concatenate these two fields together and returns the value for example:

SELECTEDVALUE('Table'[Name]) & SELECTEDVALUE(Parameter[Parameter])

 

Giving the following output:

Demert_1-1750750003540.png

 

 

rajendraongole1
Super User
Super User

Hi @stefantaust  - create a new table with a combined result like K30307599999

 

rajendraongole1_0-1750747648855.png

 

 

ConcatenatedMatCode =
SELECTCOLUMNS (
    CROSSJOIN (
        VALUES(tab1[MatCodePrefix]),
        VALUES(tab2[MatNumberSuffix])
    ),
    "FullMatCode", tab1[MatCodePrefix] & tab2[MatNumberSuffix]
)
 
Hope the above logic helps.




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

Proud to be a Super User!





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
Top Kudoed Authors