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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to use Slicer to chose which column to filter

Hello, 

 

I am relatively new to Powerbi. Right now I am working off a datasource that has 1 column that is cases and a different column that is KG for the same product. I want to add a slicer that can toggle between cases and KG and I want my visuals to reflect values of case or KG respectively. Is what I want to do possible? what is my best option here 

3 REPLIES 3
FreemanZ
Super User
Super User

hi @Anonymous 

this is possible with field parameter

https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

Anonymous
Not applicable

Tahnk you, that is working but i am not able to visualize it because the KG and cases won't convert to number even though the underlying data are numbers. Do you know why that is? 

TaylorPBI21
Resolver I
Resolver I

Hi @Anonymous, 


could maybe add a product detail table to include product detail and the 2 measurments? And then be able to filter by product with 2 card visuals one total quantity and one Total weight? Could also include them in the tooltips of your visuals?😎

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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