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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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