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 Automate
Unanswered

Returning null value

(0) ShareShare
ReportReport
Posted on by 17

Hi

 

I have 2 variables that are strings. the flow runs smoothly up until it needs to add a row in excel.

it outputs values as null when it shouldn't, all sections of form has been filled out.

do i need to add a formula/expression to each value?

 

AI14_1-1693558365420.png

 

 

outcome - used for switch

responses - used for condition output

 

AI14_0-1693558244121.png

 

please assist.

 

kr

AI14

 

Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,685 Super User 2026 Season 1 on at

    As stated in the error message, the date value you entered into the parseDate function is null.

  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @AI14 

     

    Before parsing date, you need to check if the input value is null or not. You may use below expression to fix this issue:

    if(equals(item()?['DateCol'],null),'',parseDateTime(item()?['DateCol']))

    pls replace item()?['DateCol'] with actual variable in the above expression.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • AI14 Profile Picture
    17 on at

    would it be easier if i changed the response variable from string to array or something? then used another set variable to hold all the data?

     

    would this allow me to choose data from the form based on that one variable?

     

    kr,

    AI14

  • AI14 Profile Picture
    17 on at

    But the value is not empty?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard