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 Automate / How no not display a f...
Power Automate
Answered

How no not display a forms value in list

(2) ShareShare
ReportReport
Posted on by 32
Hey forum, 
 
Is it possible to not display a specific response to a forms question?
 
Example:
 
 
I wish to disregard the "remove access" answer from being inputted into my list as it is used for branching only. 
 
 
if(empty(outputs('Get_Response_Details')?['body/rb667bc3d113a49a39cd63bfe700f5567']), null, outputs('Get_Response_Details')?['body/r7df596b3349b4397b3ba316333d62f0a'])
 
Is being used as the value in power automate as there is a possibility of returning a null value.
 
 
thank you for any help provided
Categories:
I have the same question (0)
  • Verified answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
    You can prevent a Forms answer like “Remove access” from being written to SharePoint. You just need to explicitly replace that value with null (or an empty string) before writing to the list. Right now, your logic is checking for empty, but “Remove access” is not empty, so it still gets saved.
     
    What’s going wrong
    Microsoft Forms always returns the selected value, even if it’s only meant for branching
    Your expression:
          empty(...)
    only handles null/blank, not specific values like "Remove access"
    As a result, the list column still receives the response

    Correct solution
    Option 1: Replace a specific value with null (recommended)
    Use this expression when mapping the SharePoint column:
          if(  equals(outputs('Get_response_details')?['body/r7df596b3349b4397b3ba316333d62f0a'], 'Remove Access'),  null,         
          outputs('Get_response_details')?['body/r7df596b3349b4397b3ba316333d62f0a'])

           If user selects Remove Access → nothing is written
           If user selects a location → it is saved normally
     
    Option 2: Exclude both null and “Remove Access”
    If the answer can be blank or “Remove Access”:
          if(  or(    empty(outputs('Get_response_details0a']),    equals(outputs('Get_response_details')?
          ['body/r7df596b3349b4397b3ba316333d62f0a'], 'Remove Access')  ),  null,  outputs('Get_response_details')?
          ['body/r7df596b3349b4397b3ba316333d62f0a'])
     
    Best practice tip (important)
    If a Forms question is only for branching logic:
    • Do not map it directly to SharePoint
    • Use it only in Conditions
    • Write a cleaned/derived value to your list instead
    This keeps lists readable and avoids “control answers” like Remove Access leaking into data.
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

    Sunil Kumar Pashikanti, Moderator
    Blog: https://sunilpashikanti.com/posts/
     
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Yes, you can exclude a specific response by extending your expression to check for that value (e.g., “Remove access”) and return null instead of saving it.
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Yes, you can handle this directly in Power Automate. If you want to ignore a specific response like "Remove Access", you can add a condition before saving the value to SharePoint create item action.
     
    Expression. 
    If(
       equals(outputs('Get_Response_Details')?['body/r7df596b3349b4397b3ba316333d62f0a'], 'Remove Access'),
       null,
       outputs('Get_Response_Details')?['body/r7df596b3349b4397b3ba316333d62f0a']
    )
    //r7df596b3349b4397b3ba316333d62f0a - If this question id is wrong please update the correct question id.

    So now whenever user filled the response with remove access it will store empty will in SharePoint. 

     

    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------

    📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.

    ✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.

    💛 A Like always motivates me to keep contributing!

     
     
  • Verified answer
    Valantis Profile Picture
    6,735 on at
     
    You can handle this directly in your Power Automate flow with a condition before the list update step.
    Wrap your existing expression in an if() that checks whether the value equals "Remove Access" and returns null if it does:
    if(
      equals(outputs('Get_Response_Details')?['body/r7df596b3349b4397b3ba316333d62f0a'], 'Remove Access'),
      null,
      if(empty(outputs('Get_Response_Details')?['body/rb667bc3d113a49a39cd63bfe700f5567']), null, outputs('Get_Response_Details')?['body/r7df596b3349b4397b3ba316333d62f0a'])
    )
    This way if the user picked "Remove Access" the field just gets null written to the list instead of the text. Your branching logic in the form still works as normal since Forms handles that separately before the response hits the flow.
    If you'd rather not write anything to the list at all when "Remove Access" is selected, wrap the entire list update action in a Condition control instead:
    - Condition: the response value is not equal to 'Remove Access'
    - Yes branch: run your Update item / Create item action
    - No branch: do nothing (or handle the removal logic separately there)
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    You've probably considered this, but if not and the suggestions above are not what you had in mind, you could split this into two questions and use branching in the form.
    • New question: Do you want to add or remove a location?
      • Option Add and Remove
    • Then use branching to go to a question that offers the two locations to choose from when Add is selected:
      • Which location would you like to add?
        • ****** Hospital
        • Community Health Care
    I assume you have no need to know what location they need removed based on what you've posted. But if you did, you could use branching to get that information as well.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard