Forum Discussion
Concatenate rows with filter
Can you please elaborate on what you are trying to accomplish? As I understand it, you have a table with 2 columns: a products column and companies column. The products column has ~5000 products (rows) so there are duplicates of some of the companies as some companies have multiple products.
What is your end goal? Can you post a screen shot of your data/table?
My end goal is to show a report with data like:
Company Product List
Microsoft SQL Server, Office 365
Oracle Crystal Ball, Developer Suite, Oracle VM
From Data that looks like...
Company Product(s)
Microsoft SQL Server
Oracle Developer Suite
Microsoft Office 365
Oracle Cystal Ball
Oracle Oracle VM
- Vvelarde9 years agoCommunity Champion
hi. Please try with this measure:
Product List= CONCATENATEX(Table, (Table[Product Name],","))
You can view like you want with a table visual.
Adding CompanyName and Product List.
- sarahhp9 years agoFrequent Visitor
Thanks Victor. I'm getting an error msg - Operator or expression '( )' is not supported in this context. With the outside brackets being highlighted.
Product List= CONCATENATEX(Table, (Table[Product Name],","))
- dkay84_PowerBI9 years agoMicrosoft EmployeeI have to ask, why do you want to view the data in a concatenated form? From a data modeling and visualization viewpoint it is counterintuitive, unless I'm missing something
- sarahhp9 years agoFrequent Visitor
dkay84_PowerBIJust need a simple table view to share info with another internal team.
- Vvelarde9 years agoCommunity Champion
Product List= CONCATENATEX(Table, Table[Product Name],",")