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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
emskikay
New Member

How to subset a symmetric matrix

Hi,

I have a symmetrix matrix and I want to view a subset of it.  Say my full matrix has columns and rows A-Z.  These columns and rows are grouped.  Say Group1 has columns and rows A-E and Group2 has columns and rows F-K.  Group 3 may have columns and rows Q-S and Z.  A group will have different number of columns and rows.

 

I want to view a subset of the matrix by group.  I have a slicer with the list of groups that filters another slicer with the column names.  I can get it to filter the columns shown in the matrix.  But I can't get it to filter the rows.  How do I filter it by rows?  Any help would be appreciated.

 

 

 

 

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @emskikay,

 

Could you post your table structures with some sample/mock data and the expected result, so that we can better assist on this issue? Do mask sensitive data before uploadingSmiley Happy

 

Regards

Hi there, here's a sample mock data. Say I have this full symmetric matrix.  G stands for group.  The matrix has 3 groups G1, G2 and G3.  A-H are locations.

 

YG1-AG1-BG1-CG2-DG2-EG2-FG3-GG3-H
G1-A1       
G1-B0.981      
G1-C0.950.871     
G2-D0.880.880.831    
G2-E0.920.910.850.891   
G2-F0.740.760.670.820.771  
G3-G0.820.870.690.920.820.771 
G3-H0.800.840.670.780.760.650.751

 

If I want to view the matrix for G3 only it should look like.  Where the columns and rows for G1 and G2 are filtered out.

YG3-GG3-H
G3-G1 
G3-H0.751

 

If I want to view G1 and G3 it will be like this

YG1-AG1-BG1-CG3-GG3-H
G1-A1    
G1-B0.981   
G1-C0.950.871  
G3-G0.820.870.691 
G3-H0.800.840.670.751

 

The real matrix I am working on is 200 x 200 and it will grow bigger.  So it'll be good to allow users to view Groups that they are  interested in.  It will also be good if they can select locations (ie any other second variable) to view.

 

Is this possible?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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