cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

recoger con filter en sql no regresa todos los campos

Hola a todos, una pregunta tengo una tabla en sql Azure que se llama customers, el caso es que si uso esta fórmula

 

ClearCollect(resultado; Filtro('[dbo].[ clientes]»; TextInput1.Text á dni))

 

 Solo me regresa los datos de 2 columnas las otras quedan en blanco 

 

Pero si uso una tabla directa si me funciona

 

Filtro('[dbo].[ clientes]»; TextInput1.Text á dni)

 

2.png

 

Me podrían ayudar no entiendo el comportamiento a que se debe la fórmula es la misma, por que con el cobra no devuelve todos los campos

 

gracias.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: recoger con filter en sql no regresa todos los campos

Hi @YEFERSONNOVA ,

 

Could you please translate your question to English?

 

Regards,

Mona

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

View solution in original post

2 REPLIES 2
Highlighted
Frequent Visitor

Re: recoger con filter en sql no regresa todos los campos

he revisado en monitor y obtuve esto:

Tabla

 

{
  "duration": 267.19,
  "size": 495,
  "status": 200,
  "headers": {
    "Cache-Control": "no-cache,no-store",
    "content-encoding": "gzip",
    "Content-Type": "application/json; charset=utf-8; odata.metadata=minimal",
    "Date": "Thu, 09 Jan 2020 17:55:49 GMT",
    "expires": -1,
    "pragma": "no-cache",
    "strict-transport-security": "max-age=31536000; includeSubDomains",
    "timing-allow-origin": "*",
    "vary": "Accept-Encoding",
    "x-content-type-options": "nosniff",
    "x-frame-options": "DENY",
    "x-ms-apihub-cached-response": true,
    "x-ms-request-id": "8e6c71f2-bef8-432c-b9b2-11c0821bb795",
    "x-ms-user-agent": "PowerApps/3.19115.0 (Web AuthoringTool; AppName=29f8c515-bd04-4e0c-9710-b715aed79b0a)"
  },
  "body": {
    "@odata.context": "https://unitedstates-002.azure-apim.net/apim/sql/a096c05623d0419d84ac2ac95b2d86fa/$metadata#datasets(indows.net%2')/tables('%5Bdbo%5D.%5Bcustomers%5D')/items",
    "value": [
      {
        "@odata.etag": "",
        "ItemInternalId": "7c9eb267-62e3-4ae5-8892-5f02f72b0224",
        "id_customer": 5,
        "dni": 79252740,
        "full_name": "José nova",
        "birth_date": "1976-11-22",
        "phone": 12345678,
        "address": "Calle23",
        "email": "José.45@hotmail.com",
        "state": 1
      }
    ]
  }
}

 

Boton con Collect:

 

{
  "duration": 332.89,
  "size": 354,
  "status": 200,
  "headers": {
    "Cache-Control": "no-cache,no-store",
    "content-encoding": "gzip",
    "Content-Type": "application/json; charset=utf-8; odata.metadata=minimal",
    "Date": "Thu, 09 Jan 2020 17:55:54 GMT",
    "expires": -1,
    "pragma": "no-cache",
    "strict-transport-security": "max-age=31536000; includeSubDomains",
    "timing-allow-origin": "*",
    "vary": "Accept-Encoding",
    "x-content-type-options": "nosniff",
    "x-frame-options": "DENY",
    "x-ms-apihub-cached-response": true,
    "x-ms-request-id": "b5897b22-6dc7-4ecf-af52-5f4fffc6f6d2",
    "x-ms-user-agent": "PowerApps/3.19115.0 (Web AuthoringTool; AppName=29f8c515-bd04-4e0c-9710-b715aed79b0a)"
  },
  "body": {
    "@odata.context": "https://unitedstates-002.azure-apim.net/apim/sql/a096c05623d0419d84ac2ac95b2d86fa/$metadata#datasets('base 
 de datos azure')/tables('%5Bdbo%5D.%5Bcustomers%5D')/items",
    "value": [
      {
        "@odata.etag": "",
        "ItemInternalId": "18563e9b-07e4-4068-a6c6-6bd7e228412e",
        "id_customer": 5,
        "dni": 79252740
      }
    ]
  }

 

 
Highlighted
Community Support
Community Support

Re: recoger con filter en sql no regresa todos los campos

Hi @YEFERSONNOVA ,

 

Could you please translate your question to English?

 

Regards,

Mona

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

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,152)