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.
Hola
Estoy intentando invocar una función que extrae datos de una API. La función toma identificadores de la tabla donde estoy agregando la columna.
Aquí está mi función
let
Source =(ID_1, ID_2 as text) => let
Source = each Json.Document(Web.Contents("https://fake.api.com/v3/rest/fake1/" & ID_1 & "/fake2/" & ID_2 & "/fake3?limit=1&offset=0" , [Headers=[Authorization= "Bearer myapikey"]])),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
#"Converted to Table"
in
Source
la tabla es así
ID_1 | ID_2 |
6e9e7742-d651-44f6-b2a1-6d1edcd94ace | 17e61aba-19f1-49d6-a07c-aa0085b38b5f |
c89f89b2-bfd6-4984-b672-ad3f20a1fb8c | a4f06500-2a2a-4318-a9ab-bfeae705e7d3 |
Recibo este mensaje de error al invocar la función
Expression.Error: No podemos convertir un valor de tipo Function en list.
Detalles:
Valor=[Función]
Gracias
Joe
Tipo=[Tipo]
Solved! Go to Solution.
Al eliminar el "cada uno" antes de json.document ayudó a que funcionara
Al eliminar el "cada uno" antes de json.document ayudó a que funcionara
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |