web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error message when try...
Power Automate
Unanswered

Error message when trying to collect: "...column in the data source you're updating expects a Record type and you are using a Text type"

(0) ShareShare
ReportReport
Posted on by 26

I created a gallery table where the On Change formula in all the fields selects a button (not visible) and will create/update a collection of that row. All rows will patch to my Sharepoint list when I hit save.  The formula is below however It points specifically to my List Price saying that "column in the data source you're updating expects a Record type and you are using a Text type". This field in the table is not from a lookup column but rather has a formula in Powerapps that gets pricing from another list and inputs that pricing. How would I change this so it will work?

 

IsBlank(
    LookUp(
        colWaste,
        ID = ThisItem.ID
    );
    Collect(
        colWaste,
        ThisItem
    )
);
UpdateIf(
    colWaste,
    ID = ThisItem.ID,
    {
        'Product Code': TxtProdCode.Value,
        'Quantity/YR': TxtQtyYr.Value,
        'Category ID (Name)': DrpCatName.Selected,
        Discount: TxtDiscount.Value,
        'Requested Price': TxtReqPrice.Value,
        'List Price': TxtListPrice.Value,
        'Yearly Disc$': TxtYrlyDisc.Value,
        'Yearly List$': TxtYrlyList.Value
    }
)
 
MGC19_0-1715965463404.png

 

 
I tried other formulas from other posts, but none of them seem to work. Any help would be greatly appreciated. Thanks!
Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @MGC19 

    You are far more likely to receive an answer if you post this in one of the Power Apps forums.

     

  • MGC19 Profile Picture
    26 on at

    You are exactly right. I am trying to multitask which isn't going very well lol. Thanks. I will repost.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard