Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Dynamic Content menu not showing SQL query results

(0) ShareShare
ReportReport
Posted on by 12

I made a flow that is triggered by a MS Form and runs a SQL query

then parses the returning JSON results

then creates a CSV table

then sends the results as csv attachment in an email to the form responder

 

It all works fine (flow pictured below)

AltaherEmhemed_0-1629294181101.png

 

Then I wanted to make several different flows with different SQL queries.

So I made a copy of the first flow with a different name.

Now the SQL Query results no longer show in the dynamic content menu (pictured below)

AltaherEmhemed_1-1629294375673.png

Bearing in mind when I create a fresh new flow, the SQL results show up just fine in the dynamic content menu.

Is there something I'm doing wrong or is this a bug in Power Automate?

  • Verified answer
    AltaherEmhemed Profile Picture
    12 on at
    Re: Dynamic Content menu not showing SQL query results

    I just found a fix.

    If I removed the dynamic content from the SQL query itself, the "query results" show up just fine in the input field of the "Parse JSON" action.

    Then I go back to the SQL query and add the dynamic content back to the query.

     

    It's likely a bug in MS Power Automate

     

    source:
    Solved: Re: Dynamic Content missing - SQL Server - Execute... - Power Platform Community (microsoft.com)

  • Pstork1 Profile Picture
    67,039 Most Valuable Professional on at
    Re: Dynamic Content menu not showing SQL query results

    Did you run the copied flow at least once?  I've seen this kind of thing when working with database sources in the past.  Power Automate doesn't know what the schema is until after the query is run once.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1