Forum Discussion
QueenTink
5 years agoFrequent Visitor
CONCATONATEX combining fields from two tables.
Hello! I am needing to combine two fields, each from different tables in my dataset. Example of the data is Table1 productkey productseries 12345 XYZ23 Table2 productkey product...
Greg_Deckler
Community Champion
5 years agoQueenTink How about:
Column = [productseries] & "-" & RELATED('Table2'[productcode])- QueenTink5 years agoFrequent Visitor
Greg_Deckler I get an error saying it cannot find name. The only fields that seem to be available for this are other calculated fields in the table.
- Greg_Deckler5 years ago
Community Champion
QueenTink Are you trying to create a column or a measure? The post said column. If you need a measure it will be like:
Column = MAX([productseries]) & "-" & MAX('Table2'[productcode])This assumes an appropriate relationship between the tables.