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 / 'Null' doesn't work co...
Power Automate
Answered

'Null' doesn't work correctly with multi-step condition and multi select column

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

 

Here, I add one condition which check for if there is any null value in "ZIP/Postal Code" or "Street" field. If yes then update in excel.

 

Bansari_Pandya_1-1599922764243.png

 

Note: ZIP/Postal code is a multi select column. And Contain null value. 

 

I also try with empty function but as it return true or false it won't work. also try space value. Flow always continue with no, even though the field contains null value[""]. Is there any solution to get condition result yes or skip null function with any other function.

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    PrasadAthalye Profile Picture
    on at

    Create variables and use Empty function.. Then in this condition compare variables to true and then proceed. This should solve the issue.

     

    Please Like and mark this as answer if it resolves the issue.

  • yashkamdar Profile Picture
    1,044 on at

    Hello Team,

     

    Here is a solution that should work for you definitely, I have used it tons of times.

     

     

    You need to first create 2 COMPOSE actions and fill those 2 actions with the values of your Choice type fields.

     

    Then use the Magic of Expressions as below-

     

    empty(outputs('Compose')) is equal to true
    
    
    
    
    AND 
    
    
    
    
    
    empty(outputs('Compose_2')) is equal to true

     

     

    This is shown below-

     

    yashkamdar_0-1599936414647.png

     

     

    This will work a hundred percent for your requirement.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashkamdar  Could you help me to solve one more thing? @PrasadAthalye  Could you help me for the same?

     

    Bansari_Pandya_0-1599986509203.png

     

    After trigger the condition yes, I updated the value in the excel. Now I need to update only those field which have null value.

    In this case I need to update the value of street as the street only contain null value. 

     

    So what is a good solution in this case? I use if in expression like this:

    if(equals(items('Apply_to_each_2')?['AddressZipCode'],null),'?','')

     

    Is it true? May be it wouldn't work correctly.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashkamdar Solution wouldn't work for me.

     

    Bansari_Pandya_2-1600069434406.png

    Here You can see the output of my compose action.

     

    Bansari_Pandya_3-1600069493429.png

     

    Condition is set to empty(outputs('Compose')) is equal to true then it will go further. Now as compose action has value it would be false.

     

     

    Bansari_Pandya_1-1600069319192.png           

     

    Still it will give true. Could you please try again?

     

     

  • yashkamdar Profile Picture
    1,044 on at

    Hello Team,

     

    Tried it just now and this is working just fine for me. 


    See below-

     

    yashkamdar_0-1600070943112.png

     

     

    Condition is 

     

    empty(outputs('Compose')) is equal to True

     

    Worked for me, maybe the data type of your value is different. Try copying my expression again and run the flow, it has to work.

     

    That is the correct expression and I have been using it for long, see the screenshots above with your value as well i was able to get false.

     

     

    How are you getting that value -75%45, let me know, awaiting response..;.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @yashkamdar You can try with Parallel Branch and Multi select column? If it working with that then let me know. 

     

    I appreciate your solution is quite easy but as I already share with you it's not work with my flow. You can see in shared images 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

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 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard