Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Missing columns when Sending JSON data to Power Automate

(0) ShareShare
ReportReport
Posted on 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 at
    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 at
    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 at
    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 at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard