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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors