web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Slicer for Text (Slice...
Power Apps
Unanswered

Slicer for Text (Slicer para Texto)

(1) ShareShare
ReportReport
Posted on by 4
Estimados,
 
Tengo dos campos, uno con el tipo de articulo y otro con el codigo de articulo. De acuerdo a el tipo de articulo, puedo tener en el campo articulo valores solamente numericos o solamente alfanumericos.
 
Necesito presentarlos en una galeria, y la misma conectada a dos entradas de texto, debe filtrar valores "Desde" y "Hasta".
 
Pero no lo estoy consiguiendo. Entiendo que seria viable si todos fueran numericos, pero en este caso, algunos lo son y otros no. Siempre estare filtrando el tipo de articulo en un desplegable. Tengo forma de resolverlo sin crear una coleccion que vaya editando?
 
Desde ya gracias.
 
Les copio un ejemplo de como podrian ser:
 
Tipo ArticuloArticulo
LetraA1500
LetraA1501
LetraA1502
LetraA1503
LetraB1600
LetraB1601
LetraB1602
LetraB1603
Code115014
Code115015
Code115016
Code115017
Code115018
Code200200
Code200201
Code200202
Code200203
 
Por ejemplo, del Tipo de Articulo "Letra" filtrame de A1501 a A1503.
 
~
 
Dear all,
I have two fields, one with the item type and the other with the item code. Depending on the item type, I can have only numeric or only alphanumeric values ​​in the item field.
I need to display them in a gallery, and the gallery, connected to two text inputs, needs to filter "From" and "To" values.
But I'm not getting it right. I understand that it would be viable if they were all numeric, but in this case, some are and others aren't. I'll always be filtering the item type in a dropdown. Is there a way to solve this without creating a collection that I edit?
Thank you in advance.
I'll copy an example of what they might look like:
Article Type Article
Letter A1500
Letter A1501
Letter A1502
Letter A1503
Letter B1600
Letter B1601
Letter B1602
Letter B1603
Code1 15014
Code1 15015
Code1 15016
Code1 15017
Code1 15018
Code2 00200
Code2 00201
Code2 00202
Code2 00203
For example, from the "Letter" Article Type, filter from A1501 to A1503.
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Sorry, can you explain a bit more what you are trying to do?
    Can you show your code, what is happening and what you want to happen?
  • ER-15042213-0 Profile Picture
    4 on at
    Buenos dias, 
     
    Agrego mas datos.
     
    Tabla "Tabla1":
     
    Articulo
    A1500
    A1501
    A1502
    A1503
    B1600
    B1601
     
    Tabla "BaseLetras":
     
    Letras Numero
    A 1
    B 2
     
    Tengo dos entradas de Texto "Desde" y "Hasta":
     
    Codigo de la galeria:
    Filter(  Tabla1    Value(        With(            {                letra: Left(Articulo, 1)
                },            LookUp(BaseLetras, Letras = letra).Numero & Mid(Articulo, 2)        )
        ) >= Value(        With(            {                letra: Left(Desde.Text, 1)            },            LookUp(BaseLetras, Letras = letra).Numero & Mid(Desde.Text, 2)        )
        ) &&    Value(        With(            {                letra: Left(CampoArticulo, 1)            },            LookUp(BaseLetras, Letras = letra).Numero & Mid(CampoArticulo, 2)        )
        ) <= Value(        With(            {                letra: Left(Hasta.Text, 1)
                },            LookUp(BaseLetras, Letras = letra).Numero & Mid(Hasta.Text, 2)        )    ))
     
     
    Si en valores "Desde" ingreso "A1502" y en valores "Hasta" ingreso "B1600" deberia traerme en la galeria:
     
    A1502
    A1503
    B1600
     
    Pero no me trae nada. Si ingreso "A1502" hasta "A1502" me trae el valor "A1502", que es correcto.
     
    Es decir, el tema lo tengo cuandro trato de hacer rangos. 
     
    Que estoy haciendo mal?
     
    Busco hacer rangos de filtro en base a datos ingresados en casilla, que me filtren segun valores alfanumericos.
     
    Desde ya muchas gracias.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard