cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jmsm
Helper I
Helper I

If condition for a range of alphabetic corridors

Hello all. 

 

I have a column that represents a warehouse location like 1PA22AA, which 1 represents the floor, PA represents the corridor, 22 is the location inside the corridor and AA the shelf.

 

I have separated between different columns the floor and the corridor (PA in this case) and it is all that matters for me.

 

I need to group a bunch of corridors to a condition like if the floor is 1 and the corridors goes from AA to BA (AA, AB, AC, ... BA) is zone 1, and so on. 

 

How can I write an if function without have to specify all the corridors like AA, AB, AC, and so on?

 

Thank you!

1 REPLY 1
ceeveeonline
Helper II
Helper II

@jmsm Not sure what kind of source you have. But is it possible to create a reference/lookup table with all possible combinations and join it here. to get the required outcome. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!