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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
tannerwhitesell
Frequent Visitor

Lock column headers in a matrix visual

Is there a way for me to lock the columns on a matrix so they don't filter out when a user selects a model in the slicer on the report? I would like to keep the other columns because we have images of the product over the columns. For example, if you select Model B in the slicer it puts Model B's data under the Model A picture. Any help would be greatly appreciated. 

tannerwhitesell_0-1695500157517.png

tannerwhitesell_1-1695500181358.png

Current Outcome if you select a model in the slicer

tannerwhitesell_2-1695500202288.png

 

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @tannerwhitesell 

I can only imagine your data model, but in the common case you can do the next:

a) create an once-column "Models" Table

model.png

b) in your "Data" table create a "Model" column (I assume it already exists).

c) create relationships Models-Data

d) use 'Models'[Model] column as Columns for matrix

e) use 'Data'[Model] column as a slicer

f) create a measure

_mValue = CALCULATE ( SUM (Data[Value]) ) + 0

g) use new measure as a value for matrix

h) enjoy:

Screenshot 2023-09-23 230002.png


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @tannerwhitesell 

I can only imagine your data model, but in the common case you can do the next:

a) create an once-column "Models" Table

model.png

b) in your "Data" table create a "Model" column (I assume it already exists).

c) create relationships Models-Data

d) use 'Models'[Model] column as Columns for matrix

e) use 'Data'[Model] column as a slicer

f) create a measure

_mValue = CALCULATE ( SUM (Data[Value]) ) + 0

g) use new measure as a value for matrix

h) enjoy:

Screenshot 2023-09-23 230002.png


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Thank you for the help. That worked 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors