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
Birdie
Regular Visitor

Slicer for a warehouse location - From (choose location) to (choose location)

I am trying to do a simple cycle count program for our inventory department that they want to go count by location. Locations are in alphabetical order (C1,C2,C3... etc) . To do that, ideally, they would choose a "Start Location" and an "End Location" as slicers, then the data shown to go count would be between those two locations via a standard Power BI table with part number, location, quantity. Example - we want to go count all locations between C12 and D16 today. 

 

One way I gotten it to work, but it isn't very user friendly, is having a slicer for the location that shows all locations, and the user could click each box and hold ctrl down for every box until they are to where they want to stop. I want a from and to, like dates are on slicers. Is that possible?

 

thanks!

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Birdie ,

 

You could add a number column to achieve this result.

Here is my sample data.

2-1.PNG

Then use ALLSELECTED(), MIN() and MAX() functions to get the range.

Here is my test file for your reference.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @Birdie ,

 

You could add a number column to achieve this result.

Here is my sample data.

2-1.PNG

Then use ALLSELECTED(), MIN() and MAX() functions to get the range.

Here is my test file for your reference.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

I think that may work, thank you!

Hi @Birdie ,

 

You are welcome.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
rajulshah
Super User
Super User

Hello @Birdie,

 

You can create two columns, Start Location and End Location > Have slicers for both of these columns and then create a measure to count cycles between Start & End Location. If you can provide sample data, I can help you in a better way.

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.