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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
nicanica07
Frequent Visitor

Help Adding a Concatenated Column to Matrix Visualization that Ignores Slicers

Hello,

I am working with data similar to the Sample Superstore. I’ve built a PBI matrix (attached) with several slicers, e.g., Sub-category, Product Name, etc. Please see the screenshot.

nicanica07_2-1758830685627.png

 

I need to add a new column to the left of the Sub-category column titled “All items on order.” This column should display a concatenated list of all unique sub-categories associated with each order, e.g., "Binders, Chairs, Storage", and should ignore the Sub-category and Product Name slicers if they are selected.

 

Here is a mock-up in Excel to illustrate the desired outcome:

nicanica07_1-1758830407667.png

 

 

Could you please advise on how to implement this in Power BI? I was partially able to achieve it by putting the "All items on order" in the matrix values (very right column) but that's not an option for me. The column must be on the left of the Sub-category in the matrix rows.  

I couldn't upload the pbix sample file. Looks like it's no longer allowed here or something. Here is a link to my file on gdrive.

Thank you!

6 REPLIES 6
v-saisrao-msft
Community Support
Community Support

Hi @nicanica07,

Thank you @Ashish_Mathur,@Jihwan_Kim , for your insights.

If the issue still persists on your end, we recommend reaching out to our Power BI certified solution partners. These are highly experienced professionals who can provide in-depth technical assistance and offer tailored solutions based on your specific needs. You can explore the list of trusted partners here:

Power BI Partners | Microsoft Power Platform

You’re always welcome to continue engaging with the community as well,
Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread.
we truly appreciate your active participation in the Microsoft Fabric Community.

 

Thank you.

 

Ashish_Mathur
Super User
Super User

Hi,

Write this measure

Measure = CONCATENATEX(CALCULATETABLE(VALUES(Orders[Sub-Category]),ALLEXCEPT(Orders,Orders[Order ID],Orders[Order Date],Orders[Country/Region],Orders[Segment])),Orders[Sub-Category],", ")

Hope this helps.

Ashish_Mathur_0-1758855510593.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

This does not work for my purposes, because as stated in the problem statement, the column must be to the left of the Sub-category and not all the way on the right. It has to be added as a row to the matrix, not as a value. But thank you so much for trying to help!

Jihwan_Kim
Super User
Super User

Hi, I am not sure if I understood your question correctly, but I tried to create a measure like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1758854520053.png

 

All Sub Category list in the order: = 
VAR _orderid =
    SELECTEDVALUE ( Orders[Order ID] )
VAR _t =
    SUMMARIZE (
        FILTER ( ALL ( Orders ), Orders[Order ID] = _orderid ),
        Orders[Sub-Category]
    )
RETURN
    CONCATENATEX ( _t, Orders[Sub-Category], UNICHAR ( 10 ) )

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thank you for taking the time to help me! This is not what I am looking for because the table shows duplicated orders instead of one order per row. 

nicanica07
Frequent Visitor

I couldn't upload the pbix sample file. Looks like it's no longer allowed here or something. Here is a link to my file on gdrive.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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