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 / Power Apps is giving m...
Power Apps
Unanswered

Power Apps is giving me wrong outputs from PowerAutomate

(0) ShareShare
ReportReport
Posted on by 65

Hello everybody

I'm having some troubles about flow outputs in Power Apps

I have this flow

logost1agow_0-1691592313858.png


The output (Response) from flow is right, giving me right outputs, but when I show the data in powerapps, it seems 'addicted' to me, because it doesn't show the columns according to the correct output

It always shows the columns of a specific output.
On monitor I can see that PowerApps receive the right data, but when I manage it into collection, It is wrong

For example:

Output 1:
{
A:1
B:2
C:3
}

Next run, if different data, when the columns have the same name, it gives me the values, otherwise, if have different columns, It shows blank. 

{
C:10
😧 blank
F: blank
G: blank
}

It doesn't show me right columns according to flow outputs
Has anyone ever experienced this? Could you tell me how to get around this situation

Thank you in advance

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @logost1agow ,

     

    A collection will have static columns once it's been created. Thus, you should output an object with all the possible columns from Flow to your App. Could you please share screenshots of flow run history and show the results of the HTTP action? Sensitive data can be masked.

     

    Best regards,

  • logost1agow Profile Picture
    65 on at

    Thanks for helping @v-jefferni !

    There is the information you asked for, I just transferred the data to VScode to show, to be able to show all the data

    Group 11Name.png
    As you can see, the data above is ok, is taking info from all columns correctly (Some columns are blank in the first print becausa we don't use some columns at the beggining, but now we have data as we can see in PowerApps print, that are the recently ones)

    Group 10Date.png
    But when I run flow again, I have other columns as you can see, but It gives me the same table format (all columns as the first) and only the 'StartDate' and 'DisplayName' are filled, because they have the same column name

    Sometimes this happens the other way around, I have only the 4 columns from table 2 and the blank columns from the other table


    I'm using ClearCollect to catch the data from flow
    Is there any way around this situation?

  • v-jefferni Profile Picture
    on at

    Hi @logost1agow ,

     

    I still don't understand why the outputs of HTTP action have different table structures. Why the second run only returned 4 columns?

     

    Best regards,

  • logost1agow Profile Picture
    65 on at

    HTTP request gets information from 2 different APIs, depending on the input, that's why it brings different columns.
    Is this not supported in PowerApps? I wanna know why the columns from flow doesn't show correctly in PowerApps

  • v-jefferni Profile Picture
    on at

    Hi @logost1agow ,

     

    Generally speaking, in the Response action the JSON schema is defined for all the columns of tables/ that pass to PowerApps, which also means columns of the table being passed to PowerApps are static. So, if you only need 4 columns to be passed to PowerApps, you can use a parse JSON action below the HTTP request, after that use a Select action to map only those 4 columns and pass the result array to PowerApps. As the result, there would be a collection with only 4 columns in PowerApps. 

     

    Best regards,

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard