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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
aameri
Regular Visitor

Looking for a way that slicer shows only the selected columns

Hi, I am new to Power Bi. I have a main table with more than 100 columns.
I am trying to visualize a table with columns based on a slicer.
I have created a new table with the name of all the columns and have built a slicer based on it. I want the table on the dashboard to only show the columns I have selected. Currently, the slicer is not working as it is built upon another table. 
Can anyone help me with it?

 

 

aameri_0-1642482305973.png

 

1 ACCEPTED SOLUTION
CerebusBI
Resolver I
Resolver I

Welcome @aameri!

 

Let's assume we have "employees" who each have multiple attributes. So in your example "AutoCat.Aii schedules" = "B. Need Guidance" etc.

 

In this case, I would proceed as follows:

 

Data model: make sure that the table is unpivoted in the data model.

I.e. for each employee there is a row for each "attribute/value" pair like this:

CerebusBI_0-1642526473732.png

 

Visual: Use a matrix visual instead of a table visual:

  • Row: column "Employee" of the table
  • Column: column "Attribute" column of the table
  • Value: (Implicit or explicit) Measure with reference to column "Value" of the table.

 

Slicer (or filter): "Attribute" column of the table

 

Does it work as desired?

 

View solution in original post

2 REPLIES 2
CerebusBI
Resolver I
Resolver I

Welcome @aameri!

 

Let's assume we have "employees" who each have multiple attributes. So in your example "AutoCat.Aii schedules" = "B. Need Guidance" etc.

 

In this case, I would proceed as follows:

 

Data model: make sure that the table is unpivoted in the data model.

I.e. for each employee there is a row for each "attribute/value" pair like this:

CerebusBI_0-1642526473732.png

 

Visual: Use a matrix visual instead of a table visual:

  • Row: column "Employee" of the table
  • Column: column "Attribute" column of the table
  • Value: (Implicit or explicit) Measure with reference to column "Value" of the table.

 

Slicer (or filter): "Attribute" column of the table

 

Does it work as desired?

 

Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @aameri ,

 

First of all, make sure that the field you are using in your slicer is from the new table only...(the table whose column you want to slice using slicer).

Or else:

check the relationships and cardinality between the two table- The main table and the new table created.

 

 

Mark this as a solution, if I answered your question. Kudos are always appreciated.

Thanks

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.