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 / Remove the double Quot...
Power Automate
Answered

Remove the double Quotes from a MS form Response

(0) ShareShare
ReportReport
Posted on by 6,678 Moderator

Hello,

 

I am creating a record in Dataverse table when a MS form response is submitted. One of the Dataverse field is currency type. If the user didn't enter a value in the form, I get "" as value which will not be a valid value for the currency field. I need to remove those double quotes and just enter blank value. I have tried the replace function and it wont work! any ideas. Thank you

To Remove Double qoute.PNG

 

 

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @AhmedSalih ,

    Can you show the Data Verse action - Add a new row in design mode ? 

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @gabibalaban 

    AhmedSalih_0-1651072511042.png

     

    The replace Function: > replace(outputs('Get_response_details')?['body/rc9483a12b7b74208a2657a1ae36416c1'],'"','')

     

  • Verified answer
    CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @AhmedSalih ,

    No ... the replace( ) function will not help you in this. What I suggest to do is to check if the amount entered by the user is empty with a formula like this (written in add dynamic content -> expression) and if it is empty to use null constant to be written in DataVerse:

    if(
    empty(outputs('Get_response_details')?['body/rc9483a12b7b74208a2657a1ae36416c1']),
    null,
    outputs('Get_response_details')?['body/rc9483a12b7b74208a2657a1ae36416c1']
    )

     

    Hope it helps !

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Thank you so much @gabibalaban , that worked. One thing I didn't know that I can write if condition in an expression in power Automate, this will help me with a lot of things. Do you have a good source of documentation for the expressions?

  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Here you can find official references as Azure Logic App and PowerAutomate are practically same thing.  

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard