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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
shaileng
Frequent Visitor

Hiding column based on slicer

Hi,

 

I need some help/idea/workaround on achieving the following -

 

I have a metrix visualization which shows few columns eg. Description, Total of Asia Sales, Total of America Sales etc.

 

I have a slicer which has options like All Regions, Asia, America etc.

 

What I want to achieve is when All Regions are selected show all the columns on the grid and when Asia is selected only Total of Asia column should be selected and likewise.

 

So basically want to hide a column based on slicer condition.

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @shaileng,

 

What you can is the following :

Step1Step1Step2Step2Step3Step3

After these steps it is possible to filter on the new "attribute" (which you can rename ofc)

 

Regards,

L.Meijdam

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @shaileng,

 

When you filter only Asia in your slicer, columns of other regions should'nt be shown by default. Can you perhaps share a screenshot and prefered outcome ?

 

Regards,

L.Meijdam

Thank you for your post. 

 

Here is the table structure 

image.png

 

Since I cannot have column names in slicer I have another source for the Slicer which has options like "Asia","America" etc. and what I want is once Asia is selected from that slicer only Asia column from above table should be shown.

 

Thanks

 

Anonymous
Not applicable

Hi @shaileng,

 

What you can is the following :

Step1Step1Step2Step2Step3Step3

After these steps it is possible to filter on the new "attribute" (which you can rename ofc)

 

Regards,

L.Meijdam

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.