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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create a calculated co...
Power Apps
Unanswered

Create a calculated column in Share Point list using another column

(0) ShareShare
ReportReport
Posted on by

Hello Power platform community member,

hope you are doing well.

Need your help in a scenario with below details :

Scenario - I am creating PowerApps to collect feedback from HR community. There are certain columns in feedback form which contain feedback on multiple line basis. And i am concatenating the multiple column values in SharePoint list column (Multiple line of text column).

You can see, 'RepeatedSection' column contain 2 lines in a feedback starting with 0 and than another feedback with serial number 1. Each line has status value in it like for serial no. 0, status is 'In Progress' and for 1 it is 'Closed'

AJ_vizMan_0-1641911395033.jpeg

 

 Requirement : Need to create a calculated column to define status of feedback i.e. if any of line has status = 'In Progress' than feedback status should remain 'Open' else 'Closed'. So basically we need to get status value from each line and check it to ensure whether item should remain 'open' or 'Closed'

 

My Approach : I Tried to create 'Calculated' column using below formula -

IF(ISNUMBER(SEARCH("In Progress",[RepeatedSection])),"Open","Closed")

However, it throws an error saying data type of 'RepeatedSection' column is not supported.

 

AJ_vizMan_1-1641911938149.png

 

Could you please help me here. @RandyHayes 

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @AJ_vizMan 

    You're referring to setting up a calculated column in SharePoint.  This is more of a PowerApps forum...so, the error you see is correct.  The SharePoint calculated columns cannot use a multi-line text column in it.  

    You could do this in PowerApps on a record by record basis, but it seems you need to do this at the list level.

     

    I would reinvestigate your data structure and consider using a yes/no, integer or text column to represent the status instead of having it in free-form text.

     

  • AJ_vizMan Profile Picture
    on at

    Thank you @RandyHayes  - I followed below approach -->
    1. using 'Update Context' - stored value of Status column (it is only required for calculation) --
    UpdateContext(
    {
    StatusCombined: Concat(
    galRepeattingTableNewScreen.AllItems,
    Concatenate(
    drpStatusNewScreen.Selected.Result,
    ";"))});

    2.  'StatusCombined' value is written in 'Single line text' column in share Point list

    AJ_vizMan_0-1643718612837.png

    3. Created a calculated column in SP list with below formula :

    =IF(LEN(StatusCombined)=0,"",IF(ISNUMBER(FIND("In Progress",StatusCombined,1)),"In Progress","Closed"))

     

    It worked perfectly fine. Thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard