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

Slicer to filter columns

Hi,

I'm looking for some assistance to create a slicer. To help with this, please see the link below for my Power BI file.

 

How can I use the field 'Branch' in the 'Common Fields' table to filter the 'Total stock' field in the 'MERGED Master Order Forms' table? The 'Total stock' field is a column created by adding the contents of multiple other columns.

I'm conscious this would need a relationship between the two tables, but I don't know how to do this to filter the 'Total stock' field, as it's made up from numerous columns.

 

This Power BI report is fairly expansive, but I have stripped back the contents of it for the purpose of this query.

 

Many thanks for your time, support & assistance.

 

https://1drv.ms/u/s!AlGraWJniC_whoA4TxMHYxF2UGG6Gw?e=kJWMM0 

 

1 ACCEPTED SOLUTION
YJ
Resolver II
Resolver II

Hi,

I downloaded your file and not able to see any data , prehaps it is in direct querry mode and not import.

My primary guess from what you have written without seeing the data is that you have to make a unpivot and put all your countries into an column , from there you can form your relationship and add the slicer.

 

That said i am new here and still learning too.

 

Good luck,

regards

SK

View solution in original post

2 REPLIES 2
YJ
Resolver II
Resolver II

Hi,

I downloaded your file and not able to see any data , prehaps it is in direct querry mode and not import.

My primary guess from what you have written without seeing the data is that you have to make a unpivot and put all your countries into an column , from there you can form your relationship and add the slicer.

 

That said i am new here and still learning too.

 

Good luck,

regards

SK

Anonymous
Not applicable

Thanks @YJ . I was unaware of the unpivot function - your advice really helped.

Best Regards.

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.