Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I don't come from a coding background but I'm trying to take a list of products associated with different companies and concatenate the products associated with each company into a single field. My table has ~5000 products associated with ~1200 companies. Here's my DAX statement for a measure that's not working:
Product List= CONCATENATEX(FILTER(Table,Table[Company Name]= [MS - Company Name]) ,(Table[Product Name],","))
Thanks for any pointers!
Solved! Go to Solution.
Please use a Measure not a column
Look at this:
Product List is a Measure
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
@dkay84_PowerBIJust need a simple table view to share info with another internal team.
Product List= CONCATENATEX(Table, Table[Product Name],",")
@Vvelarde That fixed the error but now the results being returned are all products for all the Companies when I create a simple table showing Company and Product List. So I need one further measure that asks Power BI to look at each company, apply the Product List measure and return the results?
Company Product List
Microsoft SQL Server, Crystal Ball, Oracle VM, etc
Oracle SQL Server, Crystal Ball, Oracle VM, etc
@Vvelarde Thanks for the demo - I was using the measure vs column, my mistake was selecting the wrong visualization - doh! Thanks again!
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.
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],","))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
69 | |
55 | |
36 | |
31 |
User | Count |
---|---|
87 | |
62 | |
61 | |
49 | |
45 |