Skip to main content
Community site session details

Community site session details

Session Id : 4bCgDk3Gs9ssPGdT0RHN3J
Power Apps - Building Power Apps
Unanswered

Missing columns when Sending JSON data to Power Automate

Like (0) ShareShare
ReportReport
Posted on 14 Jun 2024 05:01:33 by 4

Hi all, 

 

I was trying to send a table to power automate. 

The table has around 15 columns. 

I have used showcolumns functions to list out the 10 columns that I needed. 

But when it reach power automate, it only received 4 of them. 

 

my code is like : 

myfunction.Run(

JSON(
ShowColumns(
mydatasource,
GUID,
'Line No', 
Number_text, 
name,
Description,
Quantity, 
Currency, 
Amount, 
ExchangeRate, 
Unit Cost
submissiontypevalue
)
)
)
 
When it reach Power Automate, the data will only show 4 columns:  
[{"Number_text":"123456","name":"ABC","cr34d_guid":"44a75fb8-1ed8-47cc-9ecb-6ad2a9c00b0f","submissiontypevalue":"A"},{"Number_text":"101101","coaname":"XYZ","cr34d_guid":"1405f215-36a4-4263-b609-72eccb136bc0","submissiontypevalue":"B"}]
 
All other columns have actual number / string in it.
  • bennytam Profile Picture
    4 on 14 Jun 2024 at 08:03:41
    Re: Missing columns when Sending JSON data to Power Automate

    Thanks a lot! @a33ik 

     

    The textbox can only show 3-4 columns , but I got the idea. 

    Eventually I have to create a hidden gallery for this table and add textboxes for all the columns. 

    Then I used JSON(Gallery1.AllItems, JSONFormat.IgnoreUnsupportedTypes) to call back the json string and pass to Power Automate. 

     

    Works Now! 

  • a33ik Profile Picture
    3,304 Most Valuable Professional on 14 Jun 2024 at 06:02:15
    Re: Missing columns when Sending JSON data to Power Automate

    Did you check if it get properly serialized at the first place? Like adding textbox to the app and assigning

     

    JSON(
    ShowColumns(
    mydatasource,
    GUID,
    'Line No', 
    Number_text, 
    name,
    Description,
    Quantity, 
    Currency, 
    Amount, 
    ExchangeRate, 
    'Unit Cost', 
    submissiontypevalue
    )
    )

     

    to the Default property?

  • bennytam Profile Picture
    4 on 14 Jun 2024 at 05:55:38
    Re: Missing columns when Sending JSON data to Power Automate

    Thanks for pointing out. 

    It is just a typo when I copy the script to here.

    My script would have failed and not receive anything on the Power Automate end if I missed the quotation marks.  

     

    myfunction.Run(

    JSON(
    ShowColumns(
    mydatasource,
    GUID,
    'Line No', 
    Number_text, 
    name,
    Description,
    Quantity, 
    Currency, 
    Amount, 
    ExchangeRate, 
    'Unit Cost'
    submissiontypevalue
    )
    )
    )

     

  • a33ik Profile Picture
    3,304 Most Valuable Professional on 14 Jun 2024 at 05:49:28
    Re: Missing columns when Sending JSON data to Power Automate

    Your Unit Cost field has space inside your formula. Shouldn't it be 'Unit Cost'? Are you sure your formula is exactly what you use in your app? I doubt it is.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2