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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
shubhamc_002
Helper I
Helper I

Dynamic Matrix visual based on selected slicer values

Hi Team, 

 

We have one requirement in which wanted to show selected values from slicer (comma separated) in matrix visual but the condition is that should show only of values are selected from corresponding slicer. 

 

eg: 

if Slicer Country have selected values as India, China than matrix visual should display values as accordingly and another slicer selection is Department as Medical ,Instrumental than it should show as below. Similarly if other slicer selections are there then it should show data accordingly . 

Column A      | Column B
Country         | India, China
Department   | Medical ,Instrumental
Slicer_Name   | Val1, Val2....

if no slicers are selected then both columns should blank.

Thanks

 

2 REPLIES 2
Anonymous
Not applicable

Hi,

You can use the below sample measure for each slicer and show them as values in the matrix format.

concat_country = calculate(CONCATENATEX(DISTINCT(Sales[Country Name]),Sales[Country Name], ", "))

 

v-jianboli-msft
Community Support
Community Support

Hi @shubhamc_002 ,

 

What does your raw data look like?

Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?

Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.