Forum Discussion
jesly_ajin
Helper III
4 years agoTo get a function output as text value instead of Table output in Power Query
Dears, Below is my function in Power Query Editor. The output is currently as a table with a single row single column. I need the function output to be a text in order to use its value. Please hel...
lbendlin
Super User
4 years ago()=> let
url = "https://abc.track.com/api/v1/auth/login",
headers = [#"Content-Type" = "application/json"],
postData = Json.FromValue([username="MyAbc",
password= "554433", fcmToken="456"]),
response = Web.Contents(
url,
[
Headers = headers,
Content = postData
]
),
access_token=Json.Document(response),
result = access_token[result],
#"Converted to Table" = Record.ToTable(result),
#"Transposed Table" = Table.Transpose(#"Converted to Table")
in
#"Transposed Table"[Column6]{0}