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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Items filter query
Power Automate
Unanswered

Get Items filter query

(0) ShareShare
ReportReport
Posted on by

Hi Team 

 

I'm having a filter query in my get items 

 

First Iam splitting a text from its description from the MS Form

Danny_Dicaprio_3-1712563938586.png

Compose =

split(outputs('Get_response_details')?['body/rebfcb7b61e644cbb9960039342c09c7e'], '(')[0]
 
once I split the text I'm filter that record in my sharepoint list 

 

Danny_Dicaprio_0-1712563451747.png

 

my filter formula is working for certain items in my sharepoint list and not for others 

 

 

For the ones , which is not working , there will be square box at the end 

 

Danny_Dicaprio_1-1712563561892.png

 

I thought of may be because of extra space or some upper characters issue 

 

The below one worked perfectly fine 

Danny_Dicaprio_0-1712564471881.png

 

 

Could anyone please  let me know how to fix this issue 

 

Categories:
I have the same question (0)
  • Verified answer
    v-yetonggu-msft Profile Picture
    on at

    Hi @Danny_Dicaprio ,

    Please try this expression in 'Compose'.

    trim(split(outputs('Get_response_details')?['body/rebfcb7b61e644cbb9960039342c09c7e'], '(')[0])

    Best Regards,

    Sunshine Gu

  • Danny_Dicaprio Profile Picture
    on at

    HI @v-yetonggu-msft 

     

    thanks for the reply 

     

    it resolved !

     

     could u please what was the issue with my function ?

  • Verified answer
    v-yetonggu-msft Profile Picture
    on at

    Hi @Danny_Dicaprio ï¼Œ

    Because the select option text content extracted by your split function sometimes contains extra spaces, and the values of the columns in your list do not contain spaces, this will cause Get items to sometimes filter out 0 records.

    You can check if there are any extra spaces in your MS Form select option before '('.

    vyetonggumsft_0-1712568920098.png

    Best Regards,

    Sunshine Gu

  • Danny_Dicaprio Profile Picture
    on at

    Hi @v-yetonggu-msft 

    Hi 

    Everyone 

     

    I have a text from my MS Form should be recorded in the Lookup Column in my share point list. 

     

    Since Lookup column values can only be stored in ID, Iam getting the ID of the text value from get items. 

    Danny_Dicaprio_0-1712572711050.png

     

     

     

     

    Danny_Dicaprio_1-1712572710987.png

     

     

     

    Danny_Dicaprio_2-1712572710833.png

     

     

     But the value is not getting displayed in the SharePoint List , it is Blank. 

     

    Could you please help me to fix the issue? 

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard