Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Error when trying to retrieve data from the network column lookup power apps

(0) ShareShare
ReportReport
Posted on by 62

Buenas noches.

 

Por favor, ayúdame a resolver este error.

 

Intento implementar esta línea de código dentro de un DataCardValue que proviene de un formulario, en el campo Elemento.

 

 

Filtro(Opciones(InventarioPrincipalCOS.cr969_Servicio), Institución.Institución = VarInstitución.Institución)

 

 

 

 

Donde (MainInventoryCOS.cr969_Service) es el origen de datos de Dataverse del formulario. que tiene una columna de búsqueda llamada Servicio. la cual está relacionada con una tabla en dataverse llamada Servicio, y esta a su vez contiene una columna de búsqueda llamada institución que está relacionada con otra tabla en dataverse llamada institución.

 

Necesito filtrar los servicios de la institución que he seleccionado. pero me da el error "Error al intentar recuperar datos de la red".

 

 

  • Verified answer
    v-jefferni Profile Picture
    v-jefferni on at
    Re: Error when trying to retrieve data from the network column lookup power apps

    Hi @CrysDom ,

     

    Sorry, for the LookUp column in Dataverse, the returned table of Choices function is actually exact the table being looked up. So here in the formula Value should be the primary name column instead.

    Filter(Choices(MainInventoryCOS.cr969_Service), Service in Filter([@Service], Institución.Institución = VarInstitución.Institución).Service)

     

    Best regards,

  • Crys.Dom Profile Picture
    Crys.Dom 62 on at
    Re: Error when trying to retrieve data from the network column lookup power apps

    Si señor el control DataCArdValue es un cuadro combinado. Podrias ser tan amable de decirme la expresion Value a que hace referencia?

  • Verified answer
    v-jefferni Profile Picture
    v-jefferni on at
    Re: Error when trying to retrieve data from the network column lookup power apps

    Hi @CrysDom ,

     

    First of all, please clarify what control is the DataCardValue. While it seems to be a Combo box. Please try below formula:

    Filter(Choices(MainInventoryCOS.cr969_Service), Value in Filter([@Service], Institución.Institución = VarInstitución.Institución).Service)

     

    Best regards,

  • Crys.Dom Profile Picture
    Crys.Dom 62 on at
    Re: Error when trying to retrieve data from the network column lookup power apps

    intente de esta manera pero tampoco escoge los servicios de la institución seleccionada

     

    Filter(Choices(MainInventoryCOS.cr969_Service), VarInstitution.Institution in Institution.Institution)

     

    aunque no me da error, no ejecuta la acción deseada.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard